1
{ -------------------------- Base POSIX-mandated constants --------------- }
2
{ no such file or directory }
4
SYS_ENOENT = 1; // arg list too big
5
SYS_E2BIG = 2; // arg list too big
6
SYS_ENOEXEC = 3; // exec format error
7
SYS_EBADF = 4; // bad file number
8
SYS_ENOMEM = 5; // not enough memory
9
SYS_EACCES = 6; // permission denied
10
SYS_EEXIST = 7; // file exists
11
SYS_EXDEV = 8; // cross-device link
12
SYS_EINVAL = 9; // invalid argument
13
SYS_ENFILE = 10; // file table overflow
14
SYS_EMFILE = 11; // too many open files
15
SYS_ENOSPC = 12; // no space left on device
16
SYS_EDOM = 13; // argument too large
17
SYS_ERANGE = 14; // result too large
18
SYS_EDEADLK = 15; // resource deadlock would occur
19
{ -------------------------- Miscellaneous NLM Library constants --------- }
20
SYS_EINUSE = 16; // resource(s) in use
21
SYS_ESERVER = 17; // server error (memory out, I/O error, etc.)
22
SYS_ENOSERVR = 18; // no server (queue server, file server, etc.)
23
SYS_EWRNGKND = 19; // wrong kind--an operation is being...
24
// ...attempted on the wrong kind of object
25
SYS_ETRNREST = 20; // transaction restarted
26
SYS_ERESOURCE = 21; // resources unavailable (maybe permanently)
27
SYS_EBADHNDL = 22; // bad non-file handle (screen, semaphore, etc)
28
SYS_ENO_SCRNS = 23; // screen I/O attempted when no screens
29
{ -------------------------- Additional POSIX / traditional UNIX constants }
30
SYS_EAGAIN = 24; // resource temporarily unavailable
31
SYS_ENXIO = 25; // no such device or address
32
SYS_EBADMSG = 26; // not a data message
33
SYS_EFAULT = 27; // bad address
34
SYS_EIO = 28; // physical I/O error
35
SYS_ENODATA = 29; // no data
36
SYS_ENOSTRMS = 30; // streams not available
37
{ Berkeley sockets constants ------------------ }
38
SYS_EPROTO = 31; // fatal protocol error
39
SYS_EPIPE = 32; // broken pipe
40
SYS_ESPIPE = 33; // illegal seek
41
{ Non-blocking and interrupt I/O constants ---- }
42
SYS_ETIME = 34; // ioctl acknowledge timeout
43
{ operation would block }
44
SYS_EWOULDBLOCK=35; // operation would block
45
SYS_EINPROGRESS=36; // operation now in progress
46
SYS_EALREADY = 37; // operation already in progress
47
{ IPC network argument constants -------------- }
48
SYS_ENOTSOCK = 38; // socket operation on non-socket
49
SYS_EDESTADDRREQ=39; // destination address required
50
SYS_EMSGSIZE = 40; // message too long
51
SYS_EPROTOTYPE= 41; // protocol wrong type for socket
52
SYS_ENOPROTOOPT=42; // protocol not available
53
SYS_EPROTONOSUPPORT = 43; // protocol not supported
54
SYS_ESOCKTNOSUPPORT = 44; // socket type not supported
55
SYS_EOPNOTSUPP = 45; // operation not supported on socket
56
SYS_EPFNOSUPPORT = 46; // protocol family not supported
57
SYS_EAFNOSUPPORT = 47; // address family unsupported by protocol family
58
SYS_EADDRINUSE = 48; // address already in use
59
SYS_EADDRNOTAVAIL = 49; // can't assign requested address
60
{ Operational constants ----------------------- }
61
SYS_ENETDOWN = 50; // Network is down
62
{ network is unreachable }
64
{ network dropped connection on reset }
66
{ software caused connection abort }
67
SYS_ECONNABORTED = 53;
68
{ connection reset by peer }
70
{ no buffer space available }
72
{ socket is already connected }
74
{ socket is not connected }
76
{ can't send after socket shutdown }
78
{ too many references: can't splice }
79
SYS_ETOOMANYREFS = 59;
80
{ connection timed out }
82
{ connection refused }
83
SYS_ECONNREFUSED = 61;
84
{ -------------------------- Additional POSIX-mandated constants --------- }
87
{ interrupted function call }
92
SYS_ENAMETOOLONG = 65;
93
{ function not implemented }
97
{ directory not empty }
99
{ operation not permitted }
107
SYS_ELOOP = SYS_EMLINK;
110
{ no locks available }
112
{ inappropriate I/O control operation }
114
{ inappropriate operation for file type }
115
SYS_EFTYPE = SYS_ENOTTY;
116
{ read-only file system }
120
{ operation was cancelled }
122
{ this optional functionality not supported }
124
{ -------------------------- CLib-implementation-specific constants ------ }
125
SYS_ECANCELLED = SYS_ECANCELED;
126
{ anomaly in NLM data structure }
128
{ illegal character sequence in multibyte }
130
{ internal library inconsistency }
132
{ DOS-text file inconsistency--no newline... }
133
SYS_EDOSTEXTEOL = 103;
134
{ ...after carriage return }
135
{ object doesn't exist }
136
SYS_ENONEXTANT = 104;
137
SYS_ENOCONTEXT = 105; // no thread library context present
138
SYS_ELASTERR = SYS_ENOCONTEXT;
141
Revision 1.2 2005/02/14 17:13:30 peter