From 444b885a7dfaaf4132c440b75018b59990cbfcd5 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 19 May 2006 18:53:12 +0000 Subject: [PATCH] Add EOVERFLOW==ERANGE --- src/include/errno.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/include/errno.h b/src/include/errno.h index 32ffe99a..8c9f515e 100644 --- a/src/include/errno.h +++ b/src/include/errno.h @@ -160,11 +160,13 @@ #define ENOTSUP EOPNOTSUPP /**< Not supported */ #define ENOTTY 0xf0 /**< Inappropriate ioctl for device */ #define ENXIO ENODEV /**< No such device or address */ +#define EOVERFLOW 0xf1 /**< Result too large */ #define EPERM EACCES /**< Operation not permitted */ -#define EPROTO 0xf1 /**< Protocol error */ -#define EPROTONOSUPPORT 0xf2 /**< Protocol not supported */ -#define EPROTOTYPE 0xf3 /**< Protocol wrong type for socket */ -#define ETIMEDOUT 0xf4 /**< Connection timed out */ +#define EPROTO 0xf2 /**< Protocol error */ +#define EPROTONOSUPPORT 0xf3 /**< Protocol not supported */ +#define EPROTOTYPE 0xf4 /**< Protocol wrong type for socket */ +#define ERANGE EOVERFLOW /**< Result too large */ +#define ETIMEDOUT 0xf5 /**< Connection timed out */ #define EWOULDBLOCK EAGAIN /**< Resource temporarily unavailable */ /* Data structures and declarations */