From 9f20e1783b20fc97e685c1a756324e92019e67a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Wed, 2 Mar 2005 16:42:07 +0000 Subject: [PATCH] added some missing posix error codes. i don't know if they exist as BeOS error codes at all git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11536 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/support/Errors.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/headers/os/support/Errors.h b/headers/os/support/Errors.h index a382af8663..181755a297 100644 --- a/headers/os/support/Errors.h +++ b/headers/os/support/Errors.h @@ -179,6 +179,21 @@ enum { #define EOPNOTSUPP (B_POSIX_ERROR_BASE + 43) #define ENOTSOCK (B_POSIX_ERROR_BASE + 44) #define EHOSTDOWN (B_POSIX_ERROR_BASE + 45) +#define EBADMSG (B_POSIX_ERROR_BASE + 46) +#define ECANCELED (B_POSIX_ERROR_BASE + 47) +#define EDESTADDRREQ (B_POSIX_ERROR_BASE + 48) +#define EDQUOT (B_POSIX_ERROR_BASE + 49) +#define EIDRM (B_POSIX_ERROR_BASE + 50) +#define EMULTIHOP (B_POSIX_ERROR_BASE + 51) +#define ENODATA (B_POSIX_ERROR_BASE + 52) +#define ENOLINK (B_POSIX_ERROR_BASE + 53) +#define ENOSR (B_POSIX_ERROR_BASE + 54) +#define ENOSTR (B_POSIX_ERROR_BASE + 55) +#define ENOTSUP (B_POSIX_ERROR_BASE + 56) +#define EPROTO (B_POSIX_ERROR_BASE + 57) +#define ETIME (B_POSIX_ERROR_BASE + 58) +#define ETXTBSY (B_POSIX_ERROR_BASE + 59) + /*---- POSIX errors that can be mapped to BeOS error codes ----*/ #define ENOMEM B_NO_MEMORY