From: Matthias Kruk Date: Thu, 3 Oct 2019 09:36:44 +0000 (+0900) Subject: Add some error numbers needed by the socket layer: X-Git-Url: https://git.corax.cc/?a=commitdiff_plain;h=13acb6214c60a84aee6e16ace0d241a2975f15c9;p=corax Add some error numbers needed by the socket layer: - EAFNOSUPPORT - EMFILE - EBADF - ENFILE --- 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 */