]> git.saurik.com Git - apple/xnu.git/blob - bsd/dev/dtrace/scripts/errno.d
xnu-7195.101.1.tar.gz
[apple/xnu.git] / bsd / dev / dtrace / scripts / errno.d
1 /*
2 * Copyright (c) 2005-2006 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
6 * The contents of this file constitute Original Code as defined in and
7 * are subject to the Apple Public Source License Version 1.1 (the
8 * "License"). You may not use this file except in compliance with the
9 * License. Please obtain a copy of the License at
10 * http://www.apple.com/publicsource and read it before using this file.
11 *
12 * This Original Code and all software distributed under the License are
13 * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
14 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
15 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
17 * License for the specific language governing rights and limitations
18 * under the License.
19 *
20 * @APPLE_LICENSE_HEADER_END@
21 */
22
23 inline int EPERM = 1;
24 #pragma D binding "1.0" EPERM
25 inline int ENOENT = 2;
26 #pragma D binding "1.0" ENOENT
27 inline int ESRCH = 3;
28 #pragma D binding "1.0" ESRCH
29 inline int EINTR = 4;
30 #pragma D binding "1.0" EINTR
31 inline int EIO = 5;
32 #pragma D binding "1.0" EIO
33 inline int ENXIO = 6;
34 #pragma D binding "1.0" ENXIO
35 inline int E2BIG = 7;
36 #pragma D binding "1.0" E2BIG
37 inline int ENOEXEC = 8;
38 #pragma D binding "1.0" ENOEXEC
39 inline int EBADF = 9;
40 #pragma D binding "1.0" EBADF
41 inline int ECHILD = 10;
42 #pragma D binding "1.0" ECHILD
43 inline int EDEADLK = 11;
44 #pragma D binding "1.0" EDEADLK
45 inline int ENOMEM = 12;
46 #pragma D binding "1.0" ENOMEM
47 inline int EACCES = 13;
48 #pragma D binding "1.0" EACCES
49 inline int EFAULT = 14;
50 #pragma D binding "1.0" EFAULT
51 inline int ENOTBLK = 15;
52 #pragma D binding "1.0" ENOTBLK
53 inline int EBUSY = 16;
54 #pragma D binding "1.0" EBUSY
55 inline int EEXIST = 17;
56 #pragma D binding "1.0" EEXIST
57 inline int EXDEV = 18;
58 #pragma D binding "1.0" EXDEV
59 inline int ENODEV = 19;
60 #pragma D binding "1.0" ENODEV
61 inline int ENOTDIR = 20;
62 #pragma D binding "1.0" ENOTDIR
63 inline int EISDIR = 21;
64 #pragma D binding "1.0" EISDIR
65 inline int EINVAL = 22;
66 #pragma D binding "1.0" EINVAL
67 inline int ENFILE = 23;
68 #pragma D binding "1.0" ENFILE
69 inline int EMFILE = 24;
70 #pragma D binding "1.0" EMFILE
71 inline int ENOTTY = 25;
72 #pragma D binding "1.0" ENOTTY
73 inline int ETXTBSY = 26;
74 #pragma D binding "1.0" ETXTBSY
75 inline int EFBIG = 27;
76 #pragma D binding "1.0" EFBIG
77 inline int ENOSPC = 28;
78 #pragma D binding "1.0" ENOSPC
79 inline int ESPIPE = 29;
80 #pragma D binding "1.0" ESPIPE
81 inline int EROFS = 30;
82 #pragma D binding "1.0" EROFS
83 inline int EMLINK = 31;
84 #pragma D binding "1.0" EMLINK
85 inline int EPIPE = 32;
86 #pragma D binding "1.0" EPIPE
87 inline int EDOM = 33;
88 #pragma D binding "1.0" EDOM
89 inline int ERANGE = 34;
90 #pragma D binding "1.0" ERANGE
91 inline int EAGAIN = 35;
92 inline int EWOULDBLOCK = 35;
93 #pragma D binding "1.0" EAGAIN
94 #pragma D binding "1.0" EWOULDBLOCK
95 inline int EINPROGRESS = 36;
96 #pragma D binding "1.0" EINPROGRESS
97 inline int EALREADY = 37;
98 #pragma D binding "1.0" EALREADY
99 inline int ENOTSOCK = 38;
100 #pragma D binding "1.0" ENOTSOCK
101 inline int EDESTADDRREQ = 39;
102 #pragma D binding "1.0" EDESTADDRREQ
103 inline int EMSGSIZE = 40;
104 #pragma D binding "1.0" EMSGSIZE
105 inline int EPROTOTYPE = 41;
106 #pragma D binding "1.0" EPROTOTYPE
107 inline int ENOPROTOOPT = 42;
108 #pragma D binding "1.0" ENOPROTOOPT
109 inline int EPROTONOSUPPORT = 43;
110 #pragma D binding "1.0" EPROTONOSUPPORT
111 inline int ESOCKTNOSUPPORT = 44;
112 #pragma D binding "1.0" ESOCKTNOSUPPORT
113 inline int ENOTSUP = 45;
114 #pragma D binding "1.0" ENOTSUP
115 inline int EPFNOSUPPORT = 46;
116 #pragma D binding "1.0" EPFNOSUPPORT
117 inline int EAFNOSUPPORT = 47;
118 #pragma D binding "1.0" EAFNOSUPPORT
119 inline int EADDRINUSE = 48;
120 #pragma D binding "1.0" EADDRINUSE
121 inline int EADDRNOTAVAIL = 49;
122 #pragma D binding "1.0" EADDRNOTAVAIL
123 inline int ENETDOWN = 50;
124 #pragma D binding "1.0" ENETDOWN
125 inline int ENETUNREACH = 51;
126 #pragma D binding "1.0" ENETUNREACH
127 inline int ENETRESET = 52;
128 #pragma D binding "1.0" ENETRESET
129 inline int ECONNABORTED = 53;
130 #pragma D binding "1.0" ECONNABORTED
131 inline int ECONNRESET = 54;
132 #pragma D binding "1.0" ECONNRESET
133 inline int ENOBUFS = 55;
134 #pragma D binding "1.0" ENOBUFS
135 inline int EISCONN = 56;
136 #pragma D binding "1.0" EISCONN
137 inline int ENOTCONN = 57;
138 #pragma D binding "1.0" ENOTCONN
139 inline int ESHUTDOWN = 58;
140 #pragma D binding "1.0" ESHUTDOWN
141 inline int ETOOMANYREFS = 59;
142 #pragma D binding "1.0" ETOOMANYREFS
143 inline int ETIMEDOUT = 60;
144 #pragma D binding "1.0" ETIMEDOUT
145 inline int ECONNREFUSED = 61;
146 #pragma D binding "1.0" ECONNREFUSED
147 inline int ELOOP = 62;
148 #pragma D binding "1.0" ELOOP
149 inline int ENAMETOOLONG = 63;
150 #pragma D binding "1.0" ENAMETOOLONG
151 inline int EHOSTDOWN = 64;
152 #pragma D binding "1.0" EHOSTDOWN
153 inline int EHOSTUNREACH = 65;
154 #pragma D binding "1.0" EHOSTUNREACH
155 inline int ENOTEMPTY = 66;
156 #pragma D binding "1.0" ENOTEMPTY
157 inline int EPROCLIM = 67;
158 #pragma D binding "1.0" EPROCLIM
159 inline int EUSERS = 68;
160 #pragma D binding "1.0" EUSERS
161 inline int EDQUOT = 69;
162 #pragma D binding "1.0" EDQUOT
163 inline int ESTALE = 70;
164 #pragma D binding "1.0" ESTALE
165 inline int EREMOTE = 71;
166 #pragma D binding "1.0" EREMOTE
167 inline int EBADRPC = 72;
168 #pragma D binding "1.0" EBADRPC
169 inline int ERPCMISMATCH = 73;
170 #pragma D binding "1.0" ERPCMISMATCH
171 inline int EPROGUNAVAIL = 74;
172 #pragma D binding "1.0" EPROGUNAVAIL
173 inline int EPROGMISMATCH = 75;
174 #pragma D binding "1.0" EPROGMISMATCH
175 inline int EPROCUNAVAIL = 76;
176 #pragma D binding "1.0" EPROCUNAVAIL
177 inline int ENOLCK = 77;
178 #pragma D binding "1.0" ENOLCK
179 inline int ENOSYS = 78;
180 #pragma D binding "1.0" ENOSYS
181 inline int EFTYPE = 79;
182 #pragma D binding "1.0" EFTYPE
183 inline int EAUTH = 80;
184 #pragma D binding "1.0" EAUTH
185 inline int ENEEDAUTH = 81;
186 #pragma D binding "1.0" ENEEDAUTH
187 inline int EPWROFF = 82;
188 #pragma D binding "1.0" EPWROFF
189 inline int EDEVERR = 83;
190 #pragma D binding "1.0" EDEVERR
191 inline int EOVERFLOW = 84;
192 #pragma D binding "1.0" EOVERFLOW
193 inline int EBADEXEC = 85;
194 #pragma D binding "1.0" EBADEXEC
195 inline int EBADARCH = 86;
196 #pragma D binding "1.0" EBADARCH
197 inline int ESHLIBVERS = 87;
198 #pragma D binding "1.0" ESHLIBVERS
199 inline int EBADMACHO = 88;
200 #pragma D binding "1.0" EBADMACHO
201 inline int ECANCELED = 89;
202 #pragma D binding "1.0" ECANCELED
203 inline int EIDRM = 90;
204 #pragma D binding "1.0" EIDRM
205 inline int ENOMSG = 91;
206 #pragma D binding "1.0" ENOMSG
207 inline int EILSEQ = 92;
208 #pragma D binding "1.0" EILSEQ
209 inline int ENOATTR = 93;
210 #pragma D binding "1.0" ENOATTR
211 inline int EBADMSG = 94;
212 #pragma D binding "1.0" EBADMSG
213 inline int EMULTIHOP = 95;
214 #pragma D binding "1.0" EMULTIHOP
215 inline int ENODATA = 96;
216 #pragma D binding "1.0" ENODATA
217 inline int ENOLINK = 97;
218 #pragma D binding "1.0" ENOLINK
219 inline int ENOSR = 98;
220 #pragma D binding "1.0" ENOSR
221 inline int ENOSTR = 99;
222 #pragma D binding "1.0" ENOSTR
223 inline int EPROTO = 100;
224 #pragma D binding "1.0" EPROTO
225 inline int ETIME = 101;
226 #pragma D binding "1.0" ETIME
227 inline int EOPNOTSUPP = 102;
228 #pragma D binding "1.0" EOPNOTSUPP
229 inline int ELAST = 102;
230 #pragma D binding "1.0" ELAST