2002-07-12 13:29:46 +04:00
|
|
|
/**
|
|
|
|
* @file sys/ioctl.h
|
|
|
|
* @brief I/O control functions
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _SYS_IOCTL_H
|
|
|
|
#define _SYS_IOCTL_H
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @defgroup IOCTL sys/ioctl.h
|
|
|
|
* @brief I/O control functions
|
|
|
|
* @ingroup OpenBeOS_POSIX
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <sys/ioccom.h>
|
|
|
|
#include <sys/filio.h>
|
|
|
|
#include <sys/socket.h>
|
|
|
|
|
|
|
|
#ifndef _KERNEL_MODE
|
|
|
|
/** @fn int ioctl(int fd, ulong cmd, ...)
|
|
|
|
* Manipulates the characteristics of the affected descriptor. May be used
|
|
|
|
* on all forms of descriptor, including sockets and pipes. cmd should be one
|
|
|
|
* of the values given in
|
|
|
|
* @ref IOCTL_cmds
|
|
|
|
*/
|
|
|
|
int ioctl(int, ulong, ...);
|
|
|
|
#endif /* !_KERNEL_MODE */
|
|
|
|
|
2002-10-25 18:43:27 +04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2002-07-12 13:29:46 +04:00
|
|
|
/** @} */
|
|
|
|
#endif /* _SYS_IOCTL_H */
|