summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/sys/errno.h
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2008-09-19 16:11:35 +0000
committerJeff Johnston <jjohnstn@redhat.com>2008-09-19 16:11:35 +0000
commit29212ab3cdaf3ffe6dd03ec619a23018c179263b (patch)
tree2922ebe78cd579e66ceaa8c1df484adbbc6397b4 /newlib/libc/include/sys/errno.h
parentf2c11dadcf6f3621cf3c92575b1cd1a0131bb45d (diff)
downloadcygnal-29212ab3cdaf3ffe6dd03ec619a23018c179263b.tar.gz
cygnal-29212ab3cdaf3ffe6dd03ec619a23018c179263b.tar.bz2
cygnal-29212ab3cdaf3ffe6dd03ec619a23018c179263b.zip
2008-09-19 Eric Blake <ebb9@byu.net>
Supply missing POSIX errno values. * libc/include/sys/errno.h (ENOTRECOVERABLE, EOWNERDEAD): Define. * libc/string/strerror.c (strerror): Decode them, and ECANCELED.
Diffstat (limited to 'newlib/libc/include/sys/errno.h')
-rw-r--r--newlib/libc/include/sys/errno.h5
1 files changed, 4 insertions, 1 deletions
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 */