NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/48614: pipe2(2) requires fcntl.h, which is not mentioned by manual



The following reply was made to PR lib/48614; it has been noted by GNATS.

From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: lib/48614: pipe2(2) requires fcntl.h, which is not mentioned by 
manual
Date: Sun, 23 Feb 2014 00:11:36 +0700

 If someone fixes that, please also fix the description of the EINVAL
 return from pipe2().
 
 As written, it suggests that the flags can only be (exactly)
 O_NONBLOCK or O_CLOEXEC (not both together) - and completely
 ignores O_NOSIGPIPE which one would hope does not cause EINVAL.
 
 Rather than repeating the legal flags just say ...
 
        [EINVAL]                flags contains an invalid value.
 
 (the text earlier already says what is valid.)
 
 kre
 


Home | Main Index | Thread Index | Old Index