NAME | SYNOPSIS | FEATURES | DESCRIPTION | RETURN VALUE | ATTRIBUTES | SEE ALSO
#include <unistd.h>int ioctl(int fildes, int request, ... /*arg */);
MSDOSFS, NFS_CLIENT, UFS, POSIX_SOCKETS
ioctl performs the specified request on the object referred to by the open file descriptor fildes.
Upon successful completion, ioctl returns 0; otherwise it returns -1 and sets errno to indicate one of the following error conditions:
fildes is not a valid open file descriptor.
fildes is not associated with a character special device or a socket
request or arg is not valid.
The calling thread was aborted during the ioctl system call.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
NAME | SYNOPSIS | FEATURES | DESCRIPTION | RETURN VALUE | ATTRIBUTES | SEE ALSO