estlib.h File Reference

PosixServerName ( TDes & )

IMPORT_C voidPosixServerName(TDes &aBuffer)

InstallPosixServerActiveObject ( TInt )

IMPORT_C TIntInstallPosixServerActiveObject(TIntaPriority = CActive::EPriorityStandard)

Support for multi-thread operation is achieved using a CPosixServer active object - this can be installed in an active scheduler in the current thread, or run in a separate thread.

SpawnPosixServerThread ( )

IMPORT_C TIntSpawnPosixServerThread()

ioctl ( int, int, void *, TRequestStatus & )

IMPORT_C intioctl(intaFid,
intaCmd,
void *aParam,
TRequestStatus &aStatus
)

Support for asynchronous ioctl There are no guarantees about when the parameters will be processed - some implementations may process the parameters in both the ioctl() and the ioctl_complete() functions. Do not wait on the TRequestStatus unless ioctl() returns 0.

Dubious asynchronous interface to ioctl, must be called from C++

Return Value
On Success, returns a value other than -1. On Failure, returns -1 and errno may be set.

ioctl_complete ( int, int, void *, TRequestStatus & )

IMPORT_C intioctl_complete(intaFid,
intaCmd,
void *aParam,
TRequestStatus &aStatus
)

ioctl_cancel ( int )

IMPORT_C intioctl_cancel(intaFid)

_ioctl_r ( struct _reent *, int, int, void *, TRequestStatus & )

IMPORT_C int_ioctl_r(struct _reent *r,
intaFid,
intaCmd,
void *aParam,
TRequestStatus &aStatus
)

A reentrant version of a ioctl().

_ioctl_complete_r ( struct _reent *, int, int, void *, TRequestStatus & )

IMPORT_C int_ioctl_complete_r(struct _reent *r,
intaFid,
intaCmd,
void *aParam,
TRequestStatus &aStatus
)

A reentrant version of a ioctl_complete().

_ioctl_cancel_r ( struct _reent *, int )

IMPORT_C int_ioctl_cancel_r(struct _reent *r,
intaFid
)

A reentrant version of a ioctl_cancel().

__crt0 ( int &, char **&, char **& )

IMPORT_C void__crt0(int &argc,
char **&argv,
char **&envp
)

Support for crt0 variants Do whatever is necessary to get the command line arguments, environment etc. NB. This calls chdir(), so start the PosixServer before calling this if you want one.

__crt0 ( int &, wchar_t **&, wchar_t **& )

IMPORT_C void__crt0(int &argc,
wchar_t **&argv,
wchar_t **&envp
)