Clears the bit for the file descriptor
fd
in the file descriptor set
fdset
.
int FD_ISSET(int
fd
, fd_set *
fdset
)
Returns a non-zero value if the bit for the file descriptor
fd
is
set in the file descriptor set by
fdset
, and 0 otherwise.
void FD_SET(int
fd
, fd_set *
fdset
)
Sets the bit for the file descriptor
fd
in the file descriptor set
fdset
.
void FD_ZERO(fd_set *
fdset
)
Initialises the file descriptor set
fdset
to have zero bits for all file
descriptors.
FD_SETSIZE
Maximum number of file descriptors in an
fd_set
structure.
If implemented as macros, these may evaluate their arguments more than
once, so that arguments must never be expressions with side effects.
The following are declared as functions and may also be defined as macros.
Function prototypes must be provided for use with an ISO C
compiler.
int
getitimer
(int, struct itimerval *);
int
setitimer
(int, const struct itimerval *, struct itimerval *);
int
gettimeofday
(struct timeval *, void *);
int
select
(int, fd_set *, fd_set *, fd_set *, struct timeval *);
int
utimes
(const char *, const struct timeval [2]);