Syntax: NetLib - int ioctl(int s, int cmd, ...);
Sockets - int socketioctl(int s, unsigned long cmd, void *data);
UnixLib - int ioctl(int s, int cmd, void *data);
Header: NetLib - sys/ioctl.h
Sockets - socklib.h
UnixLib - sys/ioctl.h
Returns: 0 for success, EOF if failed
This call is used to perform miscellaneous control operations on individual sockets and on the TCP/IP stack as a whole.
C definition SWI definition
|
|
|