libc: define EWOULDBLOCK to be the same as EAGAIN
EWOULDBLOCK is an old error code from BSD. Not much uses it, and on basically all modern systems it's defined to the same value as EAGAIN, which is the System V value for the same condition. Jira: ZEP-982 Change-Id: I5435ce55fa47f5bd2fac5d881b5b195b025f48a2 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
0cf87e4c26
commit
c83e6a1f48
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ extern int *_get_errno(void);
|
||||||
/* non-blocking and interrupt i/o */
|
/* non-blocking and interrupt i/o */
|
||||||
#define EINPROGRESS 68 /* Operation now in progress */
|
#define EINPROGRESS 68 /* Operation now in progress */
|
||||||
#define EALREADY 69 /* Operation already in progress */
|
#define EALREADY 69 /* Operation already in progress */
|
||||||
#define EWOULDBLOCK 70 /* Operation would block */
|
#define EWOULDBLOCK EAGAIN /* Operation would block */
|
||||||
|
|
||||||
#define ENOSYS 71 /* Function not implemented */
|
#define ENOSYS 71 /* Function not implemented */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue