[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New errno.h entry?
- To: mint@atari.archive.umich.edu
- Subject: Re: New errno.h entry?
- From: Waldi Ravens <waldi@moacs.indiv.nl.net>
- Date: Thu, 30 Nov 1995 05:08:56 +0000 (MET)
- In-reply-to: <Pine.SGI.3.91.951129200302.3519A-100000@castor> from "Yves Pelletieri" at Nov 29, 95 09:20:58 pm
- Organization: Private Site
Yves Pelletieri wrote:
> While porting the Empire unix client to MiNT, I came across an error
> descriptor that was not in the MiNTlibs... namely: EAGAIN.
>
> So I just took a look at errno.h and added an entry where it seemed fit.
> If there are reasons why the error number should not be 92, let me
> know.
EWOULDBLOCK already existed in <errno.h>, so what I did was:
#define EAGAIN EWOULDBLOCK
O_NONBLOCK and EAGAIN are the POSIX equivalents of BSDs O_NDELAY
and EWOULDBLOCK. The P1003.1 committee had to choose different
names, though, because SysVs implementation of O_NDELAY was
broken.
Waldi