|
||
_ASCTIME_SIZE (26+8)
This structure contains *all* globals needed by the library. It's raison d'etre is to facilitate threads by making all library routines reentrant. IE: All state information is contained here.
IMPORT_C void _reclaim_reent(struct _reent *);
The struct _reent
_reent
is managed on a per-thread basis by EPOC32, so there is no global variable _impure_pointer and everyone has to use _REENT
(panics in the event of an error) or REENT2 (which returns a NULL pointer in the event of an error).
|
IMPORT_C struct _reent* ImpurePtr(void);
Allocates memory for the library globals struct and returns a pointer to it. If the memory has been allocated previously then it simply returns a pointer to the memory. Panics if any error/failure occurs.
|
IMPORT_C struct _reent* ImpurePtr2(void);
This is a panic free version of ImpurePtr. It allocates memory for the library globals struct and returns a pointer to it. If the memory has been allocated previously then it simply returns a pointer to the memory. If there is not enough memory available to set up the library globals or other error occurs, a NULL pointer will be returned.
|
IMPORT_C void _init_reent(struct _reent *, void *);
|
IMPORT_C void CloseSTDLIB();
Support for explicit release of all STDLIB resources belonging to this thread