--- pselect.3.orig 2009-11-07 14:51:38.000000000 -0800 +++ pselect.3 2009-11-07 14:51:39.000000000 -0800 @@ -37,15 +37,15 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.In sys/select.h +.In unistd.h .Ft int .Fo pselect .Fa "int nfds" -.Fa "fd_set * restrict readfds" -.Fa "fd_set * restrict writefds" -.Fa "fd_set * restrict exceptfds" -.Fa "const struct timespec * restrict timeout" -.Fa "const sigset_t * restrict newsigmask" +.Fa "fd_set *restrict readfds" +.Fa "fd_set *restrict writefds" +.Fa "fd_set *restrict errorfds" +.Fa "const struct timespec *restrict timeout" +.Fa "const sigset_t *restrict sigmask" .Fc .Sh DESCRIPTION The @@ -57,7 +57,7 @@ as a slightly stronger version of The .Fa nfds , readfds , writefds , and -.Fa exceptfds +.Fa errorfds arguments are all identical to the analogous arguments of .Fn select . The @@ -65,7 +65,7 @@ The argument in .Fn pselect points to a -.Vt "const struct timespec" +.Vt "const struct timespec" , rather than the (modifiable) .Vt "struct timeval" used by @@ -76,7 +76,7 @@ a null pointer may be passed to indicate .Fn pselect should wait indefinitely. Finally, -.Fa newsigmask +.Fa sigmask specifies a signal mask which is set while waiting for input. When .Fn pselect