X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Fglibc-functions%2Fpipe2.texi;h=2c62acb19fc914d527adc2e118e230460b13f8b5;hb=10f2e326a345a8f342ddf10ceb29b5e143795de1;hp=5df4f7bfef8ba84d8449b48eb0b433937880858d;hpb=37b2d8827b7843be372de257960a2b9a1a1877d7;p=gnulib.git diff --git a/doc/glibc-functions/pipe2.texi b/doc/glibc-functions/pipe2.texi index 5df4f7bfe..2c62acb19 100644 --- a/doc/glibc-functions/pipe2.texi +++ b/doc/glibc-functions/pipe2.texi @@ -2,15 +2,25 @@ @subsection @code{pipe2} @findex pipe2 -Gnulib module: --- +Gnulib module: pipe2 Portability problems fixed by Gnulib: @itemize +@item +This function is missing on many non-glibc platforms: +MacOS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11, +IRIX 6.5, OSF/1 5.1, Solaris 11 2011-11, Cygwin 1.7.1, mingw, MSVC 9, Interix 3.5, BeOS. +But the replacement function is not atomic; this matters in multi-threaded +programs that spawn child processes. @end itemize Portability problems not fixed by Gnulib: @itemize @item -This function is missing on all non-glibc platforms: -MacOS X 10.3, FreeBSD 6.0, NetBSD 3.0, OpenBSD 3.8, AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin, mingw, Interix 3.5, BeOS. +This function crashes rather than failing with @code{EMFILE} if no +resources are left on some platforms: +Cygwin 1.7.9. @end itemize + +Note: This function portably supports the @code{O_NONBLOCK} flag only if the +gnulib module @code{nonblocking} is also used.