Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/sys pipe2 requires fcntl.h for its flags; PR 48614 ...
details: https://anonhg.NetBSD.org/src/rev/8925a50f7f97
branches: trunk
changeset: 793667:8925a50f7f97
user: dholland <dholland%NetBSD.org@localhost>
date: Sat Feb 22 17:26:41 2014 +0000
description:
pipe2 requires fcntl.h for its flags; PR 48614 from Steffen Daode Nurpmeso.
Also fix the wording for EINVAL as suggested by Robert Elz.
diffstat:
lib/libc/sys/pipe.2 | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diffs (31 lines):
diff -r df6dde7d5610 -r 8925a50f7f97 lib/libc/sys/pipe.2
--- a/lib/libc/sys/pipe.2 Sat Feb 22 17:21:19 2014 +0000
+++ b/lib/libc/sys/pipe.2 Sat Feb 22 17:26:41 2014 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pipe.2,v 1.29 2013/04/23 23:39:13 elric Exp $
+.\" $NetBSD: pipe.2,v 1.30 2014/02/22 17:26:41 dholland Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -41,6 +41,8 @@
.In unistd.h
.Ft int
.Fn pipe "int fildes[2]"
+.In unistd.h
+.In fcntl.h
.Ft int
.Fn pipe2 "int fildes[2]" "int flags"
.Sh DESCRIPTION
@@ -134,11 +136,7 @@
.Bl -tag -width Er
.It Bq Er EINVAL
.Fa flags
-is other than
-.Dv O_NONBLOCK ,
-.Dv O_NOSIGPIPE
-or
-.Dv O_CLOEXEC .
+contains an invalid value.
.El
.Sh SEE ALSO
.Xr sh 1 ,
Home |
Main Index |
Thread Index |
Old Index