annotate Modules/errnomodule.c @ 79691:05c8928362ee

Merge __next__ method link fixes with 3.3.
author Ezio Melotti <ezio.melotti@gmail.com>
date Fri, 12 Oct 2012 13:46:37 +0300
parents 38d7d944370e
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
44469
5d7d2af59afe Some VS 6.0 compatibility fixes from Hirokazu Yamamoto which are also useful for later versions of MSVC. VS6 claims that fortran is a reserved word
Christian Heimes <christian@cheimes.de>
parents: 44099
diff changeset
8 #define WIN32_LEAN_AND_MEAN
47667
b1f4ea4eb555 Merged revisions 64214 via svnmerge from
Amaury Forgeot d'Arc <amauryfa@gmail.com>
parents: 47580
diff changeset
9 #include <windows.h>
76898
38d7d944370e Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents: 69885
diff changeset
10 /* The following constants were added to errno.h in VS2010 but have
38d7d944370e Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents: 69885
diff changeset
11 preferred WSA equivalents. */
38d7d944370e Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents: 69885
diff changeset
12 #undef EADDRINUSE
38d7d944370e Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents: 69885
diff changeset
13 #undef EADDRNOTAVAIL
38d7d944370e Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents: 69885
diff changeset
14 #undef EAFNOSUPPORT
38d7d944370e Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents: 69885
diff changeset
15 #undef EALREADY
38d7d944370e Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents: 69885
diff changeset
16 #undef ECONNABORTED
38d7d944370e Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents: 69885
diff changeset
17 #undef ECONNREFUSED
38d7d944370e Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents: 69885
diff changeset
18 #undef ECONNRESET
38d7d944370e Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents: 69885
diff changeset
19 #undef EDESTADDRREQ
38d7d944370e Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents: 69885
diff changeset
20 #undef EHOSTUNREACH
38d7d944370e Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents: 69885
diff changeset
21 #undef EINPROGRESS
38d7d944370e Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents: 69885
diff changeset
22 #undef EISCONN
38d7d944370e Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents: 69885
diff changeset
23 #undef ELOOP
38d7d944370e Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents: 69885
diff changeset
24 #undef EMSGSIZE
38d7d944370e Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents: 69885
diff changeset
25 #undef ENETDOWN
38d7d944370e Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents: 69885
diff changeset
26 #undef ENETRESET
38d7d944370e Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents: 69885
diff changeset
27 #undef ENETUNREACH
38d7d944370e Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents: 69885
diff changeset
28 #undef ENOBUFS
38d7d944370e Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents: 69885
diff changeset
29 #undef ENOPROTOOPT
38d7d944370e Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents: 69885
diff changeset
30 #undef ENOTCONN
38d7d944370e Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents: 69885
diff changeset
31 #undef ENOTSOCK
38d7d944370e Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents: 69885
diff changeset
32 #undef EOPNOTSUPP
38d7d944370e Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents: 69885
diff changeset
33 #undef EPROTONOSUPPORT
38d7d944370e Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents: 69885
diff changeset
34 #undef EPROTOTYPE
38d7d944370e Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents: 69885
diff changeset
35 #undef ETIMEDOUT
38d7d944370e Fix #13210. Port the Windows build from VS2008 to VS2010.
Brian Curtin <brian@python.org>
parents: 69885
diff changeset
36 #undef EWOULDBLOCK
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
37 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
38
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 * Pull in the system error definitions
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
41 */
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
42
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
43 static PyMethodDef errno_methods[] = {
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
44 {NULL, NULL}
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
45 };
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
46
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
47 /* Helper function doing the dictionary inserting */
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
48
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
49 static void
42759
273ace359e55 Use unicode for the errno.errorcode names
Neal Norwitz <nnorwitz@gmail.com>
parents: 36324
diff changeset
50 _inscode(PyObject *d, PyObject *de, const char *name, int code)
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
51 {
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
52 PyObject *u = PyUnicode_FromString(name);
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
53 PyObject *v = PyLong_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
54
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
55 /* Don't bother checking for errors; they'll be caught at the end
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
56 * of the module initialization function by the caller of
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
57 * initerrno().
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
58 */
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
59 if (u && v) {
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
60 /* insert in modules dict */
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
61 PyDict_SetItem(d, u, v);
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
62 /* insert in errorcode dict */
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
63 PyDict_SetItem(de, v, u);
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
64 }
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
65 Py_XDECREF(u);
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
66 Py_XDECREF(v);
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
67 }
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
68
23832
ed1ba37a46b7 Patch #568124: Add doc string macros.
Martin v. Löwis <martin@v.loewis.de>
parents: 21810
diff changeset
69 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
70 "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
71 \n\
c91809cd67e5 Added a module docstring (that's all this module needs).
Guido van Rossum <guido@python.org>
parents: 6558
diff changeset
72 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
73 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
74 \n\
c91809cd67e5 Added a module docstring (that's all this module needs).
Guido van Rossum <guido@python.org>
parents: 6558
diff changeset
75 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
76 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
77 \n\
c91809cd67e5 Added a module docstring (that's all this module needs).
Guido van Rossum <guido@python.org>
parents: 6558
diff changeset
78 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
79 \n\
c91809cd67e5 Added a module docstring (that's all this module needs).
Guido van Rossum <guido@python.org>
parents: 6558
diff changeset
80 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
81 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
82
47580
94f64f11fdd0 Implement PEP 3121: new module initialization and finalization API.
Martin v. Löwis <martin@v.loewis.de>
parents: 44469
diff changeset
83 static struct PyModuleDef errnomodule = {
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
84 PyModuleDef_HEAD_INIT,
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
85 "errno",
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
86 errno__doc__,
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
87 -1,
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
88 errno_methods,
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
89 NULL,
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
90 NULL,
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
91 NULL,
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
92 NULL
47580
94f64f11fdd0 Implement PEP 3121: new module initialization and finalization API.
Martin v. Löwis <martin@v.loewis.de>
parents: 44469
diff changeset
93 };
94f64f11fdd0 Implement PEP 3121: new module initialization and finalization API.
Martin v. Löwis <martin@v.loewis.de>
parents: 44469
diff changeset
94
24471
f66b3a3509c7 Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype
Mark Hammond <mhammond@skippinet.com.au>
parents: 23832
diff changeset
95 PyMODINIT_FUNC
47580
94f64f11fdd0 Implement PEP 3121: new module initialization and finalization API.
Martin v. Löwis <martin@v.loewis.de>
parents: 44469
diff changeset
96 PyInit_errno(void)
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
97 {
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
98 PyObject *m, *d, *de;
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
99 m = PyModule_Create(&errnomodule);
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
100 if (m == NULL)
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
101 return NULL;
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
102 d = PyModule_GetDict(m);
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
103 de = PyDict_New();
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
104 if (!d || !de || PyDict_SetItemString(d, "errorcode", de) < 0)
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
105 return NULL;
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
106
6558
ee307f9845a3 Got rid of the errorstr dictionary, which is redundant now that
Guido van Rossum <guido@python.org>
parents: 6340
diff changeset
107 /* 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
108 #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
109
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
110 /*
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
111 * The names and comments are borrowed from linux/include/errno.h,
64148
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
112 * which should be pretty all-inclusive. However, the Solaris specific
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
113 * names and comments are borrowed from sys/errno.h in Solaris.
69885
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
114 * MacOSX specific names and comments are borrowed from sys/errno.h in
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
115 * MacOSX.
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
116 */
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
117
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
118 #ifdef ENODEV
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
119 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
120 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
121 #ifdef ENOCSI
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
122 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
123 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
124 #ifdef EHOSTUNREACH
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
125 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
126 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
127 #ifdef WSAEHOSTUNREACH
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
128 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
129 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
130 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
131 #ifdef ENOMSG
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
132 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
133 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
134 #ifdef EUCLEAN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
135 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
136 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
137 #ifdef EL2NSYNC
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
138 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
139 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
140 #ifdef EL2HLT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
141 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
142 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
143 #ifdef ENODATA
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
144 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
145 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
146 #ifdef ENOTBLK
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
147 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
148 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
149 #ifdef ENOSYS
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
150 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
151 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
152 #ifdef EPIPE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
153 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
154 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
155 #ifdef EINVAL
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
156 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
157 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
158 #ifdef WSAEINVAL
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
159 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
160 #endif
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 #ifdef EOVERFLOW
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
163 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
164 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
165 #ifdef EADV
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
166 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
167 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
168 #ifdef EINTR
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
169 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
170 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
171 #ifdef WSAEINTR
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
172 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
173 #endif
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 #ifdef EUSERS
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
176 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
177 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
178 #ifdef WSAEUSERS
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
179 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
180 #endif
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 ENOTEMPTY
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
183 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
184 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
185 #ifdef WSAENOTEMPTY
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
186 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
187 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
188 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
189 #ifdef ENOBUFS
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
190 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
191 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
192 #ifdef WSAENOBUFS
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
193 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
194 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
195 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
196 #ifdef EPROTO
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
197 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
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 EREMOTE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
200 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
201 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
202 #ifdef WSAEREMOTE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
203 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
204 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
205 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
206 #ifdef ENAVAIL
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
207 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
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 ECHILD
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
210 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
211 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
212 #ifdef ELOOP
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
213 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
214 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
215 #ifdef WSAELOOP
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
216 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
217 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
218 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
219 #ifdef EXDEV
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
220 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
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 #ifdef E2BIG
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
223 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
224 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
225 #ifdef ESRCH
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
226 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
227 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
228 #ifdef EMSGSIZE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
229 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
230 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
231 #ifdef WSAEMSGSIZE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
232 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
233 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
234 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
235 #ifdef EAFNOSUPPORT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
236 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
237 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
238 #ifdef WSAEAFNOSUPPORT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
239 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
240 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
241 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
242 #ifdef EBADR
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
243 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
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 #ifdef EHOSTDOWN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
246 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
247 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
248 #ifdef WSAEHOSTDOWN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
249 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
250 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
251 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
252 #ifdef EPFNOSUPPORT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
253 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
254 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
255 #ifdef WSAEPFNOSUPPORT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
256 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
257 #endif
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 ENOPROTOOPT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
260 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
261 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
262 #ifdef WSAENOPROTOOPT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
263 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
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 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
266 #ifdef EBUSY
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
267 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
268 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
269 #ifdef EWOULDBLOCK
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
270 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
271 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
272 #ifdef WSAEWOULDBLOCK
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
273 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
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 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
276 #ifdef EBADFD
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
277 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
278 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
279 #ifdef EDOTDOT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
280 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
281 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
282 #ifdef EISCONN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
283 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
284 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
285 #ifdef WSAEISCONN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
286 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
287 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
288 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
289 #ifdef ENOANO
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
290 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
291 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
292 #ifdef ESHUTDOWN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
293 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
294 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
295 #ifdef WSAESHUTDOWN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
296 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
297 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
298 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
299 #ifdef ECHRNG
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
300 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
301 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
302 #ifdef ELIBBAD
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
303 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
304 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
305 #ifdef ENONET
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
306 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
307 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
308 #ifdef EBADE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
309 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
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 EBADF
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
312 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
313 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
314 #ifdef WSAEBADF
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
315 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
316 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
317 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
318 #ifdef EMULTIHOP
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
319 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
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 EIO
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
322 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
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 EUNATCH
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
325 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
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 EPROTOTYPE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
328 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
329 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
330 #ifdef WSAEPROTOTYPE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
331 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
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 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
334 #ifdef ENOSPC
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
335 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
336 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
337 #ifdef ENOEXEC
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
338 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
339 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
340 #ifdef EALREADY
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
341 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
342 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
343 #ifdef WSAEALREADY
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
344 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
345 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
346 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
347 #ifdef ENETDOWN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
348 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
349 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
350 #ifdef WSAENETDOWN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
351 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
352 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
353 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
354 #ifdef ENOTNAM
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
355 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
356 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
357 #ifdef EACCES
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
358 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
359 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
360 #ifdef WSAEACCES
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
361 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
362 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
363 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
364 #ifdef ELNRNG
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
365 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
366 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
367 #ifdef EILSEQ
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
368 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
369 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
370 #ifdef ENOTDIR
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
371 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
372 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
373 #ifdef ENOTUNIQ
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
374 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
375 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
376 #ifdef EPERM
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
377 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
378 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
379 #ifdef EDOM
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
380 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
381 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
382 #ifdef EXFULL
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
383 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
384 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
385 #ifdef ECONNREFUSED
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
386 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
387 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
388 #ifdef WSAECONNREFUSED
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
389 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
390 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
391 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
392 #ifdef EISDIR
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
393 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
394 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
395 #ifdef EPROTONOSUPPORT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
396 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
397 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
398 #ifdef WSAEPROTONOSUPPORT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
399 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
400 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
401 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
402 #ifdef EROFS
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
403 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
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 #ifdef EADDRNOTAVAIL
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
406 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
407 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
408 #ifdef WSAEADDRNOTAVAIL
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
409 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
410 #endif
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 #ifdef EIDRM
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
413 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
414 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
415 #ifdef ECOMM
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
416 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
417 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
418 #ifdef ESRMNT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
419 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
420 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
421 #ifdef EREMOTEIO
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
422 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
423 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
424 #ifdef EL3RST
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
425 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
426 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
427 #ifdef EBADMSG
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
428 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
429 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
430 #ifdef ENFILE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
431 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
432 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
433 #ifdef ELIBMAX
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
434 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
435 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
436 #ifdef ESPIPE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
437 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
438 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
439 #ifdef ENOLINK
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
440 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
441 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
442 #ifdef ENETRESET
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
443 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
444 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
445 #ifdef WSAENETRESET
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
446 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
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 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
449 #ifdef ETIMEDOUT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
450 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
451 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
452 #ifdef WSAETIMEDOUT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
453 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
454 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
455 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
456 #ifdef ENOENT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
457 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
458 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
459 #ifdef EEXIST
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
460 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
461 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
462 #ifdef EDQUOT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
463 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
464 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
465 #ifdef WSAEDQUOT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
466 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
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 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
469 #ifdef ENOSTR
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
470 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
471 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
472 #ifdef EBADSLT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
473 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
474 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
475 #ifdef EBADRQC
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
476 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
477 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
478 #ifdef ELIBACC
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
479 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
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 EFAULT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
482 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
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 WSAEFAULT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
485 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
486 #endif
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
487 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
488 #ifdef EFBIG
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
489 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
490 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
491 #ifdef EDEADLK
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
492 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
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 #ifdef ENOTCONN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
495 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
496 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
497 #ifdef WSAENOTCONN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
498 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
499 #endif
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
500 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
501 #ifdef EDESTADDRREQ
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
502 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
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 WSAEDESTADDRREQ
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
505 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
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 ELIBSCN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
509 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
510 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
511 #ifdef ENOLCK
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
512 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
513 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
514 #ifdef EISNAM
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
515 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
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 ECONNABORTED
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
518 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
519 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
520 #ifdef WSAECONNABORTED
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
521 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
522 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
523 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
524 #ifdef ENETUNREACH
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
525 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
526 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
527 #ifdef WSAENETUNREACH
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
528 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
529 #endif
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
530 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
531 #ifdef ESTALE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
532 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
533 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
534 #ifdef WSAESTALE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
535 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
536 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
537 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
538 #ifdef ENOSR
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
539 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
540 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
541 #ifdef ENOMEM
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
542 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
543 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
544 #ifdef ENOTSOCK
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
545 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
546 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
547 #ifdef WSAENOTSOCK
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
548 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
549 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
550 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
551 #ifdef ESTRPIPE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
552 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
553 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
554 #ifdef EMLINK
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
555 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
556 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
557 #ifdef ERANGE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
558 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
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 ELIBEXEC
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
561 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
562 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
563 #ifdef EL3HLT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
564 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
565 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
566 #ifdef ECONNRESET
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
567 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
568 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
569 #ifdef WSAECONNRESET
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
570 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
571 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
572 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
573 #ifdef EADDRINUSE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
574 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
575 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
576 #ifdef WSAEADDRINUSE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
577 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
578 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
579 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
580 #ifdef EOPNOTSUPP
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
581 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
582 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
583 #ifdef WSAEOPNOTSUPP
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
584 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
585 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
586 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
587 #ifdef EREMCHG
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
588 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
589 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
590 #ifdef EAGAIN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
591 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
592 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
593 #ifdef ENAMETOOLONG
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
594 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
595 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
596 #ifdef WSAENAMETOOLONG
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
597 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
598 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
599 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
600 #ifdef ENOTTY
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
601 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
602 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
603 #ifdef ERESTART
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
604 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
605 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
606 #ifdef ESOCKTNOSUPPORT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
607 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
608 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
609 #ifdef WSAESOCKTNOSUPPORT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
610 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
611 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
612 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
613 #ifdef ETIME
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
614 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
615 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
616 #ifdef EBFONT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
617 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
618 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
619 #ifdef EDEADLOCK
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
620 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
621 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
622 #ifdef ETOOMANYREFS
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
623 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
624 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
625 #ifdef WSAETOOMANYREFS
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
626 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
627 #endif
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
628 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
629 #ifdef EMFILE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
630 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
631 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
632 #ifdef WSAEMFILE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
633 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
634 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
635 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
636 #ifdef ETXTBSY
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
637 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
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 EINPROGRESS
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
640 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
641 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
642 #ifdef WSAEINPROGRESS
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
643 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
644 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
645 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
646 #ifdef ENXIO
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
647 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
648 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
649 #ifdef ENOPKG
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
650 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
651 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
652 #ifdef WSASY
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
653 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
654 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
655 #ifdef WSAEHOSTDOWN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
656 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
657 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
658 #ifdef WSAENETDOWN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
659 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
660 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
661 #ifdef WSAENOTSOCK
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
662 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
663 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
664 #ifdef WSAEHOSTUNREACH
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
665 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
666 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
667 #ifdef WSAELOOP
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
668 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
669 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
670 #ifdef WSAEMFILE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
671 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
672 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
673 #ifdef WSAESTALE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
674 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
675 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
676 #ifdef WSAVERNOTSUPPORTED
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
677 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
678 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
679 #ifdef WSAENETUNREACH
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
680 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
681 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
682 #ifdef WSAEPROCLIM
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
683 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
684 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
685 #ifdef WSAEFAULT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
686 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
687 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
688 #ifdef WSANOTINITIALISED
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
689 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
690 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
691 #ifdef WSAEUSERS
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
692 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
693 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
694 #ifdef WSAMAKEASYNCREPL
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
695 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
696 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
697 #ifdef WSAENOPROTOOPT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
698 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
699 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
700 #ifdef WSAECONNABORTED
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
701 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
702 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
703 #ifdef WSAENAMETOOLONG
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
704 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
705 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
706 #ifdef WSAENOTEMPTY
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
707 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
708 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
709 #ifdef WSAESHUTDOWN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
710 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
711 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
712 #ifdef WSAEAFNOSUPPORT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
713 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
714 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
715 #ifdef WSAETOOMANYREFS
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
716 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
717 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
718 #ifdef WSAEACCES
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
719 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
720 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
721 #ifdef WSATR
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
722 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
723 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
724 #ifdef WSABASEERR
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
725 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
726 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
727 #ifdef WSADESCRIPTIO
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
728 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
729 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
730 #ifdef WSAEMSGSIZE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
731 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
732 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
733 #ifdef WSAEBADF
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
734 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
735 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
736 #ifdef WSAECONNRESET
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
737 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
738 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
739 #ifdef WSAGETSELECTERRO
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
740 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
741 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
742 #ifdef WSAETIMEDOUT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
743 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
744 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
745 #ifdef WSAENOBUFS
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
746 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
747 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
748 #ifdef WSAEDISCON
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
749 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
750 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
751 #ifdef WSAEINTR
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
752 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
753 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
754 #ifdef WSAEPROTOTYPE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
755 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
756 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
757 #ifdef WSAHOS
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
758 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
759 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
760 #ifdef WSAEADDRINUSE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
761 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
762 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
763 #ifdef WSAEADDRNOTAVAIL
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
764 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
765 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
766 #ifdef WSAEALREADY
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
767 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
768 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
769 #ifdef WSAEPROTONOSUPPORT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
770 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
771 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
772 #ifdef WSASYSNOTREADY
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
773 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
774 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
775 #ifdef WSAEWOULDBLOCK
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
776 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
777 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
778 #ifdef WSAEPFNOSUPPORT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
779 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
780 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
781 #ifdef WSAEOPNOTSUPP
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
782 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
783 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
784 #ifdef WSAEISCONN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
785 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
786 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
787 #ifdef WSAEDQUOT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
788 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
789 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
790 #ifdef WSAENOTCONN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
791 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
792 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
793 #ifdef WSAEREMOTE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
794 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
795 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
796 #ifdef WSAEINVAL
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
797 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
798 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
799 #ifdef WSAEINPROGRESS
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
800 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
801 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
802 #ifdef WSAGETSELECTEVEN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
803 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
804 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
805 #ifdef WSAESOCKTNOSUPPORT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
806 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
807 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
808 #ifdef WSAGETASYNCERRO
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
809 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
810 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
811 #ifdef WSAMAKESELECTREPL
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
812 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
813 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
814 #ifdef WSAGETASYNCBUFLE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
815 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
816 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
817 #ifdef WSAEDESTADDRREQ
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
818 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
819 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
820 #ifdef WSAECONNREFUSED
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
821 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
822 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
823 #ifdef WSAENETRESET
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
824 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
825 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
826 #ifdef WSAN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
827 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
828 #endif
64896
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
829 #ifdef ENOMEDIUM
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
830 inscode(d, ds, de, "ENOMEDIUM", ENOMEDIUM, "No medium found");
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
831 #endif
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
832 #ifdef EMEDIUMTYPE
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
833 inscode(d, ds, de, "EMEDIUMTYPE", EMEDIUMTYPE, "Wrong medium type");
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
834 #endif
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
835 #ifdef ECANCELED
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
836 inscode(d, ds, de, "ECANCELED", ECANCELED, "Operation Canceled");
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
837 #endif
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
838 #ifdef ENOKEY
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
839 inscode(d, ds, de, "ENOKEY", ENOKEY, "Required key not available");
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
840 #endif
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
841 #ifdef EKEYEXPIRED
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
842 inscode(d, ds, de, "EKEYEXPIRED", EKEYEXPIRED, "Key has expired");
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
843 #endif
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
844 #ifdef EKEYREVOKED
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
845 inscode(d, ds, de, "EKEYREVOKED", EKEYREVOKED, "Key has been revoked");
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
846 #endif
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
847 #ifdef EKEYREJECTED
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
848 inscode(d, ds, de, "EKEYREJECTED", EKEYREJECTED, "Key was rejected by service");
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
849 #endif
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
850 #ifdef EOWNERDEAD
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
851 inscode(d, ds, de, "EOWNERDEAD", EOWNERDEAD, "Owner died");
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
852 #endif
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
853 #ifdef ENOTRECOVERABLE
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
854 inscode(d, ds, de, "ENOTRECOVERABLE", ENOTRECOVERABLE, "State not recoverable");
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
855 #endif
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
856 #ifdef ERFKILL
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
857 inscode(d, ds, de, "ERFKILL", ERFKILL, "Operation not possible due to RF-kill");
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
858 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
859
64148
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
860 /* Solaris-specific errnos */
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
861 #ifdef ECANCELED
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
862 inscode(d, ds, de, "ECANCELED", ECANCELED, "Operation canceled");
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
863 #endif
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
864 #ifdef ENOTSUP
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
865 inscode(d, ds, de, "ENOTSUP", ENOTSUP, "Operation not supported");
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
866 #endif
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
867 #ifdef EOWNERDEAD
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
868 inscode(d, ds, de, "EOWNERDEAD", EOWNERDEAD, "Process died with the lock");
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
869 #endif
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
870 #ifdef ENOTRECOVERABLE
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
871 inscode(d, ds, de, "ENOTRECOVERABLE", ENOTRECOVERABLE, "Lock is not recoverable");
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
872 #endif
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
873 #ifdef ELOCKUNMAPPED
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
874 inscode(d, ds, de, "ELOCKUNMAPPED", ELOCKUNMAPPED, "Locked lock was unmapped");
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
875 #endif
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
876 #ifdef ENOTACTIVE
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
877 inscode(d, ds, de, "ENOTACTIVE", ENOTACTIVE, "Facility is not active");
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
878 #endif
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
879
69885
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
880 /* MacOSX specific errnos */
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
881 #ifdef EAUTH
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
882 inscode(d, ds, de, "EAUTH", EAUTH, "Authentication error");
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
883 #endif
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
884 #ifdef EBADARCH
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
885 inscode(d, ds, de, "EBADARCH", EBADARCH, "Bad CPU type in executable");
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
886 #endif
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
887 #ifdef EBADEXEC
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
888 inscode(d, ds, de, "EBADEXEC", EBADEXEC, "Bad executable (or shared library)");
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
889 #endif
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
890 #ifdef EBADMACHO
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
891 inscode(d, ds, de, "EBADMACHO", EBADMACHO, "Malformed Mach-o file");
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
892 #endif
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
893 #ifdef EBADRPC
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
894 inscode(d, ds, de, "EBADRPC", EBADRPC, "RPC struct is bad");
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
895 #endif
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
896 #ifdef EDEVERR
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
897 inscode(d, ds, de, "EDEVERR", EDEVERR, "Device error");
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
898 #endif
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
899 #ifdef EFTYPE
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
900 inscode(d, ds, de, "EFTYPE", EFTYPE, "Inappropriate file type or format");
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
901 #endif
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
902 #ifdef ENEEDAUTH
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
903 inscode(d, ds, de, "ENEEDAUTH", ENEEDAUTH, "Need authenticator");
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
904 #endif
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
905 #ifdef ENOATTR
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
906 inscode(d, ds, de, "ENOATTR", ENOATTR, "Attribute not found");
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
907 #endif
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
908 #ifdef ENOPOLICY
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
909 inscode(d, ds, de, "ENOPOLICY", ENOPOLICY, "Policy not found");
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
910 #endif
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
911 #ifdef EPROCLIM
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
912 inscode(d, ds, de, "EPROCLIM", EPROCLIM, "Too many processes");
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
913 #endif
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
914 #ifdef EPROCUNAVAIL
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
915 inscode(d, ds, de, "EPROCUNAVAIL", EPROCUNAVAIL, "Bad procedure for program");
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
916 #endif
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
917 #ifdef EPROGMISMATCH
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
918 inscode(d, ds, de, "EPROGMISMATCH", EPROGMISMATCH, "Program version wrong");
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
919 #endif
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
920 #ifdef EPROGUNAVAIL
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
921 inscode(d, ds, de, "EPROGUNAVAIL", EPROGUNAVAIL, "RPC prog. not avail");
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
922 #endif
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
923 #ifdef EPWROFF
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
924 inscode(d, ds, de, "EPWROFF", EPWROFF, "Device power is off");
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
925 #endif
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
926 #ifdef ERPCMISMATCH
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
927 inscode(d, ds, de, "ERPCMISMATCH", ERPCMISMATCH, "RPC version wrong");
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
928 #endif
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
929 #ifdef ESHLIBVERS
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
930 inscode(d, ds, de, "ESHLIBVERS", ESHLIBVERS, "Shared library version mismatch");
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
931 #endif
2f978b4c02ad Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 64896
diff changeset
932
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
933 Py_DECREF(de);
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
934 return m;
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
935 }