#include <IOCTL.H>
Link against:
estlib.lib
_IOW (n, T) (n)
Description
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
Parameters
_IOR (n, T) (n)
Description
Parameters
_IOWR (n, T) (n)
Description
Parameters
E32IONREAD _IOR( 1,int)
Description
number of bytes available to be read - cf BSD FIONREAD
E32IOSELECT _IOWR(2,int)
Description
ioctl-based form of select with infinite timeout - specify a mask of selectable states and receive back the mask of triggering
states
E32SELECT_READ 0x01
Description
E32SELECT_WRITE 0x02
Description
E32SELECT_EXCEPT 0x04
Description
COMMIOCTL_SETSIGNALS 1
Description
ioctls for serial port values may change
COMMIOCTL_GETSIGNALS 2
Description
COMMIOCTL_SETCONFIG 3
Description
COMMIOCTL_GETCONFIG 4
Description
COMMIOCTL_BREAK 5
Description
COMMIOCTL_SETREADTIMEOUT 6
Description
COMMIOCTL_GETREADTIMEOUT 7
Description
COMMIOCTL_SETREADTHRESHOLD
COMMIOCTL_SETREADTHRESHOLD 8
Description
COMMIOCTL_GETREADTHRESHOLD
COMMIOCTL_GETREADTHRESHOLD 9
Description
COMMIOCTL_SETBUFFERLENGTH
COMMIOCTL_SETBUFFERLENGTH 10
Description
COMMIOCTL_GETBUFFERLENGTH
COMMIOCTL_GETBUFFERLENGTH 11
Description
COMMIOCTL_NOTIFYSUPPORTED
COMMIOCTL_NOTIFYSUPPORTED 12
Description
COMMIOCTL_NOTIFY 0x400d
Description
REAL_COMMIOCTL_NOTIFY 13
Description
IMPORT_C int ioctl(int, int, void *);
Description
Performs a variety of device-specific control functions on device special files.
Parameters
Return value
int |
On Success, returns a value other than -1 that depends upon the STREAMS device control function. On Failure, return -1, errno
may be set.
|
|