annotate Modules/errnomodule.c @ 79675:c0a2294de787 2.7

Issue #16199: Backport 2to3 typo fix from 3.2.
author Chris Jerdonek <chris.jerdonek@gmail.com>
date Thu, 11 Oct 2012 16:15:46 -0700
parents e12efebc3ba6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
1
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
2 /* Errno module */
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
3
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
4 #include "Python.h"
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
5
21810
7a11bfc66214 Removed an XXX question (the answer is "yes" <wink>).
Tim Peters <tim.peters@gmail.com>
parents: 14375
diff changeset
6 /* Windows socket errors (WSA*) */
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
7 #ifdef MS_WINDOWS
47666
fcfe10f3dc14 Restore support for Microsoft VC6 compiler.
Amaury Forgeot d'Arc <amauryfa@gmail.com>
parents: 47527
diff changeset
8 #include <windows.h>
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
9 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
10
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
11 /*
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
12 * Pull in the system error definitions
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
13 */
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
14
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
15 static PyMethodDef errno_methods[] = {
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
16 {NULL, NULL}
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
17 };
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
18
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
19 /* Helper function doing the dictionary inserting */
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
20
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
21 static void
13471
df189f9cd010 - ANSI-fication
Fredrik Lundh <fredrik@pythonware.com>
parents: 13256
diff changeset
22 _inscode(PyObject *d, PyObject *de, char *name, int code)
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
23 {
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
24 PyObject *u = PyString_FromString(name);
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
25 PyObject *v = PyInt_FromLong((long) code);
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
26
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
27 /* Don't bother checking for errors; they'll be caught at the end
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
28 * of the module initialization function by the caller of
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
29 * initerrno().
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
30 */
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
31 if (u && v) {
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
32 /* insert in modules dict */
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
33 PyDict_SetItem(d, u, v);
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
34 /* insert in errorcode dict */
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
35 PyDict_SetItem(de, v, u);
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
36 }
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
37 Py_XDECREF(u);
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
38 Py_XDECREF(v);
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
39 }
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
40
23832
ed1ba37a46b7 Patch #568124: Add doc string macros.
Martin v. Löwis <martin@v.loewis.de>
parents: 21810
diff changeset
41 PyDoc_STRVAR(errno__doc__,
8947
c91809cd67e5 Added a module docstring (that's all this module needs).
Guido van Rossum <guido@python.org>
parents: 6558
diff changeset
42 "This module makes available standard errno system symbols.\n\
c91809cd67e5 Added a module docstring (that's all this module needs).
Guido van Rossum <guido@python.org>
parents: 6558
diff changeset
43 \n\
c91809cd67e5 Added a module docstring (that's all this module needs).
Guido van Rossum <guido@python.org>
parents: 6558
diff changeset
44 The value of each symbol is the corresponding integer value,\n\
c91809cd67e5 Added a module docstring (that's all this module needs).
Guido van Rossum <guido@python.org>
parents: 6558
diff changeset
45 e.g., on most systems, errno.ENOENT equals the integer 2.\n\
c91809cd67e5 Added a module docstring (that's all this module needs).
Guido van Rossum <guido@python.org>
parents: 6558
diff changeset
46 \n\
c91809cd67e5 Added a module docstring (that's all this module needs).
Guido van Rossum <guido@python.org>
parents: 6558
diff changeset
47 The dictionary errno.errorcode maps numeric codes to symbol names,\n\
c91809cd67e5 Added a module docstring (that's all this module needs).
Guido van Rossum <guido@python.org>
parents: 6558
diff changeset
48 e.g., errno.errorcode[2] could be the string 'ENOENT'.\n\
c91809cd67e5 Added a module docstring (that's all this module needs).
Guido van Rossum <guido@python.org>
parents: 6558
diff changeset
49 \n\
c91809cd67e5 Added a module docstring (that's all this module needs).
Guido van Rossum <guido@python.org>
parents: 6558
diff changeset
50 Symbols that are not relevant to the underlying system are not defined.\n\
c91809cd67e5 Added a module docstring (that's all this module needs).
Guido van Rossum <guido@python.org>
parents: 6558
diff changeset
51 \n\
c91809cd67e5 Added a module docstring (that's all this module needs).
Guido van Rossum <guido@python.org>
parents: 6558
diff changeset
52 To map error codes to error messages, use the function os.strerror(),\n\
23832
ed1ba37a46b7 Patch #568124: Add doc string macros.
Martin v. Löwis <martin@v.loewis.de>
parents: 21810
diff changeset
53 e.g. os.strerror(2) could return 'No such file or directory'.");
8947
c91809cd67e5 Added a module docstring (that's all this module needs).
Guido van Rossum <guido@python.org>
parents: 6558
diff changeset
54
24471
f66b3a3509c7 Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype
Mark Hammond <mhammond@skippinet.com.au>
parents: 23832
diff changeset
55 PyMODINIT_FUNC
13651
8a063423e0b7 Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)',
Thomas Wouters <thomas@python.org>
parents: 13471
diff changeset
56 initerrno(void)
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
57 {
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
58 PyObject *m, *d, *de;
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
59 m = Py_InitModule3("errno", errno_methods, errno__doc__);
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
60 if (m == NULL)
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
61 return;
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
62 d = PyModule_GetDict(m);
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
63 de = PyDict_New();
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
64 if (!d || !de || PyDict_SetItemString(d, "errorcode", de) < 0)
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
65 return;
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
66
6558
ee307f9845a3 Got rid of the errorstr dictionary, which is redundant now that
Guido van Rossum <guido@python.org>
parents: 6340
diff changeset
67 /* Macro so I don't have to edit each and every line below... */
ee307f9845a3 Got rid of the errorstr dictionary, which is redundant now that
Guido van Rossum <guido@python.org>
parents: 6340
diff changeset
68 #define inscode(d, ds, de, name, code, comment) _inscode(d, de, name, code)
ee307f9845a3 Got rid of the errorstr dictionary, which is redundant now that
Guido van Rossum <guido@python.org>
parents: 6340
diff changeset
69
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
70 /*
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
71 * The names and comments are borrowed from linux/include/errno.h,
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
72 * which should be pretty all-inclusive
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
73 */
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
74
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
75 #ifdef ENODEV
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
76 inscode(d, ds, de, "ENODEV", ENODEV, "No such device");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
77 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
78 #ifdef ENOCSI
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
79 inscode(d, ds, de, "ENOCSI", ENOCSI, "No CSI structure available");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
80 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
81 #ifdef EHOSTUNREACH
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
82 inscode(d, ds, de, "EHOSTUNREACH", EHOSTUNREACH, "No route to host");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
83 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
84 #ifdef WSAEHOSTUNREACH
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
85 inscode(d, ds, de, "EHOSTUNREACH", WSAEHOSTUNREACH, "No route to host");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
86 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
87 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
88 #ifdef ENOMSG
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
89 inscode(d, ds, de, "ENOMSG", ENOMSG, "No message of desired type");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
90 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
91 #ifdef EUCLEAN
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
92 inscode(d, ds, de, "EUCLEAN", EUCLEAN, "Structure needs cleaning");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
93 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
94 #ifdef EL2NSYNC
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
95 inscode(d, ds, de, "EL2NSYNC", EL2NSYNC, "Level 2 not synchronized");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
96 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
97 #ifdef EL2HLT
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
98 inscode(d, ds, de, "EL2HLT", EL2HLT, "Level 2 halted");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
99 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
100 #ifdef ENODATA
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
101 inscode(d, ds, de, "ENODATA", ENODATA, "No data available");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
102 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
103 #ifdef ENOTBLK
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
104 inscode(d, ds, de, "ENOTBLK", ENOTBLK, "Block device required");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
105 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
106 #ifdef ENOSYS
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
107 inscode(d, ds, de, "ENOSYS", ENOSYS, "Function not implemented");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
108 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
109 #ifdef EPIPE
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
110 inscode(d, ds, de, "EPIPE", EPIPE, "Broken pipe");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
111 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
112 #ifdef EINVAL
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
113 inscode(d, ds, de, "EINVAL", EINVAL, "Invalid argument");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
114 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
115 #ifdef WSAEINVAL
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
116 inscode(d, ds, de, "EINVAL", WSAEINVAL, "Invalid argument");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
117 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
118 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
119 #ifdef EOVERFLOW
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
120 inscode(d, ds, de, "EOVERFLOW", EOVERFLOW, "Value too large for defined data type");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
121 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
122 #ifdef EADV
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
123 inscode(d, ds, de, "EADV", EADV, "Advertise error");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
124 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
125 #ifdef EINTR
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
126 inscode(d, ds, de, "EINTR", EINTR, "Interrupted system call");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
127 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
128 #ifdef WSAEINTR
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
129 inscode(d, ds, de, "EINTR", WSAEINTR, "Interrupted system call");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
130 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
131 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
132 #ifdef EUSERS
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
133 inscode(d, ds, de, "EUSERS", EUSERS, "Too many users");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
134 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
135 #ifdef WSAEUSERS
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
136 inscode(d, ds, de, "EUSERS", WSAEUSERS, "Too many users");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
137 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
138 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
139 #ifdef ENOTEMPTY
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
140 inscode(d, ds, de, "ENOTEMPTY", ENOTEMPTY, "Directory not empty");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
141 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
142 #ifdef WSAENOTEMPTY
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
143 inscode(d, ds, de, "ENOTEMPTY", WSAENOTEMPTY, "Directory not empty");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
144 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
145 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
146 #ifdef ENOBUFS
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
147 inscode(d, ds, de, "ENOBUFS", ENOBUFS, "No buffer space available");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
148 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
149 #ifdef WSAENOBUFS
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
150 inscode(d, ds, de, "ENOBUFS", WSAENOBUFS, "No buffer space available");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
151 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
152 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
153 #ifdef EPROTO
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
154 inscode(d, ds, de, "EPROTO", EPROTO, "Protocol error");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
155 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
156 #ifdef EREMOTE
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
157 inscode(d, ds, de, "EREMOTE", EREMOTE, "Object is remote");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
158 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
159 #ifdef WSAEREMOTE
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
160 inscode(d, ds, de, "EREMOTE", WSAEREMOTE, "Object is remote");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
161 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
162 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
163 #ifdef ENAVAIL
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
164 inscode(d, ds, de, "ENAVAIL", ENAVAIL, "No XENIX semaphores available");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
165 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
166 #ifdef ECHILD
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
167 inscode(d, ds, de, "ECHILD", ECHILD, "No child processes");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
168 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
169 #ifdef ELOOP
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
170 inscode(d, ds, de, "ELOOP", ELOOP, "Too many symbolic links encountered");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
171 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
172 #ifdef WSAELOOP
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
173 inscode(d, ds, de, "ELOOP", WSAELOOP, "Too many symbolic links encountered");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
174 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
175 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
176 #ifdef EXDEV
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
177 inscode(d, ds, de, "EXDEV", EXDEV, "Cross-device link");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
178 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
179 #ifdef E2BIG
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
180 inscode(d, ds, de, "E2BIG", E2BIG, "Arg list too long");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
181 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
182 #ifdef ESRCH
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
183 inscode(d, ds, de, "ESRCH", ESRCH, "No such process");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
184 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
185 #ifdef EMSGSIZE
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
186 inscode(d, ds, de, "EMSGSIZE", EMSGSIZE, "Message too long");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
187 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
188 #ifdef WSAEMSGSIZE
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
189 inscode(d, ds, de, "EMSGSIZE", WSAEMSGSIZE, "Message too long");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
190 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
191 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
192 #ifdef EAFNOSUPPORT
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
193 inscode(d, ds, de, "EAFNOSUPPORT", EAFNOSUPPORT, "Address family not supported by protocol");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
194 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
195 #ifdef WSAEAFNOSUPPORT
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
196 inscode(d, ds, de, "EAFNOSUPPORT", WSAEAFNOSUPPORT, "Address family not supported by protocol");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
197 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
198 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
199 #ifdef EBADR
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
200 inscode(d, ds, de, "EBADR", EBADR, "Invalid request descriptor");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
201 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
202 #ifdef EHOSTDOWN
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
203 inscode(d, ds, de, "EHOSTDOWN", EHOSTDOWN, "Host is down");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
204 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
205 #ifdef WSAEHOSTDOWN
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
206 inscode(d, ds, de, "EHOSTDOWN", WSAEHOSTDOWN, "Host is down");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
207 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
208 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
209 #ifdef EPFNOSUPPORT
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
210 inscode(d, ds, de, "EPFNOSUPPORT", EPFNOSUPPORT, "Protocol family not supported");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
211 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
212 #ifdef WSAEPFNOSUPPORT
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
213 inscode(d, ds, de, "EPFNOSUPPORT", WSAEPFNOSUPPORT, "Protocol family not supported");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
214 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
215 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
216 #ifdef ENOPROTOOPT
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
217 inscode(d, ds, de, "ENOPROTOOPT", ENOPROTOOPT, "Protocol not available");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
218 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
219 #ifdef WSAENOPROTOOPT
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
220 inscode(d, ds, de, "ENOPROTOOPT", WSAENOPROTOOPT, "Protocol not available");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
221 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
222 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
223 #ifdef EBUSY
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
224 inscode(d, ds, de, "EBUSY", EBUSY, "Device or resource busy");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
225 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
226 #ifdef EWOULDBLOCK
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
227 inscode(d, ds, de, "EWOULDBLOCK", EWOULDBLOCK, "Operation would block");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
228 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
229 #ifdef WSAEWOULDBLOCK
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
230 inscode(d, ds, de, "EWOULDBLOCK", WSAEWOULDBLOCK, "Operation would block");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
231 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
232 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
233 #ifdef EBADFD
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
234 inscode(d, ds, de, "EBADFD", EBADFD, "File descriptor in bad state");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
235 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
236 #ifdef EDOTDOT
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
237 inscode(d, ds, de, "EDOTDOT", EDOTDOT, "RFS specific error");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
238 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
239 #ifdef EISCONN
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
240 inscode(d, ds, de, "EISCONN", EISCONN, "Transport endpoint is already connected");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
241 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
242 #ifdef WSAEISCONN
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
243 inscode(d, ds, de, "EISCONN", WSAEISCONN, "Transport endpoint is already connected");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
244 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
245 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
246 #ifdef ENOANO
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
247 inscode(d, ds, de, "ENOANO", ENOANO, "No anode");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
248 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
249 #ifdef ESHUTDOWN
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
250 inscode(d, ds, de, "ESHUTDOWN", ESHUTDOWN, "Cannot send after transport endpoint shutdown");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
251 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
252 #ifdef WSAESHUTDOWN
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
253 inscode(d, ds, de, "ESHUTDOWN", WSAESHUTDOWN, "Cannot send after transport endpoint shutdown");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
254 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
255 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
256 #ifdef ECHRNG
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
257 inscode(d, ds, de, "ECHRNG", ECHRNG, "Channel number out of range");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
258 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
259 #ifdef ELIBBAD
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
260 inscode(d, ds, de, "ELIBBAD", ELIBBAD, "Accessing a corrupted shared library");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
261 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
262 #ifdef ENONET
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
263 inscode(d, ds, de, "ENONET", ENONET, "Machine is not on the network");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
264 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
265 #ifdef EBADE
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
266 inscode(d, ds, de, "EBADE", EBADE, "Invalid exchange");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
267 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
268 #ifdef EBADF
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
269 inscode(d, ds, de, "EBADF", EBADF, "Bad file number");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
270 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
271 #ifdef WSAEBADF
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
272 inscode(d, ds, de, "EBADF", WSAEBADF, "Bad file number");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
273 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
274 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
275 #ifdef EMULTIHOP
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
276 inscode(d, ds, de, "EMULTIHOP", EMULTIHOP, "Multihop attempted");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
277 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
278 #ifdef EIO
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
279 inscode(d, ds, de, "EIO", EIO, "I/O error");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
280 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
281 #ifdef EUNATCH
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
282 inscode(d, ds, de, "EUNATCH", EUNATCH, "Protocol driver not attached");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
283 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
284 #ifdef EPROTOTYPE
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
285 inscode(d, ds, de, "EPROTOTYPE", EPROTOTYPE, "Protocol wrong type for socket");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
286 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
287 #ifdef WSAEPROTOTYPE
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
288 inscode(d, ds, de, "EPROTOTYPE", WSAEPROTOTYPE, "Protocol wrong type for socket");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
289 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
290 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
291 #ifdef ENOSPC
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
292 inscode(d, ds, de, "ENOSPC", ENOSPC, "No space left on device");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
293 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
294 #ifdef ENOEXEC
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
295 inscode(d, ds, de, "ENOEXEC", ENOEXEC, "Exec format error");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
296 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
297 #ifdef EALREADY
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
298 inscode(d, ds, de, "EALREADY", EALREADY, "Operation already in progress");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
299 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
300 #ifdef WSAEALREADY
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
301 inscode(d, ds, de, "EALREADY", WSAEALREADY, "Operation already in progress");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
302 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
303 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
304 #ifdef ENETDOWN
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
305 inscode(d, ds, de, "ENETDOWN", ENETDOWN, "Network is down");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
306 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
307 #ifdef WSAENETDOWN
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
308 inscode(d, ds, de, "ENETDOWN", WSAENETDOWN, "Network is down");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
309 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
310 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
311 #ifdef ENOTNAM
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
312 inscode(d, ds, de, "ENOTNAM", ENOTNAM, "Not a XENIX named type file");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
313 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
314 #ifdef EACCES
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
315 inscode(d, ds, de, "EACCES", EACCES, "Permission denied");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
316 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
317 #ifdef WSAEACCES
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
318 inscode(d, ds, de, "EACCES", WSAEACCES, "Permission denied");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
319 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
320 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
321 #ifdef ELNRNG
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
322 inscode(d, ds, de, "ELNRNG", ELNRNG, "Link number out of range");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
323 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
324 #ifdef EILSEQ
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
325 inscode(d, ds, de, "EILSEQ", EILSEQ, "Illegal byte sequence");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
326 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
327 #ifdef ENOTDIR
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
328 inscode(d, ds, de, "ENOTDIR", ENOTDIR, "Not a directory");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
329 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
330 #ifdef ENOTUNIQ
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
331 inscode(d, ds, de, "ENOTUNIQ", ENOTUNIQ, "Name not unique on network");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
332 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
333 #ifdef EPERM
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
334 inscode(d, ds, de, "EPERM", EPERM, "Operation not permitted");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
335 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
336 #ifdef EDOM
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
337 inscode(d, ds, de, "EDOM", EDOM, "Math argument out of domain of func");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
338 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
339 #ifdef EXFULL
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
340 inscode(d, ds, de, "EXFULL", EXFULL, "Exchange full");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
341 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
342 #ifdef ECONNREFUSED
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
343 inscode(d, ds, de, "ECONNREFUSED", ECONNREFUSED, "Connection refused");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
344 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
345 #ifdef WSAECONNREFUSED
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
346 inscode(d, ds, de, "ECONNREFUSED", WSAECONNREFUSED, "Connection refused");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
347 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
348 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
349 #ifdef EISDIR
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
350 inscode(d, ds, de, "EISDIR", EISDIR, "Is a directory");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
351 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
352 #ifdef EPROTONOSUPPORT
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
353 inscode(d, ds, de, "EPROTONOSUPPORT", EPROTONOSUPPORT, "Protocol not supported");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
354 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
355 #ifdef WSAEPROTONOSUPPORT
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
356 inscode(d, ds, de, "EPROTONOSUPPORT", WSAEPROTONOSUPPORT, "Protocol not supported");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
357 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
358 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
359 #ifdef EROFS
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
360 inscode(d, ds, de, "EROFS", EROFS, "Read-only file system");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
361 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
362 #ifdef EADDRNOTAVAIL
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
363 inscode(d, ds, de, "EADDRNOTAVAIL", EADDRNOTAVAIL, "Cannot assign requested address");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
364 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
365 #ifdef WSAEADDRNOTAVAIL
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
366 inscode(d, ds, de, "EADDRNOTAVAIL", WSAEADDRNOTAVAIL, "Cannot assign requested address");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
367 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
368 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
369 #ifdef EIDRM
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
370 inscode(d, ds, de, "EIDRM", EIDRM, "Identifier removed");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
371 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
372 #ifdef ECOMM
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
373 inscode(d, ds, de, "ECOMM", ECOMM, "Communication error on send");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
374 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
375 #ifdef ESRMNT
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
376 inscode(d, ds, de, "ESRMNT", ESRMNT, "Srmount error");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
377 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
378 #ifdef EREMOTEIO
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
379 inscode(d, ds, de, "EREMOTEIO", EREMOTEIO, "Remote I/O error");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
380 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
381 #ifdef EL3RST
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
382 inscode(d, ds, de, "EL3RST", EL3RST, "Level 3 reset");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
383 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
384 #ifdef EBADMSG
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
385 inscode(d, ds, de, "EBADMSG", EBADMSG, "Not a data message");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
386 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
387 #ifdef ENFILE
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
388 inscode(d, ds, de, "ENFILE", ENFILE, "File table overflow");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
389 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
390 #ifdef ELIBMAX
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
391 inscode(d, ds, de, "ELIBMAX", ELIBMAX, "Attempting to link in too many shared libraries");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
392 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
393 #ifdef ESPIPE
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
394 inscode(d, ds, de, "ESPIPE", ESPIPE, "Illegal seek");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
395 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
396 #ifdef ENOLINK
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
397 inscode(d, ds, de, "ENOLINK", ENOLINK, "Link has been severed");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
398 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
399 #ifdef ENETRESET
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
400 inscode(d, ds, de, "ENETRESET", ENETRESET, "Network dropped connection because of reset");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
401 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
402 #ifdef WSAENETRESET
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
403 inscode(d, ds, de, "ENETRESET", WSAENETRESET, "Network dropped connection because of reset");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
404 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
405 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
406 #ifdef ETIMEDOUT
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
407 inscode(d, ds, de, "ETIMEDOUT", ETIMEDOUT, "Connection timed out");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
408 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
409 #ifdef WSAETIMEDOUT
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
410 inscode(d, ds, de, "ETIMEDOUT", WSAETIMEDOUT, "Connection timed out");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
411 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
412 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
413 #ifdef ENOENT
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
414 inscode(d, ds, de, "ENOENT", ENOENT, "No such file or directory");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
415 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
416 #ifdef EEXIST
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
417 inscode(d, ds, de, "EEXIST", EEXIST, "File exists");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
418 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
419 #ifdef EDQUOT
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
420 inscode(d, ds, de, "EDQUOT", EDQUOT, "Quota exceeded");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
421 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
422 #ifdef WSAEDQUOT
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
423 inscode(d, ds, de, "EDQUOT", WSAEDQUOT, "Quota exceeded");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
424 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
425 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
426 #ifdef ENOSTR
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
427 inscode(d, ds, de, "ENOSTR", ENOSTR, "Device not a stream");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
428 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
429 #ifdef EBADSLT
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
430 inscode(d, ds, de, "EBADSLT", EBADSLT, "Invalid slot");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
431 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
432 #ifdef EBADRQC
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
433 inscode(d, ds, de, "EBADRQC", EBADRQC, "Invalid request code");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
434 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
435 #ifdef ELIBACC
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
436 inscode(d, ds, de, "ELIBACC", ELIBACC, "Can not access a needed shared library");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
437 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
438 #ifdef EFAULT
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
439 inscode(d, ds, de, "EFAULT", EFAULT, "Bad address");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
440 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
441 #ifdef WSAEFAULT
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
442 inscode(d, ds, de, "EFAULT", WSAEFAULT, "Bad address");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
443 #endif
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
444 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
445 #ifdef EFBIG
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
446 inscode(d, ds, de, "EFBIG", EFBIG, "File too large");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
447 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
448 #ifdef EDEADLK
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
449 inscode(d, ds, de, "EDEADLK", EDEADLK, "Resource deadlock would occur");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
450 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
451 #ifdef ENOTCONN
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
452 inscode(d, ds, de, "ENOTCONN", ENOTCONN, "Transport endpoint is not connected");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
453 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
454 #ifdef WSAENOTCONN
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
455 inscode(d, ds, de, "ENOTCONN", WSAENOTCONN, "Transport endpoint is not connected");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
456 #endif
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
457 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
458 #ifdef EDESTADDRREQ
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
459 inscode(d, ds, de, "EDESTADDRREQ", EDESTADDRREQ, "Destination address required");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
460 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
461 #ifdef WSAEDESTADDRREQ
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
462 inscode(d, ds, de, "EDESTADDRREQ", WSAEDESTADDRREQ, "Destination address required");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
463 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
464 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
465 #ifdef ELIBSCN
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
466 inscode(d, ds, de, "ELIBSCN", ELIBSCN, ".lib section in a.out corrupted");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
467 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
468 #ifdef ENOLCK
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
469 inscode(d, ds, de, "ENOLCK", ENOLCK, "No record locks available");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
470 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
471 #ifdef EISNAM
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
472 inscode(d, ds, de, "EISNAM", EISNAM, "Is a named type file");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
473 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
474 #ifdef ECONNABORTED
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
475 inscode(d, ds, de, "ECONNABORTED", ECONNABORTED, "Software caused connection abort");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
476 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
477 #ifdef WSAECONNABORTED
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
478 inscode(d, ds, de, "ECONNABORTED", WSAECONNABORTED, "Software caused connection abort");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
479 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
480 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
481 #ifdef ENETUNREACH
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
482 inscode(d, ds, de, "ENETUNREACH", ENETUNREACH, "Network is unreachable");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
483 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
484 #ifdef WSAENETUNREACH
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
485 inscode(d, ds, de, "ENETUNREACH", WSAENETUNREACH, "Network is unreachable");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
486 #endif
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
487 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
488 #ifdef ESTALE
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
489 inscode(d, ds, de, "ESTALE", ESTALE, "Stale NFS file handle");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
490 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
491 #ifdef WSAESTALE
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
492 inscode(d, ds, de, "ESTALE", WSAESTALE, "Stale NFS file handle");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
493 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
494 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
495 #ifdef ENOSR
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
496 inscode(d, ds, de, "ENOSR", ENOSR, "Out of streams resources");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
497 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
498 #ifdef ENOMEM
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
499 inscode(d, ds, de, "ENOMEM", ENOMEM, "Out of memory");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
500 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
501 #ifdef ENOTSOCK
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
502 inscode(d, ds, de, "ENOTSOCK", ENOTSOCK, "Socket operation on non-socket");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
503 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
504 #ifdef WSAENOTSOCK
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
505 inscode(d, ds, de, "ENOTSOCK", WSAENOTSOCK, "Socket operation on non-socket");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
506 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
507 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
508 #ifdef ESTRPIPE
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
509 inscode(d, ds, de, "ESTRPIPE", ESTRPIPE, "Streams pipe error");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
510 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
511 #ifdef EMLINK
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
512 inscode(d, ds, de, "EMLINK", EMLINK, "Too many links");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
513 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
514 #ifdef ERANGE
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
515 inscode(d, ds, de, "ERANGE", ERANGE, "Math result not representable");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
516 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
517 #ifdef ELIBEXEC
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
518 inscode(d, ds, de, "ELIBEXEC", ELIBEXEC, "Cannot exec a shared library directly");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
519 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
520 #ifdef EL3HLT
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
521 inscode(d, ds, de, "EL3HLT", EL3HLT, "Level 3 halted");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
522 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
523 #ifdef ECONNRESET
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
524 inscode(d, ds, de, "ECONNRESET", ECONNRESET, "Connection reset by peer");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
525 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
526 #ifdef WSAECONNRESET
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
527 inscode(d, ds, de, "ECONNRESET", WSAECONNRESET, "Connection reset by peer");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
528 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
529 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
530 #ifdef EADDRINUSE
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
531 inscode(d, ds, de, "EADDRINUSE", EADDRINUSE, "Address already in use");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
532 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
533 #ifdef WSAEADDRINUSE
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
534 inscode(d, ds, de, "EADDRINUSE", WSAEADDRINUSE, "Address already in use");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
535 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
536 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
537 #ifdef EOPNOTSUPP
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
538 inscode(d, ds, de, "EOPNOTSUPP", EOPNOTSUPP, "Operation not supported on transport endpoint");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
539 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
540 #ifdef WSAEOPNOTSUPP
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
541 inscode(d, ds, de, "EOPNOTSUPP", WSAEOPNOTSUPP, "Operation not supported on transport endpoint");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
542 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
543 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
544 #ifdef EREMCHG
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
545 inscode(d, ds, de, "EREMCHG", EREMCHG, "Remote address changed");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
546 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
547 #ifdef EAGAIN
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
548 inscode(d, ds, de, "EAGAIN", EAGAIN, "Try again");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
549 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
550 #ifdef ENAMETOOLONG
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
551 inscode(d, ds, de, "ENAMETOOLONG", ENAMETOOLONG, "File name too long");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
552 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
553 #ifdef WSAENAMETOOLONG
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
554 inscode(d, ds, de, "ENAMETOOLONG", WSAENAMETOOLONG, "File name too long");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
555 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
556 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
557 #ifdef ENOTTY
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
558 inscode(d, ds, de, "ENOTTY", ENOTTY, "Not a typewriter");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
559 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
560 #ifdef ERESTART
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
561 inscode(d, ds, de, "ERESTART", ERESTART, "Interrupted system call should be restarted");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
562 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
563 #ifdef ESOCKTNOSUPPORT
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
564 inscode(d, ds, de, "ESOCKTNOSUPPORT", ESOCKTNOSUPPORT, "Socket type not supported");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
565 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
566 #ifdef WSAESOCKTNOSUPPORT
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
567 inscode(d, ds, de, "ESOCKTNOSUPPORT", WSAESOCKTNOSUPPORT, "Socket type not supported");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
568 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
569 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
570 #ifdef ETIME
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
571 inscode(d, ds, de, "ETIME", ETIME, "Timer expired");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
572 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
573 #ifdef EBFONT
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
574 inscode(d, ds, de, "EBFONT", EBFONT, "Bad font file format");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
575 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
576 #ifdef EDEADLOCK
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
577 inscode(d, ds, de, "EDEADLOCK", EDEADLOCK, "Error EDEADLOCK");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
578 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
579 #ifdef ETOOMANYREFS
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
580 inscode(d, ds, de, "ETOOMANYREFS", ETOOMANYREFS, "Too many references: cannot splice");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
581 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
582 #ifdef WSAETOOMANYREFS
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
583 inscode(d, ds, de, "ETOOMANYREFS", WSAETOOMANYREFS, "Too many references: cannot splice");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
584 #endif
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
585 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
586 #ifdef EMFILE
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
587 inscode(d, ds, de, "EMFILE", EMFILE, "Too many open files");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
588 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
589 #ifdef WSAEMFILE
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
590 inscode(d, ds, de, "EMFILE", WSAEMFILE, "Too many open files");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
591 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
592 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
593 #ifdef ETXTBSY
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
594 inscode(d, ds, de, "ETXTBSY", ETXTBSY, "Text file busy");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
595 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
596 #ifdef EINPROGRESS
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
597 inscode(d, ds, de, "EINPROGRESS", EINPROGRESS, "Operation now in progress");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
598 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
599 #ifdef WSAEINPROGRESS
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
600 inscode(d, ds, de, "EINPROGRESS", WSAEINPROGRESS, "Operation now in progress");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
601 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
602 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
603 #ifdef ENXIO
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
604 inscode(d, ds, de, "ENXIO", ENXIO, "No such device or address");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
605 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
606 #ifdef ENOPKG
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
607 inscode(d, ds, de, "ENOPKG", ENOPKG, "Package not installed");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
608 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
609 #ifdef WSASY
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
610 inscode(d, ds, de, "WSASY", WSASY, "Error WSASY");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
611 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
612 #ifdef WSAEHOSTDOWN
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
613 inscode(d, ds, de, "WSAEHOSTDOWN", WSAEHOSTDOWN, "Host is down");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
614 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
615 #ifdef WSAENETDOWN
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
616 inscode(d, ds, de, "WSAENETDOWN", WSAENETDOWN, "Network is down");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
617 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
618 #ifdef WSAENOTSOCK
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
619 inscode(d, ds, de, "WSAENOTSOCK", WSAENOTSOCK, "Socket operation on non-socket");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
620 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
621 #ifdef WSAEHOSTUNREACH
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
622 inscode(d, ds, de, "WSAEHOSTUNREACH", WSAEHOSTUNREACH, "No route to host");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
623 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
624 #ifdef WSAELOOP
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
625 inscode(d, ds, de, "WSAELOOP", WSAELOOP, "Too many symbolic links encountered");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
626 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
627 #ifdef WSAEMFILE
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
628 inscode(d, ds, de, "WSAEMFILE", WSAEMFILE, "Too many open files");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
629 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
630 #ifdef WSAESTALE
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
631 inscode(d, ds, de, "WSAESTALE", WSAESTALE, "Stale NFS file handle");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
632 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
633 #ifdef WSAVERNOTSUPPORTED
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
634 inscode(d, ds, de, "WSAVERNOTSUPPORTED", WSAVERNOTSUPPORTED, "Error WSAVERNOTSUPPORTED");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
635 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
636 #ifdef WSAENETUNREACH
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
637 inscode(d, ds, de, "WSAENETUNREACH", WSAENETUNREACH, "Network is unreachable");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
638 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
639 #ifdef WSAEPROCLIM
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
640 inscode(d, ds, de, "WSAEPROCLIM", WSAEPROCLIM, "Error WSAEPROCLIM");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
641 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
642 #ifdef WSAEFAULT
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
643 inscode(d, ds, de, "WSAEFAULT", WSAEFAULT, "Bad address");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
644 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
645 #ifdef WSANOTINITIALISED
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
646 inscode(d, ds, de, "WSANOTINITIALISED", WSANOTINITIALISED, "Error WSANOTINITIALISED");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
647 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
648 #ifdef WSAEUSERS
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
649 inscode(d, ds, de, "WSAEUSERS", WSAEUSERS, "Too many users");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
650 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
651 #ifdef WSAMAKEASYNCREPL
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
652 inscode(d, ds, de, "WSAMAKEASYNCREPL", WSAMAKEASYNCREPL, "Error WSAMAKEASYNCREPL");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
653 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
654 #ifdef WSAENOPROTOOPT
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
655 inscode(d, ds, de, "WSAENOPROTOOPT", WSAENOPROTOOPT, "Protocol not available");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
656 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
657 #ifdef WSAECONNABORTED
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
658 inscode(d, ds, de, "WSAECONNABORTED", WSAECONNABORTED, "Software caused connection abort");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
659 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
660 #ifdef WSAENAMETOOLONG
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
661 inscode(d, ds, de, "WSAENAMETOOLONG", WSAENAMETOOLONG, "File name too long");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
662 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
663 #ifdef WSAENOTEMPTY
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
664 inscode(d, ds, de, "WSAENOTEMPTY", WSAENOTEMPTY, "Directory not empty");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
665 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
666 #ifdef WSAESHUTDOWN
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
667 inscode(d, ds, de, "WSAESHUTDOWN", WSAESHUTDOWN, "Cannot send after transport endpoint shutdown");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
668 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
669 #ifdef WSAEAFNOSUPPORT
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
670 inscode(d, ds, de, "WSAEAFNOSUPPORT", WSAEAFNOSUPPORT, "Address family not supported by protocol");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
671 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
672 #ifdef WSAETOOMANYREFS
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
673 inscode(d, ds, de, "WSAETOOMANYREFS", WSAETOOMANYREFS, "Too many references: cannot splice");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
674 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
675 #ifdef WSAEACCES
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
676 inscode(d, ds, de, "WSAEACCES", WSAEACCES, "Permission denied");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
677 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
678 #ifdef WSATR
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
679 inscode(d, ds, de, "WSATR", WSATR, "Error WSATR");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
680 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
681 #ifdef WSABASEERR
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
682 inscode(d, ds, de, "WSABASEERR", WSABASEERR, "Error WSABASEERR");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
683 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
684 #ifdef WSADESCRIPTIO
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
685 inscode(d, ds, de, "WSADESCRIPTIO", WSADESCRIPTIO, "Error WSADESCRIPTIO");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
686 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
687 #ifdef WSAEMSGSIZE
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
688 inscode(d, ds, de, "WSAEMSGSIZE", WSAEMSGSIZE, "Message too long");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
689 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
690 #ifdef WSAEBADF
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
691 inscode(d, ds, de, "WSAEBADF", WSAEBADF, "Bad file number");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
692 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
693 #ifdef WSAECONNRESET
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
694 inscode(d, ds, de, "WSAECONNRESET", WSAECONNRESET, "Connection reset by peer");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
695 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
696 #ifdef WSAGETSELECTERRO
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
697 inscode(d, ds, de, "WSAGETSELECTERRO", WSAGETSELECTERRO, "Error WSAGETSELECTERRO");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
698 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
699 #ifdef WSAETIMEDOUT
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
700 inscode(d, ds, de, "WSAETIMEDOUT", WSAETIMEDOUT, "Connection timed out");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
701 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
702 #ifdef WSAENOBUFS
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
703 inscode(d, ds, de, "WSAENOBUFS", WSAENOBUFS, "No buffer space available");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
704 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
705 #ifdef WSAEDISCON
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
706 inscode(d, ds, de, "WSAEDISCON", WSAEDISCON, "Error WSAEDISCON");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
707 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
708 #ifdef WSAEINTR
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
709 inscode(d, ds, de, "WSAEINTR", WSAEINTR, "Interrupted system call");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
710 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
711 #ifdef WSAEPROTOTYPE
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
712 inscode(d, ds, de, "WSAEPROTOTYPE", WSAEPROTOTYPE, "Protocol wrong type for socket");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
713 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
714 #ifdef WSAHOS
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
715 inscode(d, ds, de, "WSAHOS", WSAHOS, "Error WSAHOS");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
716 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
717 #ifdef WSAEADDRINUSE
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
718 inscode(d, ds, de, "WSAEADDRINUSE", WSAEADDRINUSE, "Address already in use");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
719 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
720 #ifdef WSAEADDRNOTAVAIL
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
721 inscode(d, ds, de, "WSAEADDRNOTAVAIL", WSAEADDRNOTAVAIL, "Cannot assign requested address");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
722 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
723 #ifdef WSAEALREADY
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
724 inscode(d, ds, de, "WSAEALREADY", WSAEALREADY, "Operation already in progress");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
725 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
726 #ifdef WSAEPROTONOSUPPORT
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
727 inscode(d, ds, de, "WSAEPROTONOSUPPORT", WSAEPROTONOSUPPORT, "Protocol not supported");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
728 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
729 #ifdef WSASYSNOTREADY
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
730 inscode(d, ds, de, "WSASYSNOTREADY", WSASYSNOTREADY, "Error WSASYSNOTREADY");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
731 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
732 #ifdef WSAEWOULDBLOCK
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
733 inscode(d, ds, de, "WSAEWOULDBLOCK", WSAEWOULDBLOCK, "Operation would block");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
734 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
735 #ifdef WSAEPFNOSUPPORT
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
736 inscode(d, ds, de, "WSAEPFNOSUPPORT", WSAEPFNOSUPPORT, "Protocol family not supported");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
737 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
738 #ifdef WSAEOPNOTSUPP
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
739 inscode(d, ds, de, "WSAEOPNOTSUPP", WSAEOPNOTSUPP, "Operation not supported on transport endpoint");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
740 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
741 #ifdef WSAEISCONN
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
742 inscode(d, ds, de, "WSAEISCONN", WSAEISCONN, "Transport endpoint is already connected");
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
743 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
744 #ifdef WSAEDQUOT
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
745 inscode(d, ds, de, "WSAEDQUOT", WSAEDQUOT, "Quota exceeded");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
746 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
747 #ifdef WSAENOTCONN
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
748 inscode(d, ds, de, "WSAENOTCONN", WSAENOTCONN, "Transport endpoint is not connected");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
749 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
750 #ifdef WSAEREMOTE
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
751 inscode(d, ds, de, "WSAEREMOTE", WSAEREMOTE, "Object is remote");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
752 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
753 #ifdef WSAEINVAL
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
754 inscode(d, ds, de, "WSAEINVAL", WSAEINVAL, "Invalid argument");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
755 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
756 #ifdef WSAEINPROGRESS
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
757 inscode(d, ds, de, "WSAEINPROGRESS", WSAEINPROGRESS, "Operation now in progress");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
758 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
759 #ifdef WSAGETSELECTEVEN
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
760 inscode(d, ds, de, "WSAGETSELECTEVEN", WSAGETSELECTEVEN, "Error WSAGETSELECTEVEN");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
761 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
762 #ifdef WSAESOCKTNOSUPPORT
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
763 inscode(d, ds, de, "WSAESOCKTNOSUPPORT", WSAESOCKTNOSUPPORT, "Socket type not supported");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
764 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
765 #ifdef WSAGETASYNCERRO
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
766 inscode(d, ds, de, "WSAGETASYNCERRO", WSAGETASYNCERRO, "Error WSAGETASYNCERRO");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
767 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
768 #ifdef WSAMAKESELECTREPL
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
769 inscode(d, ds, de, "WSAMAKESELECTREPL", WSAMAKESELECTREPL, "Error WSAMAKESELECTREPL");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
770 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
771 #ifdef WSAGETASYNCBUFLE
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
772 inscode(d, ds, de, "WSAGETASYNCBUFLE", WSAGETASYNCBUFLE, "Error WSAGETASYNCBUFLE");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
773 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
774 #ifdef WSAEDESTADDRREQ
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
775 inscode(d, ds, de, "WSAEDESTADDRREQ", WSAEDESTADDRREQ, "Destination address required");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
776 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
777 #ifdef WSAECONNREFUSED
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
778 inscode(d, ds, de, "WSAECONNREFUSED", WSAECONNREFUSED, "Connection refused");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
779 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
780 #ifdef WSAENETRESET
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
781 inscode(d, ds, de, "WSAENETRESET", WSAENETRESET, "Network dropped connection because of reset");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
782 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
783 #ifdef WSAN
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
784 inscode(d, ds, de, "WSAN", WSAN, "Error WSAN");
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
785 #endif
76869
e12efebc3ba6 Issue #14662: Prevent shutil failures on OS X when destination does not
Ned Deily <nad@acm.org>
parents: 61463
diff changeset
786 #ifdef ENOTSUP
e12efebc3ba6 Issue #14662: Prevent shutil failures on OS X when destination does not
Ned Deily <nad@acm.org>
parents: 61463
diff changeset
787 inscode(d, ds, de, "ENOTSUP", ENOTSUP, "Operation not supported");
e12efebc3ba6 Issue #14662: Prevent shutil failures on OS X when destination does not
Ned Deily <nad@acm.org>
parents: 61463
diff changeset
788 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
789
61463
fd25030223b0 Untabify C files. Will watch buildbots.
Antoine Pitrou <solipsis@pitrou.net>
parents: 47666
diff changeset
790 Py_DECREF(de);
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
791 }