Re: [PATCH] [2.5] Non-blocking write can block

From: Joe Korty (
Date: Thu Jun 05 2003 - 16:46:38 EST

On Thu, Jun 05, 2003 at 03:15:19PM -0400, Richard B. Johnson wrote:
> On Thu, 5 Jun 2003, Mike Fedyk wrote:
> > Also, what do other UNIX OSes do? Do they have seperate semantics for
> > O_NONBLOCK and O_NDELAY? If so, then it would probably be better to change
> > O_NDELAY to be similar and add another feature at the same time as reducing
> > platform specific codeing in userspace.
> My Sun thinks that O_NDELAY = 0x04 and O_NONBLOCK = 0x80, FWIW.

Same here on my AT&T System V ES/MP box.

As far as semantics go, the two appear to be identical except that
O_NDELAY always returns 0 on a blocking condition while O_NONBLOCK
usually returns EAGAIN and only occasionally returns 0.


[cc list trimmed]
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Jun 07 2003 - 22:00:28 EST