]>
Commit | Line | Data |
---|---|---|
1f2f436a A |
1 | --- pselect.3.orig 2009-11-07 14:51:38.000000000 -0800 |
2 | +++ pselect.3 2009-11-07 14:51:39.000000000 -0800 | |
224c7076 | 3 | @@ -37,15 +37,15 @@ |
9385eb3d A |
4 | .Sh LIBRARY |
5 | .Lb libc | |
6 | .Sh SYNOPSIS | |
7 | -.In sys/select.h | |
8 | +.In unistd.h | |
9 | .Ft int | |
10 | .Fo pselect | |
11 | .Fa "int nfds" | |
224c7076 A |
12 | -.Fa "fd_set * restrict readfds" |
13 | -.Fa "fd_set * restrict writefds" | |
14 | -.Fa "fd_set * restrict exceptfds" | |
15 | -.Fa "const struct timespec * restrict timeout" | |
16 | -.Fa "const sigset_t * restrict newsigmask" | |
17 | +.Fa "fd_set *restrict readfds" | |
18 | +.Fa "fd_set *restrict writefds" | |
19 | +.Fa "fd_set *restrict errorfds" | |
20 | +.Fa "const struct timespec *restrict timeout" | |
21 | +.Fa "const sigset_t *restrict sigmask" | |
22 | .Fc | |
23 | .Sh DESCRIPTION | |
24 | The | |
1f2f436a | 25 | @@ -57,7 +57,7 @@ as a slightly stronger version of |
224c7076 A |
26 | The |
27 | .Fa nfds , readfds , writefds , | |
28 | and | |
29 | -.Fa exceptfds | |
30 | +.Fa errorfds | |
31 | arguments are all identical to the analogous arguments of | |
32 | .Fn select . | |
33 | The | |
1f2f436a | 34 | @@ -65,7 +65,7 @@ The |
224c7076 A |
35 | argument in |
36 | .Fn pselect | |
37 | points to a | |
38 | -.Vt "const struct timespec" | |
39 | +.Vt "const struct timespec" , | |
40 | rather than the (modifiable) | |
41 | .Vt "struct timeval" | |
42 | used by | |
1f2f436a | 43 | @@ -76,7 +76,7 @@ a null pointer may be passed to indicate |
224c7076 A |
44 | .Fn pselect |
45 | should wait indefinitely. | |
46 | Finally, | |
47 | -.Fa newsigmask | |
48 | +.Fa sigmask | |
49 | specifies a signal mask which is set while waiting for input. | |
50 | When | |
51 | .Fn pselect |