]> git.saurik.com Git - apple/libc.git/blame - gen/FreeBSD/pselect.3.patch
Libc-594.1.4.tar.gz
[apple/libc.git] / gen / FreeBSD / pselect.3.patch
CommitLineData
224c7076
A
1--- _SB/Libc/gen/FreeBSD/pselect.3 2003-05-20 15:21:02.000000000 -0700
2+++ _SB/Libc/gen/FreeBSD/pselect.3.edit 2006-06-28 16:55:51.000000000 -0700
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
25@@ -57,7 +57,7 @@
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
34@@ -65,7 +65,7 @@
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
43@@ -76,7 +76,7 @@
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