]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
pipe.2: Note that 'pipefd' is left unchanged in the event of an error
authorMichael Kerrisk <mtk.manpages@gmail.com>
Sun, 17 Mar 2019 19:56:50 +0000 (20:56 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 18 Mar 2019 16:30:23 +0000 (17:30 +0100)
See http://austingroupbugs.net/view.php?id=467.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/pipe.2

index 8ebf9395be0d3291e67cc877082cf8f83d0234a6..acd6ba6363361420bd6020c8b25c50147482513e 100644 (file)
@@ -148,9 +148,11 @@ Using this flag saves extra calls to
 to achieve the same result.
 .SH RETURN VALUE
 On success, zero is returned.
-On error, \-1 is returned, and
+On error, \-1 is returned,
 .I errno
-is set appropriately.
+is set appropriately, and
+.I pipefd
+is left unchanged.
 .PP
 On Linux (and other systems),
 .BR pipe ()