On Fri, Mar 31, 2006 at 06:25:53PM +0200, [EMAIL PROTECTED] wrote:
> Justin Pryzby wrote:
> > On Fri, Mar 31, 2006 at 05:22:26PM +0200, [EMAIL PROTECTED] wrote:
> > > Package: manpages-dev
> > > Version: 2.22-1
> > > 
> > > /usr/share/man/man2/open.2.gz has (under O_NONBLOCK):
> > > "This mode need not have any effect on files other than FIFOs."
> > This probably means "Use of O_NONBLOCK on an arbitrary system isn't
> > allowed to assume that it will have any effect."
> > 
> > See, for example, </usr/share/doc/susv3/susv3/functions/open.html>,
> > which says that behaviour of O_NONBLOCK is unspecified for normal
> > files.  That it is implemented and useful on Linux is just a nicety :)
> 
> I think that statement is confusing and should document what Linux or
> any modern UNIX non-broken system should do.
> 
> That statement should be removed IMHO.
Perhaps, but notes about portability can be useful, for example, to
avoid writing a whole bunch of nonportable stuff under the assumption
that linux manpages aren't totally specific to linux.  I don't know
where to draw the line, or just how often O_NONBLOCK is limited to
special files, or if it is actually documented as working on other
systems.

Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to