pselect: reject invalid file descriptors
[gnulib.git] / doc / posix-functions / pselect.texi
index 378a7c6..aa191cc 100644 (file)
@@ -2,17 +2,26 @@
 @section @code{pselect}
 @findex pselect
 
-POSIX specification: @url{http://www.opengroup.org/susv3xsh/pselect.html}
+POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/pselect.html}
 
 Gnulib module: ---
 
 Portability problems fixed by Gnulib:
 @itemize
+@item
+This function is missing on some platforms:
+OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11.23, IRIX 6.5, OSF/1 5.1, Solaris 9, mingw, MSVC 9, Interix 3.5, BeOS.
+@item
+On some platforms, this function fails to detect invalid fds with
+EBADF, but only if they lie beyond the current maximum open fd:
+FreeBSD 8.2.
 @end itemize
 
 Portability problems not fixed by Gnulib:
 @itemize
 @item
-This function is missing on some platforms:
-OpenBSD 3.8, AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 9, mingw, Interix 3.5, BeOS.
+When the @var{sigmask} argument is nonnull on platforms that do not
+natively support this function, race conditions are possible when its
+gnulib implementation temporarily modifies the signal mask, and the
+behavior is unspecified in a multi-threaded process.
 @end itemize