This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: O_NDELAY versus O_NONBLOCK
- To: Joel Sherrill <joel dot sherrill at OARcorp dot com>
- Subject: Re: O_NDELAY versus O_NONBLOCK
- From: Chris Faylor <cgf at cygnus dot com>
- Date: Sun, 3 Sep 2000 20:14:59 -0400
- Cc: newlib at sources dot redhat dot com
- References: <39B29531.F3283746@OARcorp.com>
On Sun, Sep 03, 2000 at 01:15:13PM -0500, Joel Sherrill wrote:
>
>Simple question. They have different values in newlib but
>appear to have the same meaning. Under Linux, they have
>the same value.
>
>What should newlib do? If they are supposed to be treated semantically
>the same, then can they be the same value?
That's a good question. I notice that cygwin sporadically attempts to test
both values but it isn't consistent.
Having them equal makes sense to me.
cgf