summaryrefslogtreecommitdiff
path: root/doc/glibc-functions/pipe2.texi
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-06-03 00:10:00 +0200
committerBruno Haible <bruno@clisp.org>2011-06-04 10:59:53 +0200
commit64e338384bc99dfb49c4f46648b3fa0c50e8491d (patch)
tree0fc0fc10079262643c99b1d45f2036fd69dc9ec3 /doc/glibc-functions/pipe2.texi
parent1b20f727196f5f3361c2edf5ca28ac0032425706 (diff)
downloadgnulib-64e338384bc99dfb49c4f46648b3fa0c50e8491d.tar.gz
pipe2: Remove dependency on 'nonblocking' module.
* lib/pipe2.c: Include verify.h. Include nonblocking.h only if O_NONBLOCK is defined by gnulib. (pipe2) [WIN32]: If O_NONBLOCK is not defined by gnulib, verify that it is zero. * modules/pipe2 (Depends-on): Add verify. Remove nonblocking. * tests/test-pipe2.c: Include nonblocking.h only if O_NONBLOCK is defined by gnulib. (get_nonblocking_flag): New function. (main): Test O_NONBLOCK flag only if it is nonzero.
Diffstat (limited to 'doc/glibc-functions/pipe2.texi')
-rw-r--r--doc/glibc-functions/pipe2.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/glibc-functions/pipe2.texi b/doc/glibc-functions/pipe2.texi
index f33d90d48a..5721ae9b98 100644
--- a/doc/glibc-functions/pipe2.texi
+++ b/doc/glibc-functions/pipe2.texi
@@ -15,3 +15,6 @@ IRIX 6.5, OSF/1 5.1, Solaris 11 2010-11, Cygwin 1.7.1, mingw, Interix 3.5, BeOS.
Portability problems not fixed by Gnulib:
@itemize
@end itemize
+
+Note: This function portably supports the @code{O_NONBLOCK} flag only if the
+gnulib module @code{nonblocking} is also used.