]> git.corax.cc Git - corax/commitdiff
Add some error numbers needed by the socket layer:
authorMatthias Kruk <m@m10k.eu>
Thu, 3 Oct 2019 09:36:44 +0000 (18:36 +0900)
committerMatthias Kruk <m@m10k.eu>
Thu, 3 Oct 2019 09:36:44 +0000 (18:36 +0900)
 - EAFNOSUPPORT
 - EMFILE
 - EBADF
 - ENFILE

include/corax/errno.h

index ce031a303aaa0640a0d6fce90b136c2e5905090d..903c8f6d103b7d2dc6bac45466576bf189978f6f 100644 (file)
 #ifndef __CORAX_ERRNO_H
 #define __CORAX_ERRNO_H
 
-#define EINVAL   1
-#define ENOSYS   2
-#define EALREADY 3
-#define EAGAIN   4
-#define ENOMEM   5
-#define EFAULT   6
+#define EINVAL       1
+#define ENOSYS       2
+#define EALREADY     3
+#define EAGAIN       4
+#define ENOMEM       5
+#define EFAULT       6
+#define EAFNOSUPPORT 7
+#define EMFILE       8
+#define EBADF        9
+#define ENFILE       10
 
 #endif /* __CORAX_ERRNO_H */