ioctl.h File Reference

_IOW

ioctls under EPOC32 are only loosely related to ioctls in other systems The _IOR(), _IOW() and _IOWR() macros are provided for documentation purposes, to indicate the appropriate form of the third parameter

_IOR

_IOWR

ioctl ( int, int, void * )

IMPORT_C intioctl(int,
int,
void *
)

Performs a variety of device-specific control functions on device special files.

Return Value
On Success, returns a value other than -1 that depends upon the STREAMS device control function. On Failure, return -1, errno may be set.

E32IONREAD

number of bytes available to be read - cf BSD FIONREAD

E32IOSELECT

ioctl-based form of select with infinite timeout - specify a mask of selectable states and receive back the mask of triggering states

E32SELECT_READ

E32SELECT_WRITE

E32SELECT_EXCEPT

COMMIOCTL_SETSIGNALS

ioctls for serial port values may change

COMMIOCTL_GETSIGNALS

COMMIOCTL_SETCONFIG

COMMIOCTL_GETCONFIG

COMMIOCTL_BREAK

COMMIOCTL_SETREADTIMEOUT

COMMIOCTL_GETREADTIMEOUT

COMMIOCTL_SETREADTHRESHOLD

COMMIOCTL_GETREADTHRESHOLD

COMMIOCTL_SETBUFFERLENGTH

COMMIOCTL_GETBUFFERLENGTH

COMMIOCTL_NOTIFYSUPPORTED

COMMIOCTL_NOTIFY

REAL_COMMIOCTL_NOTIFY