include/sys/ioctl.h File Reference

Go to the source code of this file.

Defines

#define _ABLE_CLIB_SYS_IOCTL_H   1

Functions

int ioctl (int fd, long cmd, void *argp)
 Miscellaneous control of a file descriptor.


Define Documentation

#define _ABLE_CLIB_SYS_IOCTL_H   1


Function Documentation

int ioctl ( int  fd,
long  cmd,
void *  argp 
)

Miscellaneous control of a file descriptor.

Parameters:
fd A file descriptor returned from open or socket
cmd The ioctl command.
argp The arguments to the ioctl.
Returns:
0 on success, -1 on error and errno set.


Generated on Tue Jan 20 14:28:59 2009 for ABLE LIBC by  doxygen 1.5.6