浏览代码

Add EOVERFLOW==ERANGE

tags/v0.9.3
Michael Brown 18 年前
父节点
当前提交
444b885a7d
共有 1 个文件被更改,包括 6 次插入4 次删除
  1. 6
    4
      src/include/errno.h

+ 6
- 4
src/include/errno.h 查看文件

160
 #define ENOTSUP		EOPNOTSUPP /**< Not supported */
160
 #define ENOTSUP		EOPNOTSUPP /**< Not supported */
161
 #define ENOTTY		0xf0	/**< Inappropriate ioctl for device */
161
 #define ENOTTY		0xf0	/**< Inappropriate ioctl for device */
162
 #define ENXIO		ENODEV	/**< No such device or address */
162
 #define ENXIO		ENODEV	/**< No such device or address */
163
+#define EOVERFLOW	0xf1	/**< Result too large */
163
 #define EPERM		EACCES	/**< Operation not permitted */
164
 #define EPERM		EACCES	/**< Operation not permitted */
164
-#define EPROTO		0xf1	/**< Protocol error */
165
-#define EPROTONOSUPPORT	0xf2	/**< Protocol not supported */
166
-#define EPROTOTYPE	0xf3	/**< Protocol wrong type for socket */
167
-#define ETIMEDOUT	0xf4	/**< Connection timed out */
165
+#define EPROTO		0xf2	/**< Protocol error */
166
+#define EPROTONOSUPPORT	0xf3	/**< Protocol not supported */
167
+#define EPROTOTYPE	0xf4	/**< Protocol wrong type for socket */
168
+#define ERANGE		EOVERFLOW /**< Result too large */
169
+#define ETIMEDOUT	0xf5	/**< Connection timed out */
168
 #define EWOULDBLOCK	EAGAIN	/**< Resource temporarily unavailable */
170
 #define EWOULDBLOCK	EAGAIN	/**< Resource temporarily unavailable */
169
 
171
 
170
 /* Data structures and declarations */
172
 /* Data structures and declarations */

正在加载...
取消
保存