annotate Modules/errnomodule.c @ 78069:a8aa77458e12 3.2

Add c_size_t and c_ssize_t to the ctypes summary table.
author Antoine Pitrou <solipsis@pitrou.net>
date Thu, 12 Jul 2012 20:31:50 +0200
parents 3474cee9c758
children 2f978b4c02ad
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>
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
10 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
11
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
12 /*
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
13 * 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
14 */
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
15
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
16 static PyMethodDef errno_methods[] = {
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
17 {NULL, NULL}
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
18 };
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
19
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
20 /* Helper function doing the dictionary inserting */
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
21
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
22 static void
42759
273ace359e55 Use unicode for the errno.errorcode names
Neal Norwitz <nnorwitz@gmail.com>
parents: 36324
diff changeset
23 _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
24 {
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
25 PyObject *u = PyUnicode_FromString(name);
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
26 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
27
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
28 /* 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
29 * 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
30 * initerrno().
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
31 */
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
32 if (u && v) {
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
33 /* insert in modules dict */
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
34 PyDict_SetItem(d, u, v);
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
35 /* insert in errorcode dict */
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
36 PyDict_SetItem(de, v, u);
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
37 }
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
38 Py_XDECREF(u);
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
39 Py_XDECREF(v);
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
40 }
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
41
23832
ed1ba37a46b7 Patch #568124: Add doc string macros.
Martin v. Löwis <martin@v.loewis.de>
parents: 21810
diff changeset
42 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
43 "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
44 \n\
c91809cd67e5 Added a module docstring (that's all this module needs).
Guido van Rossum <guido@python.org>
parents: 6558
diff changeset
45 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
46 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
47 \n\
c91809cd67e5 Added a module docstring (that's all this module needs).
Guido van Rossum <guido@python.org>
parents: 6558
diff changeset
48 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
49 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
50 \n\
c91809cd67e5 Added a module docstring (that's all this module needs).
Guido van Rossum <guido@python.org>
parents: 6558
diff changeset
51 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
52 \n\
c91809cd67e5 Added a module docstring (that's all this module needs).
Guido van Rossum <guido@python.org>
parents: 6558
diff changeset
53 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
54 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
55
47580
94f64f11fdd0 Implement PEP 3121: new module initialization and finalization API.
Martin v. Löwis <martin@v.loewis.de>
parents: 44469
diff changeset
56 static struct PyModuleDef errnomodule = {
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
57 PyModuleDef_HEAD_INIT,
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
58 "errno",
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
59 errno__doc__,
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
60 -1,
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
61 errno_methods,
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
62 NULL,
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
63 NULL,
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
64 NULL,
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
65 NULL
47580
94f64f11fdd0 Implement PEP 3121: new module initialization and finalization API.
Martin v. Löwis <martin@v.loewis.de>
parents: 44469
diff changeset
66 };
94f64f11fdd0 Implement PEP 3121: new module initialization and finalization API.
Martin v. Löwis <martin@v.loewis.de>
parents: 44469
diff changeset
67
24471
f66b3a3509c7 Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype
Mark Hammond <mhammond@skippinet.com.au>
parents: 23832
diff changeset
68 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
69 PyInit_errno(void)
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
70 {
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
71 PyObject *m, *d, *de;
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
72 m = PyModule_Create(&errnomodule);
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
73 if (m == NULL)
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
74 return NULL;
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
75 d = PyModule_GetDict(m);
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
76 de = PyDict_New();
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
77 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
78 return NULL;
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
79
6558
ee307f9845a3 Got rid of the errorstr dictionary, which is redundant now that
Guido van Rossum <guido@python.org>
parents: 6340
diff changeset
80 /* 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
81 #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
82
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
83 /*
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
84 * 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
85 * 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
86 * names and comments are borrowed from sys/errno.h in Solaris.
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
87 */
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
88
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
89 #ifdef ENODEV
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
90 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
91 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
92 #ifdef ENOCSI
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
93 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
94 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
95 #ifdef EHOSTUNREACH
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
96 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
97 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
98 #ifdef WSAEHOSTUNREACH
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
99 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
100 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
101 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
102 #ifdef ENOMSG
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
103 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
104 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
105 #ifdef EUCLEAN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
106 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
107 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
108 #ifdef EL2NSYNC
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
109 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
110 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
111 #ifdef EL2HLT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
112 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
113 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
114 #ifdef ENODATA
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
115 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
116 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
117 #ifdef ENOTBLK
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
118 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
119 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
120 #ifdef ENOSYS
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
121 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
122 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
123 #ifdef EPIPE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
124 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
125 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
126 #ifdef EINVAL
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
127 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
128 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
129 #ifdef WSAEINVAL
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
130 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
131 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
132 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
133 #ifdef EOVERFLOW
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
134 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
135 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
136 #ifdef EADV
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
137 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
138 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
139 #ifdef EINTR
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
140 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
141 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
142 #ifdef WSAEINTR
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
143 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
144 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
145 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
146 #ifdef EUSERS
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
147 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
148 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
149 #ifdef WSAEUSERS
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
150 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
151 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
152 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
153 #ifdef ENOTEMPTY
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
154 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
155 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
156 #ifdef WSAENOTEMPTY
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
157 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
158 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
159 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
160 #ifdef ENOBUFS
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
161 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
162 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
163 #ifdef WSAENOBUFS
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
164 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
165 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
166 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
167 #ifdef EPROTO
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
168 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
169 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
170 #ifdef EREMOTE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
171 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
172 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
173 #ifdef WSAEREMOTE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
174 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
175 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
176 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
177 #ifdef ENAVAIL
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
178 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
179 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
180 #ifdef ECHILD
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
181 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
182 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
183 #ifdef ELOOP
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
184 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
185 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
186 #ifdef WSAELOOP
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
187 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
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 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
190 #ifdef EXDEV
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
191 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
192 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
193 #ifdef E2BIG
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
194 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
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 ESRCH
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
197 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
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 EMSGSIZE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
200 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
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 WSAEMSGSIZE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
203 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
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 EAFNOSUPPORT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
207 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
208 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
209 #ifdef WSAEAFNOSUPPORT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
210 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
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 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
213 #ifdef EBADR
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
214 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
215 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
216 #ifdef EHOSTDOWN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
217 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
218 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
219 #ifdef WSAEHOSTDOWN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
220 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
221 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
222 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
223 #ifdef EPFNOSUPPORT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
224 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
225 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
226 #ifdef WSAEPFNOSUPPORT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
227 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
228 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
229 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
230 #ifdef ENOPROTOOPT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
231 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
232 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
233 #ifdef WSAENOPROTOOPT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
234 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
235 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
236 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
237 #ifdef EBUSY
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
238 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
239 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
240 #ifdef EWOULDBLOCK
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
241 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
242 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
243 #ifdef WSAEWOULDBLOCK
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
244 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
245 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
246 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
247 #ifdef EBADFD
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
248 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
249 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
250 #ifdef EDOTDOT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
251 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
252 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
253 #ifdef EISCONN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
254 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
255 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
256 #ifdef WSAEISCONN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
257 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
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 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
260 #ifdef ENOANO
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
261 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
262 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
263 #ifdef ESHUTDOWN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
264 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
265 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
266 #ifdef WSAESHUTDOWN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
267 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
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 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
270 #ifdef ECHRNG
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
271 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
272 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
273 #ifdef ELIBBAD
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
274 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
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 ENONET
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
277 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
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 EBADE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
280 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
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 EBADF
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
283 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
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 WSAEBADF
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
286 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
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 EMULTIHOP
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
290 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
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 EIO
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
293 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
294 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
295 #ifdef EUNATCH
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
296 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
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 #ifdef EPROTOTYPE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
299 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
300 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
301 #ifdef WSAEPROTOTYPE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
302 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
303 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
304 #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 ENOSPC
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
306 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
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 ENOEXEC
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
309 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
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 EALREADY
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
312 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
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 WSAEALREADY
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
315 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
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 ENETDOWN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
319 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
320 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
321 #ifdef WSAENETDOWN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
322 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
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 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
325 #ifdef ENOTNAM
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
326 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
327 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
328 #ifdef EACCES
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
329 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
330 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
331 #ifdef WSAEACCES
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
332 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
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 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
335 #ifdef ELNRNG
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
336 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
337 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
338 #ifdef EILSEQ
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
339 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
340 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
341 #ifdef ENOTDIR
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
342 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
343 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
344 #ifdef ENOTUNIQ
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
345 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
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 EPERM
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
348 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
349 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
350 #ifdef EDOM
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
351 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
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 #ifdef EXFULL
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
354 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
355 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
356 #ifdef ECONNREFUSED
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
357 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
358 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
359 #ifdef WSAECONNREFUSED
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
360 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
361 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
362 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
363 #ifdef EISDIR
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
364 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
365 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
366 #ifdef EPROTONOSUPPORT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
367 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
368 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
369 #ifdef WSAEPROTONOSUPPORT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
370 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
371 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
372 #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 EROFS
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
374 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
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 EADDRNOTAVAIL
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
377 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
378 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
379 #ifdef WSAEADDRNOTAVAIL
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
380 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
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 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
383 #ifdef EIDRM
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
384 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
385 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
386 #ifdef ECOMM
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
387 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
388 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
389 #ifdef ESRMNT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
390 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
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 EREMOTEIO
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
393 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
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 EL3RST
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
396 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
397 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
398 #ifdef EBADMSG
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
399 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
400 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
401 #ifdef ENFILE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
402 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
403 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
404 #ifdef ELIBMAX
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
405 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
406 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
407 #ifdef ESPIPE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
408 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
409 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
410 #ifdef ENOLINK
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
411 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
412 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
413 #ifdef ENETRESET
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
414 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
415 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
416 #ifdef WSAENETRESET
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
417 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
418 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
419 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
420 #ifdef ETIMEDOUT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
421 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
422 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
423 #ifdef WSAETIMEDOUT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
424 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
425 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
426 #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 ENOENT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
428 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
429 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
430 #ifdef EEXIST
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
431 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
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 EDQUOT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
434 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
435 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
436 #ifdef WSAEDQUOT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
437 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
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 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
440 #ifdef ENOSTR
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
441 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
442 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
443 #ifdef EBADSLT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
444 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
445 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
446 #ifdef EBADRQC
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
447 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
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 ELIBACC
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
450 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
451 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
452 #ifdef EFAULT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
453 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
454 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
455 #ifdef WSAEFAULT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
456 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
457 #endif
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
458 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
459 #ifdef EFBIG
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
460 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
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 EDEADLK
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
463 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
464 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
465 #ifdef ENOTCONN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
466 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
467 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
468 #ifdef WSAENOTCONN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
469 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
470 #endif
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 EDESTADDRREQ
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
473 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
474 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
475 #ifdef WSAEDESTADDRREQ
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
476 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
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 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
479 #ifdef ELIBSCN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
480 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
481 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
482 #ifdef ENOLCK
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
483 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
484 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
485 #ifdef EISNAM
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
486 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
487 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
488 #ifdef ECONNABORTED
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
489 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
490 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
491 #ifdef WSAECONNABORTED
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
492 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
493 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
494 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
495 #ifdef ENETUNREACH
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
496 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
497 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
498 #ifdef WSAENETUNREACH
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
499 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
500 #endif
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
501 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
502 #ifdef ESTALE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
503 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
504 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
505 #ifdef WSAESTALE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
506 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
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 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
509 #ifdef ENOSR
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
510 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
511 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
512 #ifdef ENOMEM
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
513 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
514 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
515 #ifdef ENOTSOCK
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
516 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
517 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
518 #ifdef WSAENOTSOCK
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
519 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
520 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
521 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
522 #ifdef ESTRPIPE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
523 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
524 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
525 #ifdef EMLINK
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
526 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
527 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
528 #ifdef ERANGE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
529 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
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 ELIBEXEC
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
532 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
533 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
534 #ifdef EL3HLT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
535 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
536 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
537 #ifdef ECONNRESET
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
538 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
539 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
540 #ifdef WSAECONNRESET
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
541 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
542 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
543 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
544 #ifdef EADDRINUSE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
545 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
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 WSAEADDRINUSE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
548 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
549 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
550 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
551 #ifdef EOPNOTSUPP
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
552 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
553 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
554 #ifdef WSAEOPNOTSUPP
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
555 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
556 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
557 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
558 #ifdef EREMCHG
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
559 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
560 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
561 #ifdef EAGAIN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
562 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
563 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
564 #ifdef ENAMETOOLONG
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
565 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
566 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
567 #ifdef WSAENAMETOOLONG
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
568 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
569 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
570 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
571 #ifdef ENOTTY
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
572 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
573 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
574 #ifdef ERESTART
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
575 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
576 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
577 #ifdef ESOCKTNOSUPPORT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
578 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
579 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
580 #ifdef WSAESOCKTNOSUPPORT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
581 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
582 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
583 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
584 #ifdef ETIME
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
585 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
586 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
587 #ifdef EBFONT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
588 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
589 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
590 #ifdef EDEADLOCK
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
591 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
592 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
593 #ifdef ETOOMANYREFS
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
594 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
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 WSAETOOMANYREFS
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
597 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
598 #endif
3804
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 EMFILE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
601 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
602 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
603 #ifdef WSAEMFILE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
604 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
605 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
606 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
607 #ifdef ETXTBSY
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
608 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
609 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
610 #ifdef EINPROGRESS
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
611 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
612 #else
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
613 #ifdef WSAEINPROGRESS
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
614 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
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 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
617 #ifdef ENXIO
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
618 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
619 #endif
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
620 #ifdef ENOPKG
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
621 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
622 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
623 #ifdef WSASY
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
624 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
625 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
626 #ifdef WSAEHOSTDOWN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
627 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
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 WSAENETDOWN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
630 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
631 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
632 #ifdef WSAENOTSOCK
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
633 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
634 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
635 #ifdef WSAEHOSTUNREACH
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
636 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
637 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
638 #ifdef WSAELOOP
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
639 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
640 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
641 #ifdef WSAEMFILE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
642 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
643 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
644 #ifdef WSAESTALE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
645 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
646 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
647 #ifdef WSAVERNOTSUPPORTED
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
648 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
649 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
650 #ifdef WSAENETUNREACH
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
651 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
652 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
653 #ifdef WSAEPROCLIM
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
654 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
655 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
656 #ifdef WSAEFAULT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
657 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
658 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
659 #ifdef WSANOTINITIALISED
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
660 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
661 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
662 #ifdef WSAEUSERS
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
663 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
664 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
665 #ifdef WSAMAKEASYNCREPL
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
666 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
667 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
668 #ifdef WSAENOPROTOOPT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
669 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
670 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
671 #ifdef WSAECONNABORTED
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
672 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
673 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
674 #ifdef WSAENAMETOOLONG
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
675 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
676 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
677 #ifdef WSAENOTEMPTY
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
678 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
679 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
680 #ifdef WSAESHUTDOWN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
681 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
682 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
683 #ifdef WSAEAFNOSUPPORT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
684 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
685 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
686 #ifdef WSAETOOMANYREFS
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
687 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
688 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
689 #ifdef WSAEACCES
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
690 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
691 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
692 #ifdef WSATR
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
693 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
694 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
695 #ifdef WSABASEERR
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
696 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
697 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
698 #ifdef WSADESCRIPTIO
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
699 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
700 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
701 #ifdef WSAEMSGSIZE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
702 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
703 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
704 #ifdef WSAEBADF
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
705 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
706 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
707 #ifdef WSAECONNRESET
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
708 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
709 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
710 #ifdef WSAGETSELECTERRO
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
711 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
712 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
713 #ifdef WSAETIMEDOUT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
714 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
715 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
716 #ifdef WSAENOBUFS
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
717 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
718 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
719 #ifdef WSAEDISCON
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
720 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
721 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
722 #ifdef WSAEINTR
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
723 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
724 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
725 #ifdef WSAEPROTOTYPE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
726 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
727 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
728 #ifdef WSAHOS
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
729 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
730 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
731 #ifdef WSAEADDRINUSE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
732 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
733 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
734 #ifdef WSAEADDRNOTAVAIL
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
735 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
736 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
737 #ifdef WSAEALREADY
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
738 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
739 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
740 #ifdef WSAEPROTONOSUPPORT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
741 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
742 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
743 #ifdef WSASYSNOTREADY
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
744 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
745 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
746 #ifdef WSAEWOULDBLOCK
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
747 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
748 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
749 #ifdef WSAEPFNOSUPPORT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
750 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
751 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
752 #ifdef WSAEOPNOTSUPP
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
753 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
754 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
755 #ifdef WSAEISCONN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
756 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
757 #endif
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
758 #ifdef WSAEDQUOT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
759 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
760 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
761 #ifdef WSAENOTCONN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
762 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
763 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
764 #ifdef WSAEREMOTE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
765 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
766 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
767 #ifdef WSAEINVAL
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
768 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
769 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
770 #ifdef WSAEINPROGRESS
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
771 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
772 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
773 #ifdef WSAGETSELECTEVEN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
774 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
775 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
776 #ifdef WSAESOCKTNOSUPPORT
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
777 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
778 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
779 #ifdef WSAGETASYNCERRO
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
780 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
781 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
782 #ifdef WSAMAKESELECTREPL
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
783 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
784 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
785 #ifdef WSAGETASYNCBUFLE
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
786 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
787 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
788 #ifdef WSAEDESTADDRREQ
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
789 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
790 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
791 #ifdef WSAECONNREFUSED
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
792 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
793 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
794 #ifdef WSAENETRESET
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
795 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
796 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
797 #ifdef WSAN
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
798 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
799 #endif
64896
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
800 #ifdef ENOMEDIUM
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
801 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
802 #endif
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
803 #ifdef EMEDIUMTYPE
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
804 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
805 #endif
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
806 #ifdef ECANCELED
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
807 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
808 #endif
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
809 #ifdef ENOKEY
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
810 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
811 #endif
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
812 #ifdef EKEYEXPIRED
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
813 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
814 #endif
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
815 #ifdef EKEYREVOKED
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
816 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
817 #endif
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
818 #ifdef EKEYREJECTED
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
819 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
820 #endif
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
821 #ifdef EOWNERDEAD
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
822 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
823 #endif
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
824 #ifdef ENOTRECOVERABLE
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
825 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
826 #endif
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
827 #ifdef ERFKILL
3474cee9c758 Issue 9916: Add some missing errno symbols.
Barry Warsaw <barry@python.org>
parents: 64148
diff changeset
828 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
829 #endif
6340
593f54129661 Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
Guido van Rossum <guido@python.org>
parents: 5308
diff changeset
830
64148
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
831 /* 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
832 #ifdef ECANCELED
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
833 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
834 #endif
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
835 #ifdef ENOTSUP
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
836 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
837 #endif
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
838 #ifdef EOWNERDEAD
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
839 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
840 #endif
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
841 #ifdef ENOTRECOVERABLE
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
842 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
843 #endif
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
844 #ifdef ELOCKUNMAPPED
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
845 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
846 #endif
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
847 #ifdef ENOTACTIVE
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
848 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
849 #endif
c370866f30a7 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Antoine Pitrou <solipsis@pitrou.net>
parents: 61466
diff changeset
850
61466
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
851 Py_DECREF(de);
cab14be0ada1 Recorded merge of revisions 81029 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47667
diff changeset
852 return m;
3804
48776bf4bd49 Added Sam Rushing's errno module
Guido van Rossum <guido@python.org>
parents:
diff changeset
853 }