1select.h(3HEAD) Headers select.h(3HEAD)
2
3
4
6 select.h, select - select types
7
9 #include <sys/select.h>
10
11
13 The <sys/select.h> header defines the timeval structure, which includes
14 the following members:
15
16 time_t tv_sec /* seconds */
17 suseconds_t tv_usec /* microseconds */
18
19
20
21 The time_t and suseconds_t types are defined as described in
22 <sys/types.h>. See types.h(3HEAD).
23
24
25 The sigset_t type is defined as described in signal.h(3HEAD).
26
27
28 The timespec structure is defined as described in <time.h>. See
29 time.h(3HEAD).
30
31
32 The <sys/select.h> header defines the fd_set type as a structure.
33
34
35 The following is defined as a macro:
36
37 FD_SETSIZE Maximum number of file descriptors in an fd_set struc‐
38 ture.
39
40
41
42 Inclusion of the <sys/select.h> header can make visible all symbols
43 from the headers <signal.h>, <sys/time.h>, and <time.h>.
44
46 See attributes(5) for descriptions of the following attributes:
47
48
49
50
51 ┌─────────────────────────────┬─────────────────────────────┐
52 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
53 ├─────────────────────────────┼─────────────────────────────┤
54 │Interface Stability │Standard │
55 └─────────────────────────────┴─────────────────────────────┘
56
58 select(3C), signal.h(3HEAD), time.h(3HEAD), types.h(3HEAD),
59 attributes(5), standards(5)
60
61
62
63SunOS 5.11 10 Sep 2004 select.h(3HEAD)