summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richardipsum@vx21.xyz>2019-10-04 23:28:47 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2019-10-06 09:22:07 +0100
commitfcf64b34f3332350937608ab6fcb134d5bfac0e3 (patch)
treec7f69811df77646aac3709018f64c8484785961a
parent7c8923b6b5de0b6036dcd2071e73007d8c525e89 (diff)
downloadluxio-fcf64b34f3332350937608ab6fcb134d5bfac0e3.tar.bz2
Define additional POSIX error numbers
Error numbers are defined according to: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/errno.h.html
-rw-r--r--luxio_constants.inc.in51
1 files changed, 49 insertions, 2 deletions
diff --git a/luxio_constants.inc.in b/luxio_constants.inc.in
index a812715..9cd058f 100644
--- a/luxio_constants.inc.in
+++ b/luxio_constants.inc.in
@@ -11,39 +11,86 @@ static const struct {
} luxio_numeric_constants[] = {
/* errors */
+? E(E2BIG),
E(EACCES),
+? E(EADDRINUSE),
E(EADDRNOTAVAIL),
E(EAFNOSUPPORT),
- E(EEXIST),
+? E(EAGAIN),
+? E(EALREADY),
E(EBADF),
+? E(EBADMSG),
+? E(EBUSY),
+? E(ECANCELED),
+? E(ECHILD),
+? E(ECONNABORTED),
+? E(ECONNREFUSED),
+? E(ECONNRESET),
+? E(EDEADLK),
+? E(EDESTADDRREQ),
+? E(EDOM),
+? E(EDQUOT),
+? E(EEXIST),
E(EFAULT),
E(EFBIG),
+? E(EHOSTUNREACH),
+? E(EIDRM),
+? E(EILSEQ),
+? E(EINPROGRESS),
E(EINTR),
+ E(EINVAL),
E(EIO),
+? E(EISCONN),
E(EISDIR),
- E(EINVAL),
E(ELOOP),
E(EMFILE),
+? E(EMLINK),
+? E(EMSGSIZE),
+#ifdef __linux__
+ E(EMULTIHOP),
+#endif
E(ENAMETOOLONG),
+? E(ENETDOWN),
+? E(ENETRESET),
+? E(ENETUNREACH),
E(ENFILE),
E(ENOBUFS),
E(ENODEV),
E(ENOENT),
+? E(ENOEXEC),
+? E(ENOLCK),
+#ifdef __linux__
+ E(ENOLINK),
+#endif
E(ENOMEM),
+? E(ENOMSG),
+? E(ENOPROTOOPT),
E(ENOSPC),
+? E(ENOSYS),
E(ENOTCONN),
E(ENOTDIR),
+? E(ENOTEMPTY),
+? E(ENOTRECOVERABLE),
E(ENOTSOCK),
+? E(ENOTSUP),
E(ENOTTY),
E(ENXIO),
+? E(EOPNOTSUPP),
E(EOVERFLOW),
+? E(EOWNERDEAD),
E(EPERM),
+? E(EPROTO),
E(EPROTONOSUPPORT),
+? E(EPROTOTYPE),
+? E(ERANGE),
E(EROFS),
? E(ESPIPE),
E(ESRCH),
+? E(ESTALE),
+? E(ETIMEDOUT),
E(ETXTBSY),
E(EWOULDBLOCK),
+? E(EXDEV),
/* open-related defines */
E(O_RDONLY),