From 29212ab3cdaf3ffe6dd03ec619a23018c179263b Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Fri, 19 Sep 2008 16:11:35 +0000 Subject: 2008-09-19 Eric Blake Supply missing POSIX errno values. * libc/include/sys/errno.h (ENOTRECOVERABLE, EOWNERDEAD): Define. * libc/string/strerror.c (strerror): Decode them, and ECANCELED. --- newlib/libc/include/sys/errno.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'newlib/libc/include') diff --git a/newlib/libc/include/sys/errno.h b/newlib/libc/include/sys/errno.h index 1721ef4c8..f130e3ebd 100644 --- a/newlib/libc/include/sys/errno.h +++ b/newlib/libc/include/sys/errno.h @@ -148,7 +148,10 @@ extern __IMPORT int sys_nerr; #define ECASECLASH 137 /* Filename exists with different case */ #define EILSEQ 138 #define EOVERFLOW 139 /* Value too large for defined data type */ -#define ECANCELED 140 /* Operation canceled. */ +#define ECANCELED 140 /* Operation canceled */ +#define ENOTRECOVERABLE 141 /* State not recoverable */ +#define EOWNERDEAD 142 /* Previous owner died */ + /* From cygwin32. */ #define EWOULDBLOCK EAGAIN /* Operation would block */ -- cgit v1.2.3