SELECT.H(3HEAD) Headers SELECT.H(3HEAD)

select.h, select - select types

#include <sys/select.h>

The <sys/select.h> header defines the timeval structure, which includes the following members:


time_t      tv_sec      /* seconds */
suseconds_t tv_usec     /* microseconds */

The time_t and suseconds_t types are defined as described in <sys/types.h>. See types.h(3HEAD).

The sigset_t type is defined as described in signal.h(3HEAD).

The timespec structure is defined as described in <time.h>. See time.h(3HEAD).

The <sys/select.h> header defines the fd_set type as a structure.

The following is defined as a macro:

FD_SETSIZE

Maximum number of file descriptors in an fd_set structure.

Inclusion of the <sys/select.h> header can make visible all symbols from the headers <signal.h>, <sys/time.h>, and <time.h>.

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability Standard

select(3C), signal.h(3HEAD), time.h(3HEAD), types.h(3HEAD), attributes(7), standards(7)

September 10, 2004 OmniOS