Преглед на файлове

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,11 +160,13 @@
160 160
 #define ENOTSUP		EOPNOTSUPP /**< Not supported */
161 161
 #define ENOTTY		0xf0	/**< Inappropriate ioctl for device */
162 162
 #define ENXIO		ENODEV	/**< No such device or address */
163
+#define EOVERFLOW	0xf1	/**< Result too large */
163 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 170
 #define EWOULDBLOCK	EAGAIN	/**< Resource temporarily unavailable */
169 171
 
170 172
 /* Data structures and declarations */

Loading…
Отказ
Запис