3 This file is part of the Free Pascal run time library.
4 Copyright (c) 1999-2000 by Michael Van Canneyt,
5 member of the Free Pascal development team.
7 See the file COPYING.FPC, included in this distribution,
8 for details about the copyright.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 **********************************************************************}
17 Errno.inc : define all error numbers, kernel version 1.2.13
22 Sys_EPERM = 1; { Operation not permitted }
23 Sys_ENOENT = 2; { No such file or directory }
24 Sys_ESRCH = 3; { No such process }
25 Sys_EINTR = 4; { Interrupted system call }
26 Sys_EIO = 5; { I/O error }
27 Sys_ENXIO = 6; { No such device or address }
28 Sys_E2BIG = 7; { Arg list too long }
29 Sys_ENOEXEC = 8; { Exec format error }
30 Sys_EBADF = 9; { Bad file number }
31 Sys_ECHILD = 10; { No child processes }
32 Sys_EAGAIN = 11; { Try again }
33 Sys_ENOMEM = 12; { Out of memory }
34 Sys_EACCES = 13; { Permission denied }
35 Sys_EFAULT = 14; { Bad address }
36 Sys_ENOTBLK = 15; { Block device required }
37 Sys_EBUSY = 16; { Device or resource busy }
38 Sys_EEXIST = 17; { File exists }
39 Sys_EXDEV = 18; { Cross-device link }
40 Sys_ENODEV = 19; { No such device }
41 Sys_ENOTDIR = 20; { Not a directory }
42 Sys_EISDIR = 21; { Is a directory }
43 Sys_EINVAL = 22; { Invalid argument }
44 Sys_ENFILE = 23; { File table overflow }
45 Sys_EMFILE = 24; { Too many open files }
46 Sys_ENOTTY = 25; { Not a typewriter }
47 Sys_ETXTBSY = 26; { Text file busy }
48 Sys_EFBIG = 27; { File too large }
49 Sys_ENOSPC = 28; { No space left on device }
50 Sys_ESPIPE = 29; { Illegal seek }
51 Sys_EROFS = 30; { Read-only file system }
52 Sys_EMLINK = 31; { Too many links }
53 Sys_EPIPE = 32; { Broken pipe }
54 Sys_EDOM = 33; { Math argument out of domain of func }
55 Sys_ERANGE = 34; { Math result not representable }
56 Sys_EDEADLK = 35; { Resource deadlock would occur }
57 Sys_ENAMETOOLONG= 36; { File name too long }
58 Sys_ENOLCK = 37; { No record locks available }
59 Sys_ENOSYS = 38; { Function not implemented }
60 Sys_ENOTEMPTY= 39; { Directory not empty }
61 Sys_ELOOP = 40; { Too many symbolic links encountered }
62 Sys_EWOULDBLOCK = Sys_EAGAIN; { Operation would block }
63 Sys_ENOMSG = 42; { No message of desired type }
64 Sys_EIDRM = 43; { Identifier removed }
65 Sys_ECHRNG = 44; { Channel number out of range }
66 Sys_EL2NSYNC= 45; { Level 2 not synchronized }
67 Sys_EL3HLT = 46; { Level 3 halted }
68 Sys_EL3RST = 47; { Level 3 reset }
69 Sys_ELNRNG = 48; { Link number out of range }
70 Sys_EUNATCH = 49; { Protocol driver not attached }
71 Sys_ENOCSI = 50; { No CSI structure available }
72 Sys_EL2HLT = 51; { Level 2 halted }
73 Sys_EBADE = 52; { Invalid exchange }
74 Sys_EBADR = 53; { Invalid request descriptor }
75 Sys_EXFULL = 54; { Exchange full }
76 Sys_ENOANO = 55; { No anode }
77 Sys_EBADRQC = 56; { Invalid request code }
78 Sys_EBADSLT = 57; { Invalid slot }
79 Sys_EDEADLOCK= 58; { File locking deadlock error }
80 Sys_EBFONT = 59; { Bad font file format }
81 Sys_ENOSTR = 60; { Device not a stream }
82 Sys_ENODATA = 61; { No data available }
83 Sys_ETIME = 62; { Timer expired }
84 Sys_ENOSR = 63; { Out of streams resources }
85 Sys_ENONET = 64; { Machine is not on the network }
86 Sys_ENOPKG = 65; { Package not installed }
87 Sys_EREMOTE = 66; { Object is remote }
88 Sys_ENOLINK = 67; { Link has been severed }
89 Sys_EADV = 68; { Advertise error }
90 Sys_ESRMNT = 69; { Srmount error }
91 Sys_ECOMM = 70; { Communication error on send }
92 Sys_EPROTO = 71; { Protocol error }
93 Sys_EMULTIHOP= 72; { Multihop attempted }
94 Sys_EDOTDOT = 73; { RFS specific error }
95 Sys_EBADMSG = 74; { Not a data message }
96 Sys_EOVERFLOW= 75; { Value too large for defined data type }
97 Sys_ENOTUNIQ= 76; { Name not unique on network }
98 Sys_EBADFD = 77; { File descriptor in bad state }
99 Sys_EREMCHG = 78; { Remote address changed }
100 Sys_ELIBACC = 79; { Can not access a needed shared library }
101 Sys_ELIBBAD = 80; { Accessing a corrupted shared library }
102 Sys_ELIBSCN = 81; { .lib section in a.out corrupted }
103 Sys_ELIBMAX = 82; { Attempting to link in too many shared libraries }
104 Sys_ELIBEXEC= 83; { Cannot exec a shared library directly }
105 Sys_EILSEQ = 84; { Illegal byte sequence }
106 Sys_ERESTART= 85; { Interrupted system call should be restarted }
107 Sys_ESTRPIPE= 86; { Streams pipe error }
108 Sys_EUSERS = 87; { Too many users }
109 Sys_ENOTSOCK= 88; { Socket operation on non-socket }
110 Sys_EDESTADDRREQ= 89; { Destination address required }
111 Sys_EMSGSIZE= 90; { Message too long }
112 Sys_EPROTOTYPE= 91; { Protocol wrong type for socket }
113 Sys_ENOPROTOOPT= 92; { Protocol not available }
114 Sys_EPROTONOSUPPORT= 93; { Protocol not supported }
115 Sys_ESOCKTNOSUPPORT= 94; { Socket type not supported }
116 Sys_EOPNOTSUPP= 95; { Operation not supported on transport endpoint }
117 Sys_EPFNOSUPPORT= 96; { Protocol family not supported }
118 Sys_EAFNOSUPPORT= 97; { Address family not supported by protocol }
119 Sys_EADDRINUSE= 98; { Address already in use }
120 Sys_EADDRNOTAVAIL= 99; { Cannot assign requested address }
121 Sys_ENETDOWN= 100; { Network is down }
122 Sys_ENETUNREACH= 101; { Network is unreachable }
123 Sys_ENETRESET= 102; { Network dropped connection because of reset }
124 Sys_ECONNABORTED= 103; { Software caused connection abort }
125 Sys_ECONNRESET= 104; { Connection reset by peer }
126 Sys_ENOBUFS = 105; { No buffer space available }
127 Sys_EISCONN = 106; { Transport endpoint is already connected }
128 Sys_ENOTCONN= 107; { Transport endpoint is not connected }
129 Sys_ESHUTDOWN= 108; { Cannot send after transport endpoint shutdown }
130 Sys_ETOOMANYREFS= 109; { Too many references: cannot splice }
131 Sys_ETIMEDOUT= 110; { Connection timed out }
132 Sys_ECONNREFUSED= 111; { Connection refused }
133 Sys_EHOSTDOWN= 112; { Host is down }
134 Sys_EHOSTUNREACH= 113; { No route to host }
135 Sys_EALREADY= 114; { Operation already in progress }
136 Sys_EINPROGRESS= 115; { Operation now in progress }
137 Sys_ESTALE = 116; { Stale NFS file handle }
138 Sys_EUCLEAN = 117; { Structure needs cleaning }
139 Sys_ENOTNAM = 118; { Not a XENIX named type file }
140 Sys_ENAVAIL = 119; { No XENIX semaphores available }
141 Sys_EISNAM = 120; { Is a named type file }
142 Sys_EREMOTEIO= 121; { Remote I/O error }
143 Sys_EDQUOT = 122; { Quota exceeded }
147 Revision 1.1 2002/02/19 08:26:15 sasu
150 Revision 1.1.2.1 2000/09/14 13:38:25 marco
151 * Moved from Linux dir. now start of generic unix dir, from which the
152 really exotic features should be moved to the target specific dirs.
154 Revision 1.1 2000/07/13 06:30:53 michael
157 Revision 1.5 2000/02/09 16:59:31 peter
160 Revision 1.4 2000/01/07 16:41:40 daniel
163 Revision 1.3 2000/01/07 16:32:26 daniel
164 * copyright 2000 added