Module Name: src
Committed By: elric
Date: Tue Apr 23 23:39:13 UTC 2013
Modified Files:
src/lib/libc/sys: pipe.2
Log Message:
For pipe2(2), EINVAL won't be returned if the flag is O_NOSIGPIPE.
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/lib/libc/sys/pipe.2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/sys/pipe.2
diff -u src/lib/libc/sys/pipe.2:1.28 src/lib/libc/sys/pipe.2:1.29
--- src/lib/libc/sys/pipe.2:1.28 Wed Jan 25 00:28:35 2012
+++ src/lib/libc/sys/pipe.2 Tue Apr 23 23:39:13 2013
@@ -1,4 +1,4 @@
-.\" $NetBSD: pipe.2,v 1.28 2012/01/25 00:28:35 christos Exp $
+.\" $NetBSD: pipe.2,v 1.29 2013/04/23 23:39:13 elric Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -135,7 +135,8 @@ will also fail if:
.It Bq Er EINVAL
.Fa flags
is other than
-.Dv O_NONBLOCK
+.Dv O_NONBLOCK ,
+.Dv O_NOSIGPIPE
or
.Dv O_CLOEXEC .
.El