1{
2    $Id: errno.inc,v 1.1.2.2 2001/12/20 02:55:00 carl Exp $
3    This file is part of the Free Pascal run time library.
4
5
6    Taken from QNX RTP Include files
7
8    See the file COPYING.FPC, included in this distribution,
9    for details about the copyright.
10
11    This program is distributed in the hope that it will be useful,
12    but WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14
15 **********************************************************************}
16
17  const
18     Sys_EOK = 0;
19     Sys_EPERM = 1;
20     Sys_ENOENT = 2;
21     Sys_ESRCH = 3;
22     Sys_EINTR = 4;
23     Sys_EIO = 5;
24     Sys_ENXIO = 6;
25     Sys_E2BIG = 7;
26     Sys_ENOEXEC = 8;
27     Sys_EBADF = 9;
28     Sys_ECHILD = 10;
29     Sys_EAGAIN = 11;
30     Sys_ENOMEM = 12;
31     Sys_EACCES = 13;
32     Sys_EFAULT = 14;
33     Sys_ENOTBLK = 15;
34     Sys_EBUSY = 16;
35     Sys_EEXIST = 17;
36     Sys_EXDEV = 18;
37     Sys_ENODEV = 19;
38     Sys_ENOTDIR = 20;
39     Sys_EISDIR = 21;
40     Sys_EINVAL = 22;
41     Sys_ENFILE = 23;
42     Sys_EMFILE = 24;
43     Sys_ENOTTY = 25;
44     Sys_ETXTBSY = 26;
45     Sys_EFBIG = 27;
46     Sys_ENOSPC = 28;
47     Sys_ESPIPE = 29;
48     Sys_EROFS = 30;
49     Sys_EMLINK = 31;
50     Sys_EPIPE = 32;
51     Sys_EDOM = 33;
52     Sys_ERANGE = 34;
53     Sys_ENOMSG = 35;
54     Sys_EIDRM = 36;
55     Sys_ECHRNG = 37;
56     Sys_EL2NSYNC = 38;
57     Sys_EL3HLT = 39;
58     Sys_EL3RST = 40;
59     Sys_ELNRNG = 41;
60     Sys_EUNATCH = 42;
61     Sys_ENOCSI = 43;
62     Sys_EL2HLT = 44;
63     Sys_EDEADLK = 45;
64     Sys_ENOLCK = 46;
65     Sys_ECANCELED = 47;
66  { Not supported (1003.1b-1993)              }
67     Sys_ENOTSUP = 48;
68     Sys_EDQUOT = 49;
69
70     Sys_EBADE = 50;
71     Sys_EBADR = 51;
72     Sys_EXFULL = 52;
73     Sys_ENOANO = 53;
74     Sys_EBADRQC = 54;
75     Sys_EBADSLT = 55;
76     Sys_EDEADLOCK = 56;
77     Sys_EBFONT = 57;
78     Sys_ENOSTR = 60;
79     Sys_ENODATA = 61;
80     Sys_ETIME = 62;
81     Sys_ENOSR = 63;
82     Sys_ENONET = 64;
83     Sys_ENOPKG = 65;
84     Sys_EREMOTE = 66;
85     Sys_ENOLINK = 67;
86     Sys_EADV = 68;
87     Sys_ESRMNT = 69;
88     Sys_ECOMM = 70;
89     Sys_EPROTO = 71;
90     Sys_EMULTIHOP = 74;
91     Sys_EBADMSG = 77;
92     Sys_ENAMETOOLONG = 78;
93     Sys_EOVERFLOW = 79;
94     Sys_ENOTUNIQ = 80;
95     Sys_EBADFD = 81;
96     Sys_EREMCHG = 82;
97     Sys_ELIBACC = 83;
98     Sys_ELIBBAD = 84;
99     Sys_ELIBSCN = 85;
100     Sys_ELIBMAX = 86;
101     Sys_ELIBEXEC = 87;
102     Sys_EILSEQ = 88;
103     Sys_ENOSYS = 89;
104     Sys_ELOOP = 90;
105     Sys_ERESTART = 91;
106     Sys_ESTRPIPE = 92;
107     Sys_ENOTEMPTY = 93;
108     Sys_EUSERS = 94;
109     Sys_EOPNOTSUPP = 103;
110     Sys_EFPOS = 110;
111     Sys_ESTALE = 122;
112     Sys_EWOULDBLOCK = Sys_EAGAIN;
113     Sys_EINPROGRESS = 236;
114     Sys_EALREADY = Sys_EBUSY;
115     Sys_ENOTSOCK = 238;
116     Sys_EDESTADDRREQ = 239;
117     Sys_EMSGSIZE = 240;
118     Sys_EPROTOTYPE = 241;
119     Sys_ENOPROTOOPT = 242;
120     Sys_EPROTONOSUPPORT = 243;
121     Sys_ESOCKTNOSUPPORT = 244;
122     Sys_EPFNOSUPPORT = 246;
123     Sys_EAFNOSUPPORT = 247;
124     Sys_EADDRINUSE = 248;
125     Sys_EADDRNOTAVAIL = 249;
126     Sys_ENETDOWN = 250;
127     Sys_ENETUNREACH = 251;
128     Sys_ENETRESET = 252;
129     Sys_ECONNABORTED = 253;
130     Sys_ECONNRESET = 254;
131     Sys_ENOBUFS = 255;
132     Sys_EISCONN = 256;
133     Sys_ENOTCONN = 257;
134     Sys_ESHUTDOWN = 258;
135     Sys_ETOOMANYREFS = 259;
136     Sys_ETIMEDOUT = 260;
137     Sys_ECONNREFUSED = 261;
138     Sys_EHOSTDOWN = 264;
139     Sys_EHOSTUNREACH = 265;
140     Sys_EBADRPC = 272;
141     Sys_ERPCMISMATCH = 273;
142     Sys_EPROGUNAVAIL = 274;
143     Sys_EPROGMISMATCH = 275;
144     Sys_EPROCUNAVAIL = 276;
145     { --- QNX specific ---  }
146
147     Sys_ENOREMOTE = 300;{ Must be done on local machine            }
148     Sys_ENONDP    = 301;   { Need an NDP (8087...) to run             }
149     Sys_EBADFSYS  = 302;   { Corrupted file system detected           }
150     Sys_EMORE     = 309;  { More to do, send message again           }
151     Sys_ECTRLTERM = 310;   { Remap to the controlling terminal        }
152     Sys_ENOLIC    = 311;  { No license                               }
153     Sys_ESRVRFAULT = 312;   { Server fault on msg pass                 }
154     Sys_EENDIAN    = 313;   { Endian not supported                     }
155
156{
157  $Log: errno.inc,v $
158  Revision 1.1.2.2  2001/12/20 02:55:00  carl
159  + QNX versions (still untested)
160
161  Revision 1.1.2.1  2001/11/26 03:00:10  carl
162  + started qnx port
163
164}