From 13acb6214c60a84aee6e16ace0d241a2975f15c9 Mon Sep 17 00:00:00 2001 From: Matthias Kruk Date: Thu, 3 Oct 2019 18:36:44 +0900 Subject: [PATCH] Add some error numbers needed by the socket layer: - EAFNOSUPPORT - EMFILE - EBADF - ENFILE --- include/corax/errno.h | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/include/corax/errno.h b/include/corax/errno.h index ce031a3..903c8f6 100644 --- a/include/corax/errno.h +++ b/include/corax/errno.h @@ -19,11 +19,15 @@ #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 */ -- 2.47.3