Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: reent.h

ImpurePtr2()

IMPORT_C struct _reent *ImpurePtr2(void);

Description

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 then a NULL pointer will be returned.

Return value

struct _reent *

On Success, a pointer to the memory containing the library globals. On Failure, a NULL pointer.