author | Mikael Berthe <mikael@lilotux.net> |
Sun, 11 Jul 2021 10:35:56 +0200 | |
changeset 256 | 6d9efbef00a9 |
parent 251 | 1c52a0eeb952 |
child 260 | 445e01aede7e |
permissions | -rw-r--r-- |
242
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
1 |
// mkerrors.sh -Wall -Werror -static -I/tmp/include |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
2 |
// Code generated by the command above; see README.md. DO NOT EDIT. |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
3 |
|
256 | 4 |
//go:build mips64le && linux |
242
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
5 |
// +build mips64le,linux |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
6 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
7 |
// Code generated by cmd/cgo -godefs; DO NOT EDIT. |
256 | 8 |
// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/_const.go |
242
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
9 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
10 |
package unix |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
11 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
12 |
import "syscall" |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
13 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
14 |
const ( |
256 | 15 |
B1000000 = 0x1008 |
16 |
B115200 = 0x1002 |
|
17 |
B1152000 = 0x1009 |
|
18 |
B1500000 = 0x100a |
|
19 |
B2000000 = 0x100b |
|
20 |
B230400 = 0x1003 |
|
21 |
B2500000 = 0x100c |
|
22 |
B3000000 = 0x100d |
|
23 |
B3500000 = 0x100e |
|
24 |
B4000000 = 0x100f |
|
25 |
B460800 = 0x1004 |
|
26 |
B500000 = 0x1005 |
|
27 |
B57600 = 0x1001 |
|
28 |
B576000 = 0x1006 |
|
29 |
B921600 = 0x1007 |
|
30 |
BLKBSZGET = 0x40081270 |
|
31 |
BLKBSZSET = 0x80081271 |
|
32 |
BLKFLSBUF = 0x20001261 |
|
33 |
BLKFRAGET = 0x20001265 |
|
34 |
BLKFRASET = 0x20001264 |
|
35 |
BLKGETSIZE = 0x20001260 |
|
36 |
BLKGETSIZE64 = 0x40081272 |
|
37 |
BLKPBSZGET = 0x2000127b |
|
38 |
BLKRAGET = 0x20001263 |
|
39 |
BLKRASET = 0x20001262 |
|
40 |
BLKROGET = 0x2000125e |
|
41 |
BLKROSET = 0x2000125d |
|
42 |
BLKRRPART = 0x2000125f |
|
43 |
BLKSECTGET = 0x20001267 |
|
44 |
BLKSECTSET = 0x20001266 |
|
45 |
BLKSSZGET = 0x20001268 |
|
46 |
BOTHER = 0x1000 |
|
47 |
BS1 = 0x2000 |
|
48 |
BSDLY = 0x2000 |
|
49 |
CBAUD = 0x100f |
|
50 |
CBAUDEX = 0x1000 |
|
51 |
CIBAUD = 0x100f0000 |
|
52 |
CLOCAL = 0x800 |
|
53 |
CR1 = 0x200 |
|
54 |
CR2 = 0x400 |
|
55 |
CR3 = 0x600 |
|
56 |
CRDLY = 0x600 |
|
57 |
CREAD = 0x80 |
|
58 |
CS6 = 0x10 |
|
59 |
CS7 = 0x20 |
|
60 |
CS8 = 0x30 |
|
61 |
CSIZE = 0x30 |
|
62 |
CSTOPB = 0x40 |
|
63 |
ECCGETLAYOUT = 0x41484d11 |
|
64 |
ECCGETSTATS = 0x40104d12 |
|
65 |
ECHOCTL = 0x200 |
|
66 |
ECHOE = 0x10 |
|
67 |
ECHOK = 0x20 |
|
68 |
ECHOKE = 0x800 |
|
69 |
ECHONL = 0x40 |
|
70 |
ECHOPRT = 0x400 |
|
71 |
EFD_CLOEXEC = 0x80000 |
|
72 |
EFD_NONBLOCK = 0x80 |
|
73 |
EPOLL_CLOEXEC = 0x80000 |
|
74 |
EXTPROC = 0x10000 |
|
75 |
FF1 = 0x8000 |
|
76 |
FFDLY = 0x8000 |
|
77 |
FICLONE = 0x80049409 |
|
78 |
FICLONERANGE = 0x8020940d |
|
79 |
FLUSHO = 0x2000 |
|
80 |
FS_IOC_ENABLE_VERITY = 0x80806685 |
|
81 |
FS_IOC_GETFLAGS = 0x40086601 |
|
82 |
FS_IOC_GET_ENCRYPTION_NONCE = 0x4010661b |
|
83 |
FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615 |
|
84 |
FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614 |
|
85 |
FS_IOC_SETFLAGS = 0x80086602 |
|
86 |
FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613 |
|
87 |
F_GETLK = 0xe |
|
88 |
F_GETLK64 = 0xe |
|
89 |
F_GETOWN = 0x17 |
|
90 |
F_RDLCK = 0x0 |
|
91 |
F_SETLK = 0x6 |
|
92 |
F_SETLK64 = 0x6 |
|
93 |
F_SETLKW = 0x7 |
|
94 |
F_SETLKW64 = 0x7 |
|
95 |
F_SETOWN = 0x18 |
|
96 |
F_UNLCK = 0x2 |
|
97 |
F_WRLCK = 0x1 |
|
98 |
HIDIOCGRAWINFO = 0x40084803 |
|
99 |
HIDIOCGRDESC = 0x50044802 |
|
100 |
HIDIOCGRDESCSIZE = 0x40044801 |
|
101 |
HUPCL = 0x400 |
|
102 |
ICANON = 0x2 |
|
103 |
IEXTEN = 0x100 |
|
104 |
IN_CLOEXEC = 0x80000 |
|
105 |
IN_NONBLOCK = 0x80 |
|
106 |
IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x200007b9 |
|
107 |
ISIG = 0x1 |
|
108 |
IUCLC = 0x200 |
|
109 |
IXOFF = 0x1000 |
|
110 |
IXON = 0x400 |
|
111 |
MAP_ANON = 0x800 |
|
112 |
MAP_ANONYMOUS = 0x800 |
|
113 |
MAP_DENYWRITE = 0x2000 |
|
114 |
MAP_EXECUTABLE = 0x4000 |
|
115 |
MAP_GROWSDOWN = 0x1000 |
|
116 |
MAP_HUGETLB = 0x80000 |
|
117 |
MAP_LOCKED = 0x8000 |
|
118 |
MAP_NONBLOCK = 0x20000 |
|
119 |
MAP_NORESERVE = 0x400 |
|
120 |
MAP_POPULATE = 0x10000 |
|
121 |
MAP_RENAME = 0x800 |
|
122 |
MAP_STACK = 0x40000 |
|
123 |
MCL_CURRENT = 0x1 |
|
124 |
MCL_FUTURE = 0x2 |
|
125 |
MCL_ONFAULT = 0x4 |
|
126 |
MEMERASE = 0x80084d02 |
|
127 |
MEMERASE64 = 0x80104d14 |
|
128 |
MEMGETBADBLOCK = 0x80084d0b |
|
129 |
MEMGETINFO = 0x40204d01 |
|
130 |
MEMGETOOBSEL = 0x40c84d0a |
|
131 |
MEMGETREGIONCOUNT = 0x40044d07 |
|
132 |
MEMISLOCKED = 0x40084d17 |
|
133 |
MEMLOCK = 0x80084d05 |
|
134 |
MEMREADOOB = 0xc0104d04 |
|
135 |
MEMSETBADBLOCK = 0x80084d0c |
|
136 |
MEMUNLOCK = 0x80084d06 |
|
137 |
MEMWRITEOOB = 0xc0104d03 |
|
138 |
MTDFILEMODE = 0x20004d13 |
|
139 |
NFDBITS = 0x40 |
|
140 |
NLDLY = 0x100 |
|
141 |
NOFLSH = 0x80 |
|
142 |
NS_GET_NSTYPE = 0x2000b703 |
|
143 |
NS_GET_OWNER_UID = 0x2000b704 |
|
144 |
NS_GET_PARENT = 0x2000b702 |
|
145 |
NS_GET_USERNS = 0x2000b701 |
|
146 |
OLCUC = 0x2 |
|
147 |
ONLCR = 0x4 |
|
148 |
OTPGETREGIONCOUNT = 0x80044d0e |
|
149 |
OTPGETREGIONINFO = 0x800c4d0f |
|
150 |
OTPLOCK = 0x400c4d10 |
|
151 |
OTPSELECT = 0x40044d0d |
|
152 |
O_APPEND = 0x8 |
|
153 |
O_ASYNC = 0x1000 |
|
154 |
O_CLOEXEC = 0x80000 |
|
155 |
O_CREAT = 0x100 |
|
156 |
O_DIRECT = 0x8000 |
|
157 |
O_DIRECTORY = 0x10000 |
|
158 |
O_DSYNC = 0x10 |
|
159 |
O_EXCL = 0x400 |
|
160 |
O_FSYNC = 0x4010 |
|
161 |
O_LARGEFILE = 0x0 |
|
162 |
O_NDELAY = 0x80 |
|
163 |
O_NOATIME = 0x40000 |
|
164 |
O_NOCTTY = 0x800 |
|
165 |
O_NOFOLLOW = 0x20000 |
|
166 |
O_NONBLOCK = 0x80 |
|
167 |
O_PATH = 0x200000 |
|
168 |
O_RSYNC = 0x4010 |
|
169 |
O_SYNC = 0x4010 |
|
170 |
O_TMPFILE = 0x410000 |
|
171 |
O_TRUNC = 0x200 |
|
172 |
PARENB = 0x100 |
|
173 |
PARODD = 0x200 |
|
174 |
PENDIN = 0x4000 |
|
175 |
PERF_EVENT_IOC_DISABLE = 0x20002401 |
|
176 |
PERF_EVENT_IOC_ENABLE = 0x20002400 |
|
177 |
PERF_EVENT_IOC_ID = 0x40082407 |
|
178 |
PERF_EVENT_IOC_MODIFY_ATTRIBUTES = 0x8008240b |
|
179 |
PERF_EVENT_IOC_PAUSE_OUTPUT = 0x80042409 |
|
180 |
PERF_EVENT_IOC_PERIOD = 0x80082404 |
|
181 |
PERF_EVENT_IOC_QUERY_BPF = 0xc008240a |
|
182 |
PERF_EVENT_IOC_REFRESH = 0x20002402 |
|
183 |
PERF_EVENT_IOC_RESET = 0x20002403 |
|
184 |
PERF_EVENT_IOC_SET_BPF = 0x80042408 |
|
185 |
PERF_EVENT_IOC_SET_FILTER = 0x80082406 |
|
186 |
PERF_EVENT_IOC_SET_OUTPUT = 0x20002405 |
|
187 |
PPPIOCATTACH = 0x8004743d |
|
188 |
PPPIOCATTCHAN = 0x80047438 |
|
189 |
PPPIOCBRIDGECHAN = 0x80047435 |
|
190 |
PPPIOCCONNECT = 0x8004743a |
|
191 |
PPPIOCDETACH = 0x8004743c |
|
192 |
PPPIOCDISCONN = 0x20007439 |
|
193 |
PPPIOCGASYNCMAP = 0x40047458 |
|
194 |
PPPIOCGCHAN = 0x40047437 |
|
195 |
PPPIOCGDEBUG = 0x40047441 |
|
196 |
PPPIOCGFLAGS = 0x4004745a |
|
197 |
PPPIOCGIDLE = 0x4010743f |
|
198 |
PPPIOCGIDLE32 = 0x4008743f |
|
199 |
PPPIOCGIDLE64 = 0x4010743f |
|
200 |
PPPIOCGL2TPSTATS = 0x40487436 |
|
201 |
PPPIOCGMRU = 0x40047453 |
|
202 |
PPPIOCGRASYNCMAP = 0x40047455 |
|
203 |
PPPIOCGUNIT = 0x40047456 |
|
204 |
PPPIOCGXASYNCMAP = 0x40207450 |
|
205 |
PPPIOCSACTIVE = 0x80107446 |
|
206 |
PPPIOCSASYNCMAP = 0x80047457 |
|
207 |
PPPIOCSCOMPRESS = 0x8010744d |
|
208 |
PPPIOCSDEBUG = 0x80047440 |
|
209 |
PPPIOCSFLAGS = 0x80047459 |
|
210 |
PPPIOCSMAXCID = 0x80047451 |
|
211 |
PPPIOCSMRRU = 0x8004743b |
|
212 |
PPPIOCSMRU = 0x80047452 |
|
213 |
PPPIOCSNPMODE = 0x8008744b |
|
214 |
PPPIOCSPASS = 0x80107447 |
|
215 |
PPPIOCSRASYNCMAP = 0x80047454 |
|
216 |
PPPIOCSXASYNCMAP = 0x8020744f |
|
217 |
PPPIOCUNBRIDGECHAN = 0x20007434 |
|
218 |
PPPIOCXFERUNIT = 0x2000744e |
|
219 |
PR_SET_PTRACER_ANY = 0xffffffffffffffff |
|
220 |
PTRACE_GETFPREGS = 0xe |
|
221 |
PTRACE_GET_THREAD_AREA = 0x19 |
|
222 |
PTRACE_GET_THREAD_AREA_3264 = 0xc4 |
|
223 |
PTRACE_GET_WATCH_REGS = 0xd0 |
|
224 |
PTRACE_OLDSETOPTIONS = 0x15 |
|
225 |
PTRACE_PEEKDATA_3264 = 0xc1 |
|
226 |
PTRACE_PEEKTEXT_3264 = 0xc0 |
|
227 |
PTRACE_POKEDATA_3264 = 0xc3 |
|
228 |
PTRACE_POKETEXT_3264 = 0xc2 |
|
229 |
PTRACE_SETFPREGS = 0xf |
|
230 |
PTRACE_SET_THREAD_AREA = 0x1a |
|
231 |
PTRACE_SET_WATCH_REGS = 0xd1 |
|
232 |
RLIMIT_AS = 0x6 |
|
233 |
RLIMIT_MEMLOCK = 0x9 |
|
234 |
RLIMIT_NOFILE = 0x5 |
|
235 |
RLIMIT_NPROC = 0x8 |
|
236 |
RLIMIT_RSS = 0x7 |
|
237 |
RNDADDENTROPY = 0x80085203 |
|
238 |
RNDADDTOENTCNT = 0x80045201 |
|
239 |
RNDCLEARPOOL = 0x20005206 |
|
240 |
RNDGETENTCNT = 0x40045200 |
|
241 |
RNDGETPOOL = 0x40085202 |
|
242 |
RNDRESEEDCRNG = 0x20005207 |
|
243 |
RNDZAPENTCNT = 0x20005204 |
|
244 |
RTC_AIE_OFF = 0x20007002 |
|
245 |
RTC_AIE_ON = 0x20007001 |
|
246 |
RTC_ALM_READ = 0x40247008 |
|
247 |
RTC_ALM_SET = 0x80247007 |
|
248 |
RTC_EPOCH_READ = 0x4008700d |
|
249 |
RTC_EPOCH_SET = 0x8008700e |
|
250 |
RTC_IRQP_READ = 0x4008700b |
|
251 |
RTC_IRQP_SET = 0x8008700c |
|
252 |
RTC_PIE_OFF = 0x20007006 |
|
253 |
RTC_PIE_ON = 0x20007005 |
|
254 |
RTC_PLL_GET = 0x40207011 |
|
255 |
RTC_PLL_SET = 0x80207012 |
|
256 |
RTC_RD_TIME = 0x40247009 |
|
257 |
RTC_SET_TIME = 0x8024700a |
|
258 |
RTC_UIE_OFF = 0x20007004 |
|
259 |
RTC_UIE_ON = 0x20007003 |
|
260 |
RTC_VL_CLR = 0x20007014 |
|
261 |
RTC_VL_READ = 0x40047013 |
|
262 |
RTC_WIE_OFF = 0x20007010 |
|
263 |
RTC_WIE_ON = 0x2000700f |
|
264 |
RTC_WKALM_RD = 0x40287010 |
|
265 |
RTC_WKALM_SET = 0x8028700f |
|
266 |
SCM_TIMESTAMPING = 0x25 |
|
267 |
SCM_TIMESTAMPING_OPT_STATS = 0x36 |
|
268 |
SCM_TIMESTAMPING_PKTINFO = 0x3a |
|
269 |
SCM_TIMESTAMPNS = 0x23 |
|
270 |
SCM_TXTIME = 0x3d |
|
271 |
SCM_WIFI_STATUS = 0x29 |
|
272 |
SFD_CLOEXEC = 0x80000 |
|
273 |
SFD_NONBLOCK = 0x80 |
|
274 |
SIOCATMARK = 0x40047307 |
|
275 |
SIOCGPGRP = 0x40047309 |
|
276 |
SIOCGSTAMPNS_NEW = 0x40108907 |
|
277 |
SIOCGSTAMP_NEW = 0x40108906 |
|
278 |
SIOCINQ = 0x467f |
|
279 |
SIOCOUTQ = 0x7472 |
|
280 |
SIOCSPGRP = 0x80047308 |
|
281 |
SOCK_CLOEXEC = 0x80000 |
|
282 |
SOCK_DGRAM = 0x1 |
|
283 |
SOCK_NONBLOCK = 0x80 |
|
284 |
SOCK_STREAM = 0x2 |
|
285 |
SOL_SOCKET = 0xffff |
|
286 |
SO_ACCEPTCONN = 0x1009 |
|
287 |
SO_ATTACH_BPF = 0x32 |
|
288 |
SO_ATTACH_REUSEPORT_CBPF = 0x33 |
|
289 |
SO_ATTACH_REUSEPORT_EBPF = 0x34 |
|
290 |
SO_BINDTODEVICE = 0x19 |
|
291 |
SO_BINDTOIFINDEX = 0x3e |
|
292 |
SO_BPF_EXTENSIONS = 0x30 |
|
293 |
SO_BROADCAST = 0x20 |
|
294 |
SO_BSDCOMPAT = 0xe |
|
295 |
SO_BUSY_POLL = 0x2e |
|
296 |
SO_BUSY_POLL_BUDGET = 0x46 |
|
297 |
SO_CNX_ADVICE = 0x35 |
|
298 |
SO_COOKIE = 0x39 |
|
299 |
SO_DETACH_REUSEPORT_BPF = 0x44 |
|
300 |
SO_DOMAIN = 0x1029 |
|
301 |
SO_DONTROUTE = 0x10 |
|
302 |
SO_ERROR = 0x1007 |
|
303 |
SO_INCOMING_CPU = 0x31 |
|
304 |
SO_INCOMING_NAPI_ID = 0x38 |
|
305 |
SO_KEEPALIVE = 0x8 |
|
306 |
SO_LINGER = 0x80 |
|
307 |
SO_LOCK_FILTER = 0x2c |
|
308 |
SO_MARK = 0x24 |
|
309 |
SO_MAX_PACING_RATE = 0x2f |
|
310 |
SO_MEMINFO = 0x37 |
|
311 |
SO_NOFCS = 0x2b |
|
312 |
SO_OOBINLINE = 0x100 |
|
313 |
SO_PASSCRED = 0x11 |
|
314 |
SO_PASSSEC = 0x22 |
|
315 |
SO_PEEK_OFF = 0x2a |
|
316 |
SO_PEERCRED = 0x12 |
|
317 |
SO_PEERGROUPS = 0x3b |
|
318 |
SO_PEERSEC = 0x1e |
|
319 |
SO_PREFER_BUSY_POLL = 0x45 |
|
320 |
SO_PROTOCOL = 0x1028 |
|
321 |
SO_RCVBUF = 0x1002 |
|
322 |
SO_RCVBUFFORCE = 0x21 |
|
323 |
SO_RCVLOWAT = 0x1004 |
|
324 |
SO_RCVTIMEO = 0x1006 |
|
325 |
SO_RCVTIMEO_NEW = 0x42 |
|
326 |
SO_RCVTIMEO_OLD = 0x1006 |
|
327 |
SO_REUSEADDR = 0x4 |
|
328 |
SO_REUSEPORT = 0x200 |
|
329 |
SO_RXQ_OVFL = 0x28 |
|
330 |
SO_SECURITY_AUTHENTICATION = 0x16 |
|
331 |
SO_SECURITY_ENCRYPTION_NETWORK = 0x18 |
|
332 |
SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17 |
|
333 |
SO_SELECT_ERR_QUEUE = 0x2d |
|
334 |
SO_SNDBUF = 0x1001 |
|
335 |
SO_SNDBUFFORCE = 0x1f |
|
336 |
SO_SNDLOWAT = 0x1003 |
|
337 |
SO_SNDTIMEO = 0x1005 |
|
338 |
SO_SNDTIMEO_NEW = 0x43 |
|
339 |
SO_SNDTIMEO_OLD = 0x1005 |
|
340 |
SO_STYLE = 0x1008 |
|
341 |
SO_TIMESTAMPING = 0x25 |
|
342 |
SO_TIMESTAMPING_NEW = 0x41 |
|
343 |
SO_TIMESTAMPING_OLD = 0x25 |
|
344 |
SO_TIMESTAMPNS = 0x23 |
|
345 |
SO_TIMESTAMPNS_NEW = 0x40 |
|
346 |
SO_TIMESTAMPNS_OLD = 0x23 |
|
347 |
SO_TIMESTAMP_NEW = 0x3f |
|
348 |
SO_TXTIME = 0x3d |
|
349 |
SO_TYPE = 0x1008 |
|
350 |
SO_WIFI_STATUS = 0x29 |
|
351 |
SO_ZEROCOPY = 0x3c |
|
352 |
TAB1 = 0x800 |
|
353 |
TAB2 = 0x1000 |
|
354 |
TAB3 = 0x1800 |
|
355 |
TABDLY = 0x1800 |
|
356 |
TCFLSH = 0x5407 |
|
357 |
TCGETA = 0x5401 |
|
358 |
TCGETS = 0x540d |
|
359 |
TCGETS2 = 0x4030542a |
|
360 |
TCSAFLUSH = 0x5410 |
|
361 |
TCSBRK = 0x5405 |
|
362 |
TCSBRKP = 0x5486 |
|
363 |
TCSETA = 0x5402 |
|
364 |
TCSETAF = 0x5404 |
|
365 |
TCSETAW = 0x5403 |
|
366 |
TCSETS = 0x540e |
|
367 |
TCSETS2 = 0x8030542b |
|
368 |
TCSETSF = 0x5410 |
|
369 |
TCSETSF2 = 0x8030542d |
|
370 |
TCSETSW = 0x540f |
|
371 |
TCSETSW2 = 0x8030542c |
|
372 |
TCXONC = 0x5406 |
|
373 |
TFD_CLOEXEC = 0x80000 |
|
374 |
TFD_NONBLOCK = 0x80 |
|
375 |
TIOCCBRK = 0x5428 |
|
376 |
TIOCCONS = 0x80047478 |
|
377 |
TIOCEXCL = 0x740d |
|
378 |
TIOCGDEV = 0x40045432 |
|
379 |
TIOCGETD = 0x7400 |
|
380 |
TIOCGETP = 0x7408 |
|
381 |
TIOCGEXCL = 0x40045440 |
|
382 |
TIOCGICOUNT = 0x5492 |
|
383 |
TIOCGISO7816 = 0x40285442 |
|
384 |
TIOCGLCKTRMIOS = 0x548b |
|
385 |
TIOCGLTC = 0x7474 |
|
386 |
TIOCGPGRP = 0x40047477 |
|
387 |
TIOCGPKT = 0x40045438 |
|
388 |
TIOCGPTLCK = 0x40045439 |
|
389 |
TIOCGPTN = 0x40045430 |
|
390 |
TIOCGPTPEER = 0x20005441 |
|
391 |
TIOCGRS485 = 0x4020542e |
|
392 |
TIOCGSERIAL = 0x5484 |
|
393 |
TIOCGSID = 0x7416 |
|
394 |
TIOCGSOFTCAR = 0x5481 |
|
395 |
TIOCGWINSZ = 0x40087468 |
|
396 |
TIOCINQ = 0x467f |
|
397 |
TIOCLINUX = 0x5483 |
|
398 |
TIOCMBIC = 0x741c |
|
399 |
TIOCMBIS = 0x741b |
|
400 |
TIOCMGET = 0x741d |
|
401 |
TIOCMIWAIT = 0x5491 |
|
402 |
TIOCMSET = 0x741a |
|
403 |
TIOCM_CAR = 0x100 |
|
404 |
TIOCM_CD = 0x100 |
|
405 |
TIOCM_CTS = 0x40 |
|
406 |
TIOCM_DSR = 0x400 |
|
407 |
TIOCM_RI = 0x200 |
|
408 |
TIOCM_RNG = 0x200 |
|
409 |
TIOCM_SR = 0x20 |
|
410 |
TIOCM_ST = 0x10 |
|
411 |
TIOCNOTTY = 0x5471 |
|
412 |
TIOCNXCL = 0x740e |
|
413 |
TIOCOUTQ = 0x7472 |
|
414 |
TIOCPKT = 0x5470 |
|
415 |
TIOCSBRK = 0x5427 |
|
416 |
TIOCSCTTY = 0x5480 |
|
417 |
TIOCSERCONFIG = 0x5488 |
|
418 |
TIOCSERGETLSR = 0x548e |
|
419 |
TIOCSERGETMULTI = 0x548f |
|
420 |
TIOCSERGSTRUCT = 0x548d |
|
421 |
TIOCSERGWILD = 0x5489 |
|
422 |
TIOCSERSETMULTI = 0x5490 |
|
423 |
TIOCSERSWILD = 0x548a |
|
424 |
TIOCSER_TEMT = 0x1 |
|
425 |
TIOCSETD = 0x7401 |
|
426 |
TIOCSETN = 0x740a |
|
427 |
TIOCSETP = 0x7409 |
|
428 |
TIOCSIG = 0x80045436 |
|
429 |
TIOCSISO7816 = 0xc0285443 |
|
430 |
TIOCSLCKTRMIOS = 0x548c |
|
431 |
TIOCSLTC = 0x7475 |
|
432 |
TIOCSPGRP = 0x80047476 |
|
433 |
TIOCSPTLCK = 0x80045431 |
|
434 |
TIOCSRS485 = 0xc020542f |
|
435 |
TIOCSSERIAL = 0x5485 |
|
436 |
TIOCSSOFTCAR = 0x5482 |
|
437 |
TIOCSTI = 0x5472 |
|
438 |
TIOCSWINSZ = 0x80087467 |
|
439 |
TIOCVHANGUP = 0x5437 |
|
440 |
TOSTOP = 0x8000 |
|
441 |
TUNATTACHFILTER = 0x801054d5 |
|
442 |
TUNDETACHFILTER = 0x801054d6 |
|
443 |
TUNGETDEVNETNS = 0x200054e3 |
|
444 |
TUNGETFEATURES = 0x400454cf |
|
445 |
TUNGETFILTER = 0x401054db |
|
446 |
TUNGETIFF = 0x400454d2 |
|
447 |
TUNGETSNDBUF = 0x400454d3 |
|
448 |
TUNGETVNETBE = 0x400454df |
|
449 |
TUNGETVNETHDRSZ = 0x400454d7 |
|
450 |
TUNGETVNETLE = 0x400454dd |
|
451 |
TUNSETCARRIER = 0x800454e2 |
|
452 |
TUNSETDEBUG = 0x800454c9 |
|
453 |
TUNSETFILTEREBPF = 0x400454e1 |
|
454 |
TUNSETGROUP = 0x800454ce |
|
455 |
TUNSETIFF = 0x800454ca |
|
456 |
TUNSETIFINDEX = 0x800454da |
|
457 |
TUNSETLINK = 0x800454cd |
|
458 |
TUNSETNOCSUM = 0x800454c8 |
|
459 |
TUNSETOFFLOAD = 0x800454d0 |
|
460 |
TUNSETOWNER = 0x800454cc |
|
461 |
TUNSETPERSIST = 0x800454cb |
|
462 |
TUNSETQUEUE = 0x800454d9 |
|
463 |
TUNSETSNDBUF = 0x800454d4 |
|
464 |
TUNSETSTEERINGEBPF = 0x400454e0 |
|
465 |
TUNSETTXFILTER = 0x800454d1 |
|
466 |
TUNSETVNETBE = 0x800454de |
|
467 |
TUNSETVNETHDRSZ = 0x800454d8 |
|
468 |
TUNSETVNETLE = 0x800454dc |
|
469 |
UBI_IOCATT = 0x80186f40 |
|
470 |
UBI_IOCDET = 0x80046f41 |
|
471 |
UBI_IOCEBCH = 0x80044f02 |
|
472 |
UBI_IOCEBER = 0x80044f01 |
|
473 |
UBI_IOCEBISMAP = 0x40044f05 |
|
474 |
UBI_IOCEBMAP = 0x80084f03 |
|
475 |
UBI_IOCEBUNMAP = 0x80044f04 |
|
476 |
UBI_IOCMKVOL = 0x80986f00 |
|
477 |
UBI_IOCRMVOL = 0x80046f01 |
|
478 |
UBI_IOCRNVOL = 0x91106f03 |
|
479 |
UBI_IOCRPEB = 0x80046f04 |
|
480 |
UBI_IOCRSVOL = 0x800c6f02 |
|
481 |
UBI_IOCSETVOLPROP = 0x80104f06 |
|
482 |
UBI_IOCSPEB = 0x80046f05 |
|
483 |
UBI_IOCVOLCRBLK = 0x80804f07 |
|
484 |
UBI_IOCVOLRMBLK = 0x20004f08 |
|
485 |
UBI_IOCVOLUP = 0x80084f00 |
|
486 |
VDISCARD = 0xd |
|
487 |
VEOF = 0x10 |
|
488 |
VEOL = 0x11 |
|
489 |
VEOL2 = 0x6 |
|
490 |
VMIN = 0x4 |
|
491 |
VREPRINT = 0xc |
|
492 |
VSTART = 0x8 |
|
493 |
VSTOP = 0x9 |
|
494 |
VSUSP = 0xa |
|
495 |
VSWTC = 0x7 |
|
496 |
VSWTCH = 0x7 |
|
497 |
VT1 = 0x4000 |
|
498 |
VTDLY = 0x4000 |
|
499 |
VTIME = 0x5 |
|
500 |
VWERASE = 0xe |
|
501 |
WDIOC_GETBOOTSTATUS = 0x40045702 |
|
502 |
WDIOC_GETPRETIMEOUT = 0x40045709 |
|
503 |
WDIOC_GETSTATUS = 0x40045701 |
|
504 |
WDIOC_GETSUPPORT = 0x40285700 |
|
505 |
WDIOC_GETTEMP = 0x40045703 |
|
506 |
WDIOC_GETTIMELEFT = 0x4004570a |
|
507 |
WDIOC_GETTIMEOUT = 0x40045707 |
|
508 |
WDIOC_KEEPALIVE = 0x40045705 |
|
509 |
WDIOC_SETOPTIONS = 0x40045704 |
|
510 |
WORDSIZE = 0x40 |
|
511 |
XCASE = 0x4 |
|
512 |
XTABS = 0x1800 |
|
513 |
_HIDIOCGRAWNAME = 0x40804804 |
|
514 |
_HIDIOCGRAWPHYS = 0x40404805 |
|
515 |
_HIDIOCGRAWUNIQ = 0x40404808 |
|
242
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
516 |
) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
517 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
518 |
// Errors |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
519 |
const ( |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
520 |
EADDRINUSE = syscall.Errno(0x7d) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
521 |
EADDRNOTAVAIL = syscall.Errno(0x7e) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
522 |
EADV = syscall.Errno(0x44) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
523 |
EAFNOSUPPORT = syscall.Errno(0x7c) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
524 |
EALREADY = syscall.Errno(0x95) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
525 |
EBADE = syscall.Errno(0x32) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
526 |
EBADFD = syscall.Errno(0x51) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
527 |
EBADMSG = syscall.Errno(0x4d) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
528 |
EBADR = syscall.Errno(0x33) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
529 |
EBADRQC = syscall.Errno(0x36) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
530 |
EBADSLT = syscall.Errno(0x37) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
531 |
EBFONT = syscall.Errno(0x3b) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
532 |
ECANCELED = syscall.Errno(0x9e) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
533 |
ECHRNG = syscall.Errno(0x25) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
534 |
ECOMM = syscall.Errno(0x46) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
535 |
ECONNABORTED = syscall.Errno(0x82) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
536 |
ECONNREFUSED = syscall.Errno(0x92) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
537 |
ECONNRESET = syscall.Errno(0x83) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
538 |
EDEADLK = syscall.Errno(0x2d) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
539 |
EDEADLOCK = syscall.Errno(0x38) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
540 |
EDESTADDRREQ = syscall.Errno(0x60) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
541 |
EDOTDOT = syscall.Errno(0x49) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
542 |
EDQUOT = syscall.Errno(0x46d) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
543 |
EHOSTDOWN = syscall.Errno(0x93) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
544 |
EHOSTUNREACH = syscall.Errno(0x94) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
545 |
EHWPOISON = syscall.Errno(0xa8) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
546 |
EIDRM = syscall.Errno(0x24) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
547 |
EILSEQ = syscall.Errno(0x58) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
548 |
EINIT = syscall.Errno(0x8d) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
549 |
EINPROGRESS = syscall.Errno(0x96) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
550 |
EISCONN = syscall.Errno(0x85) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
551 |
EISNAM = syscall.Errno(0x8b) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
552 |
EKEYEXPIRED = syscall.Errno(0xa2) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
553 |
EKEYREJECTED = syscall.Errno(0xa4) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
554 |
EKEYREVOKED = syscall.Errno(0xa3) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
555 |
EL2HLT = syscall.Errno(0x2c) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
556 |
EL2NSYNC = syscall.Errno(0x26) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
557 |
EL3HLT = syscall.Errno(0x27) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
558 |
EL3RST = syscall.Errno(0x28) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
559 |
ELIBACC = syscall.Errno(0x53) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
560 |
ELIBBAD = syscall.Errno(0x54) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
561 |
ELIBEXEC = syscall.Errno(0x57) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
562 |
ELIBMAX = syscall.Errno(0x56) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
563 |
ELIBSCN = syscall.Errno(0x55) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
564 |
ELNRNG = syscall.Errno(0x29) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
565 |
ELOOP = syscall.Errno(0x5a) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
566 |
EMEDIUMTYPE = syscall.Errno(0xa0) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
567 |
EMSGSIZE = syscall.Errno(0x61) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
568 |
EMULTIHOP = syscall.Errno(0x4a) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
569 |
ENAMETOOLONG = syscall.Errno(0x4e) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
570 |
ENAVAIL = syscall.Errno(0x8a) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
571 |
ENETDOWN = syscall.Errno(0x7f) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
572 |
ENETRESET = syscall.Errno(0x81) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
573 |
ENETUNREACH = syscall.Errno(0x80) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
574 |
ENOANO = syscall.Errno(0x35) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
575 |
ENOBUFS = syscall.Errno(0x84) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
576 |
ENOCSI = syscall.Errno(0x2b) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
577 |
ENODATA = syscall.Errno(0x3d) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
578 |
ENOKEY = syscall.Errno(0xa1) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
579 |
ENOLCK = syscall.Errno(0x2e) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
580 |
ENOLINK = syscall.Errno(0x43) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
581 |
ENOMEDIUM = syscall.Errno(0x9f) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
582 |
ENOMSG = syscall.Errno(0x23) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
583 |
ENONET = syscall.Errno(0x40) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
584 |
ENOPKG = syscall.Errno(0x41) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
585 |
ENOPROTOOPT = syscall.Errno(0x63) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
586 |
ENOSR = syscall.Errno(0x3f) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
587 |
ENOSTR = syscall.Errno(0x3c) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
588 |
ENOSYS = syscall.Errno(0x59) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
589 |
ENOTCONN = syscall.Errno(0x86) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
590 |
ENOTEMPTY = syscall.Errno(0x5d) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
591 |
ENOTNAM = syscall.Errno(0x89) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
592 |
ENOTRECOVERABLE = syscall.Errno(0xa6) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
593 |
ENOTSOCK = syscall.Errno(0x5f) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
594 |
ENOTSUP = syscall.Errno(0x7a) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
595 |
ENOTUNIQ = syscall.Errno(0x50) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
596 |
EOPNOTSUPP = syscall.Errno(0x7a) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
597 |
EOVERFLOW = syscall.Errno(0x4f) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
598 |
EOWNERDEAD = syscall.Errno(0xa5) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
599 |
EPFNOSUPPORT = syscall.Errno(0x7b) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
600 |
EPROTO = syscall.Errno(0x47) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
601 |
EPROTONOSUPPORT = syscall.Errno(0x78) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
602 |
EPROTOTYPE = syscall.Errno(0x62) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
603 |
EREMCHG = syscall.Errno(0x52) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
604 |
EREMDEV = syscall.Errno(0x8e) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
605 |
EREMOTE = syscall.Errno(0x42) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
606 |
EREMOTEIO = syscall.Errno(0x8c) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
607 |
ERESTART = syscall.Errno(0x5b) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
608 |
ERFKILL = syscall.Errno(0xa7) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
609 |
ESHUTDOWN = syscall.Errno(0x8f) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
610 |
ESOCKTNOSUPPORT = syscall.Errno(0x79) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
611 |
ESRMNT = syscall.Errno(0x45) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
612 |
ESTALE = syscall.Errno(0x97) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
613 |
ESTRPIPE = syscall.Errno(0x5c) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
614 |
ETIME = syscall.Errno(0x3e) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
615 |
ETIMEDOUT = syscall.Errno(0x91) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
616 |
ETOOMANYREFS = syscall.Errno(0x90) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
617 |
EUCLEAN = syscall.Errno(0x87) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
618 |
EUNATCH = syscall.Errno(0x2a) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
619 |
EUSERS = syscall.Errno(0x5e) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
620 |
EXFULL = syscall.Errno(0x34) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
621 |
) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
622 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
623 |
// Signals |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
624 |
const ( |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
625 |
SIGBUS = syscall.Signal(0xa) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
626 |
SIGCHLD = syscall.Signal(0x12) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
627 |
SIGCLD = syscall.Signal(0x12) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
628 |
SIGCONT = syscall.Signal(0x19) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
629 |
SIGEMT = syscall.Signal(0x7) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
630 |
SIGIO = syscall.Signal(0x16) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
631 |
SIGPOLL = syscall.Signal(0x16) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
632 |
SIGPROF = syscall.Signal(0x1d) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
633 |
SIGPWR = syscall.Signal(0x13) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
634 |
SIGSTOP = syscall.Signal(0x17) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
635 |
SIGSYS = syscall.Signal(0xc) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
636 |
SIGTSTP = syscall.Signal(0x18) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
637 |
SIGTTIN = syscall.Signal(0x1a) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
638 |
SIGTTOU = syscall.Signal(0x1b) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
639 |
SIGURG = syscall.Signal(0x15) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
640 |
SIGUSR1 = syscall.Signal(0x10) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
641 |
SIGUSR2 = syscall.Signal(0x11) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
642 |
SIGVTALRM = syscall.Signal(0x1c) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
643 |
SIGWINCH = syscall.Signal(0x14) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
644 |
SIGXCPU = syscall.Signal(0x1e) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
645 |
SIGXFSZ = syscall.Signal(0x1f) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
646 |
) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
647 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
648 |
// Error table |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
649 |
var errorList = [...]struct { |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
650 |
num syscall.Errno |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
651 |
name string |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
652 |
desc string |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
653 |
}{ |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
654 |
{1, "EPERM", "operation not permitted"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
655 |
{2, "ENOENT", "no such file or directory"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
656 |
{3, "ESRCH", "no such process"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
657 |
{4, "EINTR", "interrupted system call"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
658 |
{5, "EIO", "input/output error"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
659 |
{6, "ENXIO", "no such device or address"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
660 |
{7, "E2BIG", "argument list too long"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
661 |
{8, "ENOEXEC", "exec format error"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
662 |
{9, "EBADF", "bad file descriptor"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
663 |
{10, "ECHILD", "no child processes"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
664 |
{11, "EAGAIN", "resource temporarily unavailable"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
665 |
{12, "ENOMEM", "cannot allocate memory"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
666 |
{13, "EACCES", "permission denied"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
667 |
{14, "EFAULT", "bad address"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
668 |
{15, "ENOTBLK", "block device required"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
669 |
{16, "EBUSY", "device or resource busy"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
670 |
{17, "EEXIST", "file exists"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
671 |
{18, "EXDEV", "invalid cross-device link"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
672 |
{19, "ENODEV", "no such device"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
673 |
{20, "ENOTDIR", "not a directory"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
674 |
{21, "EISDIR", "is a directory"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
675 |
{22, "EINVAL", "invalid argument"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
676 |
{23, "ENFILE", "too many open files in system"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
677 |
{24, "EMFILE", "too many open files"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
678 |
{25, "ENOTTY", "inappropriate ioctl for device"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
679 |
{26, "ETXTBSY", "text file busy"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
680 |
{27, "EFBIG", "file too large"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
681 |
{28, "ENOSPC", "no space left on device"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
682 |
{29, "ESPIPE", "illegal seek"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
683 |
{30, "EROFS", "read-only file system"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
684 |
{31, "EMLINK", "too many links"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
685 |
{32, "EPIPE", "broken pipe"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
686 |
{33, "EDOM", "numerical argument out of domain"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
687 |
{34, "ERANGE", "numerical result out of range"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
688 |
{35, "ENOMSG", "no message of desired type"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
689 |
{36, "EIDRM", "identifier removed"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
690 |
{37, "ECHRNG", "channel number out of range"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
691 |
{38, "EL2NSYNC", "level 2 not synchronized"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
692 |
{39, "EL3HLT", "level 3 halted"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
693 |
{40, "EL3RST", "level 3 reset"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
694 |
{41, "ELNRNG", "link number out of range"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
695 |
{42, "EUNATCH", "protocol driver not attached"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
696 |
{43, "ENOCSI", "no CSI structure available"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
697 |
{44, "EL2HLT", "level 2 halted"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
698 |
{45, "EDEADLK", "resource deadlock avoided"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
699 |
{46, "ENOLCK", "no locks available"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
700 |
{50, "EBADE", "invalid exchange"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
701 |
{51, "EBADR", "invalid request descriptor"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
702 |
{52, "EXFULL", "exchange full"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
703 |
{53, "ENOANO", "no anode"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
704 |
{54, "EBADRQC", "invalid request code"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
705 |
{55, "EBADSLT", "invalid slot"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
706 |
{56, "EDEADLOCK", "file locking deadlock error"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
707 |
{59, "EBFONT", "bad font file format"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
708 |
{60, "ENOSTR", "device not a stream"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
709 |
{61, "ENODATA", "no data available"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
710 |
{62, "ETIME", "timer expired"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
711 |
{63, "ENOSR", "out of streams resources"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
712 |
{64, "ENONET", "machine is not on the network"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
713 |
{65, "ENOPKG", "package not installed"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
714 |
{66, "EREMOTE", "object is remote"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
715 |
{67, "ENOLINK", "link has been severed"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
716 |
{68, "EADV", "advertise error"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
717 |
{69, "ESRMNT", "srmount error"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
718 |
{70, "ECOMM", "communication error on send"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
719 |
{71, "EPROTO", "protocol error"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
720 |
{73, "EDOTDOT", "RFS specific error"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
721 |
{74, "EMULTIHOP", "multihop attempted"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
722 |
{77, "EBADMSG", "bad message"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
723 |
{78, "ENAMETOOLONG", "file name too long"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
724 |
{79, "EOVERFLOW", "value too large for defined data type"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
725 |
{80, "ENOTUNIQ", "name not unique on network"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
726 |
{81, "EBADFD", "file descriptor in bad state"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
727 |
{82, "EREMCHG", "remote address changed"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
728 |
{83, "ELIBACC", "can not access a needed shared library"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
729 |
{84, "ELIBBAD", "accessing a corrupted shared library"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
730 |
{85, "ELIBSCN", ".lib section in a.out corrupted"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
731 |
{86, "ELIBMAX", "attempting to link in too many shared libraries"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
732 |
{87, "ELIBEXEC", "cannot exec a shared library directly"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
733 |
{88, "EILSEQ", "invalid or incomplete multibyte or wide character"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
734 |
{89, "ENOSYS", "function not implemented"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
735 |
{90, "ELOOP", "too many levels of symbolic links"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
736 |
{91, "ERESTART", "interrupted system call should be restarted"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
737 |
{92, "ESTRPIPE", "streams pipe error"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
738 |
{93, "ENOTEMPTY", "directory not empty"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
739 |
{94, "EUSERS", "too many users"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
740 |
{95, "ENOTSOCK", "socket operation on non-socket"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
741 |
{96, "EDESTADDRREQ", "destination address required"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
742 |
{97, "EMSGSIZE", "message too long"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
743 |
{98, "EPROTOTYPE", "protocol wrong type for socket"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
744 |
{99, "ENOPROTOOPT", "protocol not available"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
745 |
{120, "EPROTONOSUPPORT", "protocol not supported"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
746 |
{121, "ESOCKTNOSUPPORT", "socket type not supported"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
747 |
{122, "ENOTSUP", "operation not supported"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
748 |
{123, "EPFNOSUPPORT", "protocol family not supported"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
749 |
{124, "EAFNOSUPPORT", "address family not supported by protocol"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
750 |
{125, "EADDRINUSE", "address already in use"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
751 |
{126, "EADDRNOTAVAIL", "cannot assign requested address"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
752 |
{127, "ENETDOWN", "network is down"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
753 |
{128, "ENETUNREACH", "network is unreachable"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
754 |
{129, "ENETRESET", "network dropped connection on reset"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
755 |
{130, "ECONNABORTED", "software caused connection abort"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
756 |
{131, "ECONNRESET", "connection reset by peer"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
757 |
{132, "ENOBUFS", "no buffer space available"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
758 |
{133, "EISCONN", "transport endpoint is already connected"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
759 |
{134, "ENOTCONN", "transport endpoint is not connected"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
760 |
{135, "EUCLEAN", "structure needs cleaning"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
761 |
{137, "ENOTNAM", "not a XENIX named type file"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
762 |
{138, "ENAVAIL", "no XENIX semaphores available"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
763 |
{139, "EISNAM", "is a named type file"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
764 |
{140, "EREMOTEIO", "remote I/O error"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
765 |
{141, "EINIT", "unknown error 141"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
766 |
{142, "EREMDEV", "unknown error 142"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
767 |
{143, "ESHUTDOWN", "cannot send after transport endpoint shutdown"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
768 |
{144, "ETOOMANYREFS", "too many references: cannot splice"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
769 |
{145, "ETIMEDOUT", "connection timed out"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
770 |
{146, "ECONNREFUSED", "connection refused"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
771 |
{147, "EHOSTDOWN", "host is down"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
772 |
{148, "EHOSTUNREACH", "no route to host"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
773 |
{149, "EALREADY", "operation already in progress"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
774 |
{150, "EINPROGRESS", "operation now in progress"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
775 |
{151, "ESTALE", "stale file handle"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
776 |
{158, "ECANCELED", "operation canceled"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
777 |
{159, "ENOMEDIUM", "no medium found"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
778 |
{160, "EMEDIUMTYPE", "wrong medium type"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
779 |
{161, "ENOKEY", "required key not available"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
780 |
{162, "EKEYEXPIRED", "key has expired"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
781 |
{163, "EKEYREVOKED", "key has been revoked"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
782 |
{164, "EKEYREJECTED", "key was rejected by service"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
783 |
{165, "EOWNERDEAD", "owner died"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
784 |
{166, "ENOTRECOVERABLE", "state not recoverable"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
785 |
{167, "ERFKILL", "operation not possible due to RF-kill"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
786 |
{168, "EHWPOISON", "memory page has hardware error"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
787 |
{1133, "EDQUOT", "disk quota exceeded"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
788 |
} |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
789 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
790 |
// Signal table |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
791 |
var signalList = [...]struct { |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
792 |
num syscall.Signal |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
793 |
name string |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
794 |
desc string |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
795 |
}{ |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
796 |
{1, "SIGHUP", "hangup"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
797 |
{2, "SIGINT", "interrupt"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
798 |
{3, "SIGQUIT", "quit"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
799 |
{4, "SIGILL", "illegal instruction"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
800 |
{5, "SIGTRAP", "trace/breakpoint trap"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
801 |
{6, "SIGABRT", "aborted"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
802 |
{7, "SIGEMT", "EMT trap"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
803 |
{8, "SIGFPE", "floating point exception"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
804 |
{9, "SIGKILL", "killed"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
805 |
{10, "SIGBUS", "bus error"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
806 |
{11, "SIGSEGV", "segmentation fault"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
807 |
{12, "SIGSYS", "bad system call"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
808 |
{13, "SIGPIPE", "broken pipe"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
809 |
{14, "SIGALRM", "alarm clock"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
810 |
{15, "SIGTERM", "terminated"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
811 |
{16, "SIGUSR1", "user defined signal 1"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
812 |
{17, "SIGUSR2", "user defined signal 2"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
813 |
{18, "SIGCHLD", "child exited"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
814 |
{19, "SIGPWR", "power failure"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
815 |
{20, "SIGWINCH", "window changed"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
816 |
{21, "SIGURG", "urgent I/O condition"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
817 |
{22, "SIGIO", "I/O possible"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
818 |
{23, "SIGSTOP", "stopped (signal)"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
819 |
{24, "SIGTSTP", "stopped"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
820 |
{25, "SIGCONT", "continued"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
821 |
{26, "SIGTTIN", "stopped (tty input)"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
822 |
{27, "SIGTTOU", "stopped (tty output)"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
823 |
{28, "SIGVTALRM", "virtual timer expired"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
824 |
{29, "SIGPROF", "profiling timer expired"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
825 |
{30, "SIGXCPU", "CPU time limit exceeded"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
826 |
{31, "SIGXFSZ", "file size limit exceeded"}, |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
827 |
} |