[9fans] EWOULDBLOCK in APE

  • Follow


I'm seeking advice.

APE does not include EWOULDBLOCK in its <errno.h>.  I have a feeling
that no syscall will return EWOULDBLOCK as an error code, so I fail to
see any reason not to include it.  Am I missing something?

++L


0
Reply lucio (1062) 3/20/2008 6:56:44 PM

On Thu, Mar 20, 2008 at 11:48 AM,  <lucio@proxima.alt.za> wrote:

>  APE does not include EWOULDBLOCK in its <errno.h>.  I have a feeling
>  that no syscall will return EWOULDBLOCK as an error code, so I fail to
>  see any reason not to include it.  Am I missing something?

If it's not there, and someone uses EWOULDBLOCK, they'll get an
error.Probably a good idea.

I.E.

You Have Been Warned.

:-)

ron

0
Reply rminnich (1317) 3/20/2008 7:25:04 PM


>  APE does not include EWOULDBLOCK in its <errno.h>.  I have a feeling
>  that no syscall will return EWOULDBLOCK as an error code, so I fail to
>  see any reason not to include it.  Am I missing something?

I think it's common on UNIX systems for EWOULDBLOCK to be a synonym for EAGAIN.

0
Reply rcbilson984 (33) 3/20/2008 7:29:40 PM

2 Replies
18 Views

(page loaded in 0.069 seconds)

5/21/2013 12:23:11 AM


Reply: