Improve comment about pipe2.
authorBruno Haible <bruno@clisp.org>
Sun, 23 Aug 2009 00:39:38 +0000 (02:39 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 23 Aug 2009 00:39:38 +0000 (02:39 +0200)
lib/unistd.in.h

index 7dc33bc691cf4da70fcd8b3bee4273e686bc7e1d..a79ebbe87d0a975871529f58db49bd5feaf23538 100644 (file)
@@ -537,7 +537,9 @@ extern int link (const char *path1, const char *path2);
    The flags are a bitmask, possibly including O_CLOEXEC (defined in <fcntl.h>)
    and O_TEXT, O_BINARY (defined in "binary-io.h").
    Store the read-end as fd[0] and the write-end as fd[1].
    The flags are a bitmask, possibly including O_CLOEXEC (defined in <fcntl.h>)
    and O_TEXT, O_BINARY (defined in "binary-io.h").
    Store the read-end as fd[0] and the write-end as fd[1].
-   Return 0 upon success, or -1 with errno set upon failure.  */
+   Return 0 upon success, or -1 with errno set upon failure.
+   See also the Linux man page at
+   <http://www.kernel.org/doc/man-pages/online/pages/man2/pipe2.2.html>.  */
 # if !@HAVE_PIPE2@
 extern int pipe2 (int fd[2], int flags);
 # endif
 # if !@HAVE_PIPE2@
 extern int pipe2 (int fd[2], int flags);
 # endif