Source file
src/syscall/zerrors_aix_ppc64.go
1
2
3
4
5
6
7 package syscall
8
9 const (
10 AF_APPLETALK = 0x10
11 AF_BYPASS = 0x19
12 AF_CCITT = 0xa
13 AF_CHAOS = 0x5
14 AF_DATAKIT = 0x9
15 AF_DECnet = 0xc
16 AF_DLI = 0xd
17 AF_ECMA = 0x8
18 AF_HYLINK = 0xf
19 AF_IMPLINK = 0x3
20 AF_INET = 0x2
21 AF_INET6 = 0x18
22 AF_INTF = 0x14
23 AF_ISO = 0x7
24 AF_LAT = 0xe
25 AF_LINK = 0x12
26 AF_MAX = 0x1e
27 AF_NDD = 0x17
28 AF_NETWARE = 0x16
29 AF_NS = 0x6
30 AF_OSI = 0x7
31 AF_PUP = 0x4
32 AF_RIF = 0x15
33 AF_ROUTE = 0x11
34 AF_SNA = 0xb
35 AF_UNIX = 0x1
36 AF_UNSPEC = 0x0
37 ARPHRD_802_3 = 0x6
38 ARPHRD_802_5 = 0x6
39 ARPHRD_ETHER = 0x1
40 ARPHRD_FDDI = 0x1
41 B0 = 0x0
42 B110 = 0x3
43 B1200 = 0x9
44 B134 = 0x4
45 B150 = 0x5
46 B1800 = 0xa
47 B19200 = 0xe
48 B200 = 0x6
49 B2400 = 0xb
50 B300 = 0x7
51 B38400 = 0xf
52 B4800 = 0xc
53 B50 = 0x1
54 B600 = 0x8
55 B75 = 0x2
56 B9600 = 0xd
57 BRKINT = 0x2
58 CFLUSH = 0xf
59 CLOCAL = 0x800
60 CREAD = 0x80
61 CS5 = 0x0
62 CS6 = 0x10
63 CS7 = 0x20
64 CS8 = 0x30
65 CSIOCGIFCONF = -0x3fef96dc
66 CSIZE = 0x30
67 CSMAP_DIR = "/usr/lib/nls/csmap/"
68 CSTART = '\021'
69 CSTOP = '\023'
70 CSTOPB = 0x40
71 CSUSP = 0x1a
72 ECHO = 0x8
73 ECHOCTL = 0x20000
74 ECHOE = 0x10
75 ECHOK = 0x20
76 ECHOKE = 0x80000
77 ECHONL = 0x40
78 ECHOPRT = 0x40000
79 ECH_ICMPID = 0x2
80 ETHERNET_CSMACD = 0x6
81 EVENP = 0x80
82 EXCONTINUE = 0x0
83 EXDLOK = 0x3
84 EXIO = 0x2
85 EXPGIO = 0x0
86 EXRESUME = 0x2
87 EXRETURN = 0x1
88 EXSIG = 0x4
89 EXTA = 0xe
90 EXTB = 0xf
91 EXTRAP = 0x1
92 EYEC_RTENTRYA = 0x257274656e747241
93 EYEC_RTENTRYF = 0x257274656e747246
94 E_ACC = 0x0
95 FD_CLOEXEC = 0x1
96 FD_SETSIZE = 0xfffe
97 FLUSHBAND = 0x40
98 FLUSHLOW = 0x8
99 FLUSHO = 0x100000
100 FLUSHR = 0x1
101 FLUSHRW = 0x3
102 FLUSHW = 0x2
103 F_CLOSEM = 0xa
104 F_DUP2FD = 0xe
105 F_DUPFD = 0x0
106 F_GETFD = 0x1
107 F_GETFL = 0x3
108 F_GETLK = 0xb
109 F_GETLK64 = 0xb
110 F_GETOWN = 0x8
111 F_LOCK = 0x1
112 F_OK = 0x0
113 F_RDLCK = 0x1
114 F_SETFD = 0x2
115 F_SETFL = 0x4
116 F_SETLK = 0xc
117 F_SETLK64 = 0xc
118 F_SETLKW = 0xd
119 F_SETLKW64 = 0xd
120 F_SETOWN = 0x9
121 F_TEST = 0x3
122 F_TLOCK = 0x2
123 F_TSTLK = 0xf
124 F_ULOCK = 0x0
125 F_UNLCK = 0x3
126 F_WRLCK = 0x2
127 HUPCL = 0x400
128 ICANON = 0x2
129 ICMP6_FILTER = 0x26
130 ICMP6_SEC_SEND_DEL = 0x46
131 ICMP6_SEC_SEND_GET = 0x47
132 ICMP6_SEC_SEND_SET = 0x44
133 ICMP6_SEC_SEND_SET_CGA_ADDR = 0x45
134 ICRNL = 0x100
135 IEXTEN = 0x200000
136 IFA_FIRSTALIAS = 0x2000
137 IFA_ROUTE = 0x1
138 IFF_64BIT = 0x4000000
139 IFF_ALLCAST = 0x20000
140 IFF_ALLMULTI = 0x200
141 IFF_BPF = 0x8000000
142 IFF_BRIDGE = 0x40000
143 IFF_BROADCAST = 0x2
144 IFF_CANTCHANGE = 0x80c52
145 IFF_CHECKSUM_OFFLOAD = 0x10000000
146 IFF_D1 = 0x8000
147 IFF_D2 = 0x4000
148 IFF_D3 = 0x2000
149 IFF_D4 = 0x1000
150 IFF_DEBUG = 0x4
151 IFF_DEVHEALTH = 0x4000
152 IFF_DO_HW_LOOPBACK = 0x10000
153 IFF_GROUP_ROUTING = 0x2000000
154 IFF_IFBUFMGT = 0x800000
155 IFF_LINK0 = 0x100000
156 IFF_LINK1 = 0x200000
157 IFF_LINK2 = 0x400000
158 IFF_LOOPBACK = 0x8
159 IFF_MULTICAST = 0x80000
160 IFF_NOARP = 0x80
161 IFF_NOECHO = 0x800
162 IFF_NOTRAILERS = 0x20
163 IFF_OACTIVE = 0x400
164 IFF_POINTOPOINT = 0x10
165 IFF_PROMISC = 0x100
166 IFF_PSEG = 0x40000000
167 IFF_RUNNING = 0x40
168 IFF_SIMPLEX = 0x800
169 IFF_SNAP = 0x8000
170 IFF_TCP_DISABLE_CKSUM = 0x20000000
171 IFF_TCP_NOCKSUM = 0x1000000
172 IFF_UP = 0x1
173 IFF_VIPA = 0x80000000
174 IFNAMSIZ = 0x10
175 IFO_FLUSH = 0x1
176 IFT_1822 = 0x2
177 IFT_AAL5 = 0x31
178 IFT_ARCNET = 0x23
179 IFT_ARCNETPLUS = 0x24
180 IFT_ATM = 0x25
181 IFT_CEPT = 0x13
182 IFT_CLUSTER = 0x3e
183 IFT_DS3 = 0x1e
184 IFT_EON = 0x19
185 IFT_ETHER = 0x6
186 IFT_FCS = 0x3a
187 IFT_FDDI = 0xf
188 IFT_FRELAY = 0x20
189 IFT_FRELAYDCE = 0x2c
190 IFT_GIFTUNNEL = 0x3c
191 IFT_HDH1822 = 0x3
192 IFT_HF = 0x3d
193 IFT_HIPPI = 0x2f
194 IFT_HSSI = 0x2e
195 IFT_HY = 0xe
196 IFT_IB = 0xc7
197 IFT_ISDNBASIC = 0x14
198 IFT_ISDNPRIMARY = 0x15
199 IFT_ISO88022LLC = 0x29
200 IFT_ISO88023 = 0x7
201 IFT_ISO88024 = 0x8
202 IFT_ISO88025 = 0x9
203 IFT_ISO88026 = 0xa
204 IFT_LAPB = 0x10
205 IFT_LOCALTALK = 0x2a
206 IFT_LOOP = 0x18
207 IFT_MIOX25 = 0x26
208 IFT_MODEM = 0x30
209 IFT_NSIP = 0x1b
210 IFT_OTHER = 0x1
211 IFT_P10 = 0xc
212 IFT_P80 = 0xd
213 IFT_PARA = 0x22
214 IFT_PPP = 0x17
215 IFT_PROPMUX = 0x36
216 IFT_PROPVIRTUAL = 0x35
217 IFT_PTPSERIAL = 0x16
218 IFT_RS232 = 0x21
219 IFT_SDLC = 0x11
220 IFT_SIP = 0x1f
221 IFT_SLIP = 0x1c
222 IFT_SMDSDXI = 0x2b
223 IFT_SMDSICIP = 0x34
224 IFT_SN = 0x38
225 IFT_SONET = 0x27
226 IFT_SONETPATH = 0x32
227 IFT_SONETVT = 0x33
228 IFT_SP = 0x39
229 IFT_STARLAN = 0xb
230 IFT_T1 = 0x12
231 IFT_TUNNEL = 0x3b
232 IFT_ULTRA = 0x1d
233 IFT_V35 = 0x2d
234 IFT_VIPA = 0x37
235 IFT_X25 = 0x5
236 IFT_X25DDN = 0x4
237 IFT_X25PLE = 0x28
238 IFT_XETHER = 0x1a
239 IGNBRK = 0x1
240 IGNCR = 0x80
241 IGNPAR = 0x4
242 IMAXBEL = 0x10000
243 INLCR = 0x40
244 INPCK = 0x10
245 IN_CLASSA_HOST = 0xffffff
246 IN_CLASSA_MAX = 0x80
247 IN_CLASSA_NET = 0xff000000
248 IN_CLASSA_NSHIFT = 0x18
249 IN_CLASSB_HOST = 0xffff
250 IN_CLASSB_MAX = 0x10000
251 IN_CLASSB_NET = 0xffff0000
252 IN_CLASSB_NSHIFT = 0x10
253 IN_CLASSC_HOST = 0xff
254 IN_CLASSC_NET = 0xffffff00
255 IN_CLASSC_NSHIFT = 0x8
256 IN_CLASSD_HOST = 0xfffffff
257 IN_CLASSD_NET = 0xf0000000
258 IN_CLASSD_NSHIFT = 0x1c
259 IN_LOOPBACKNET = 0x7f
260 IN_USE = 0x1
261 IPPROTO_AH = 0x33
262 IPPROTO_BIP = 0x53
263 IPPROTO_DSTOPTS = 0x3c
264 IPPROTO_EGP = 0x8
265 IPPROTO_EON = 0x50
266 IPPROTO_ESP = 0x32
267 IPPROTO_FRAGMENT = 0x2c
268 IPPROTO_GGP = 0x3
269 IPPROTO_GIF = 0x8c
270 IPPROTO_GRE = 0x2f
271 IPPROTO_HOPOPTS = 0x0
272 IPPROTO_ICMP = 0x1
273 IPPROTO_ICMPV6 = 0x3a
274 IPPROTO_IDP = 0x16
275 IPPROTO_IGMP = 0x2
276 IPPROTO_IP = 0x0
277 IPPROTO_IPIP = 0x4
278 IPPROTO_IPV6 = 0x29
279 IPPROTO_LOCAL = 0x3f
280 IPPROTO_MAX = 0x100
281 IPPROTO_MH = 0x87
282 IPPROTO_NONE = 0x3b
283 IPPROTO_PUP = 0xc
284 IPPROTO_QOS = 0x2d
285 IPPROTO_RAW = 0xff
286 IPPROTO_ROUTING = 0x2b
287 IPPROTO_RSVP = 0x2e
288 IPPROTO_SCTP = 0x84
289 IPPROTO_TCP = 0x6
290 IPPROTO_TP = 0x1d
291 IPPROTO_UDP = 0x11
292 IPV6_ADDRFORM = 0x16
293 IPV6_ADDR_PREFERENCES = 0x4a
294 IPV6_ADD_MEMBERSHIP = 0xc
295 IPV6_AIXRAWSOCKET = 0x39
296 IPV6_CHECKSUM = 0x27
297 IPV6_DONTFRAG = 0x2d
298 IPV6_DROP_MEMBERSHIP = 0xd
299 IPV6_DSTOPTS = 0x36
300 IPV6_FLOWINFO_FLOWLABEL = 0xffffff
301 IPV6_FLOWINFO_PRIFLOW = 0xfffffff
302 IPV6_FLOWINFO_PRIORITY = 0xf000000
303 IPV6_FLOWINFO_SRFLAG = 0x10000000
304 IPV6_FLOWINFO_VERSION = 0xf0000000
305 IPV6_HOPLIMIT = 0x28
306 IPV6_HOPOPTS = 0x34
307 IPV6_JOIN_GROUP = 0xc
308 IPV6_LEAVE_GROUP = 0xd
309 IPV6_MIPDSTOPTS = 0x36
310 IPV6_MULTICAST_HOPS = 0xa
311 IPV6_MULTICAST_IF = 0x9
312 IPV6_MULTICAST_LOOP = 0xb
313 IPV6_NEXTHOP = 0x30
314 IPV6_NOPROBE = 0x1c
315 IPV6_PATHMTU = 0x2e
316 IPV6_PKTINFO = 0x21
317 IPV6_PKTOPTIONS = 0x24
318 IPV6_PRIORITY_10 = 0xa000000
319 IPV6_PRIORITY_11 = 0xb000000
320 IPV6_PRIORITY_12 = 0xc000000
321 IPV6_PRIORITY_13 = 0xd000000
322 IPV6_PRIORITY_14 = 0xe000000
323 IPV6_PRIORITY_15 = 0xf000000
324 IPV6_PRIORITY_8 = 0x8000000
325 IPV6_PRIORITY_9 = 0x9000000
326 IPV6_PRIORITY_BULK = 0x4000000
327 IPV6_PRIORITY_CONTROL = 0x7000000
328 IPV6_PRIORITY_FILLER = 0x1000000
329 IPV6_PRIORITY_INTERACTIVE = 0x6000000
330 IPV6_PRIORITY_RESERVED1 = 0x3000000
331 IPV6_PRIORITY_RESERVED2 = 0x5000000
332 IPV6_PRIORITY_UNATTENDED = 0x2000000
333 IPV6_PRIORITY_UNCHARACTERIZED = 0x0
334 IPV6_RECVDSTOPTS = 0x38
335 IPV6_RECVHOPLIMIT = 0x29
336 IPV6_RECVHOPOPTS = 0x35
337 IPV6_RECVHOPS = 0x22
338 IPV6_RECVIF = 0x1e
339 IPV6_RECVPATHMTU = 0x2f
340 IPV6_RECVPKTINFO = 0x23
341 IPV6_RECVRTHDR = 0x33
342 IPV6_RECVSRCRT = 0x1d
343 IPV6_RECVTCLASS = 0x2a
344 IPV6_RTHDR = 0x32
345 IPV6_RTHDRDSTOPTS = 0x37
346 IPV6_RTHDR_TYPE_0 = 0x0
347 IPV6_RTHDR_TYPE_2 = 0x2
348 IPV6_SENDIF = 0x1f
349 IPV6_SRFLAG_LOOSE = 0x0
350 IPV6_SRFLAG_STRICT = 0x10000000
351 IPV6_TCLASS = 0x2b
352 IPV6_TOKEN_LENGTH = 0x40
353 IPV6_UNICAST_HOPS = 0x4
354 IPV6_USE_MIN_MTU = 0x2c
355 IPV6_V6ONLY = 0x25
356 IPV6_VERSION = 0x60000000
357 IP_ADDRFORM = 0x16
358 IP_ADD_MEMBERSHIP = 0xc
359 IP_ADD_SOURCE_MEMBERSHIP = 0x3c
360 IP_BLOCK_SOURCE = 0x3a
361 IP_BROADCAST_IF = 0x10
362 IP_CACHE_LINE_SIZE = 0x80
363 IP_DEFAULT_MULTICAST_LOOP = 0x1
364 IP_DEFAULT_MULTICAST_TTL = 0x1
365 IP_DF = 0x4000
366 IP_DHCPMODE = 0x11
367 IP_DONTFRAG = 0x19
368 IP_DROP_MEMBERSHIP = 0xd
369 IP_DROP_SOURCE_MEMBERSHIP = 0x3d
370 IP_FINDPMTU = 0x1a
371 IP_HDRINCL = 0x2
372 IP_INC_MEMBERSHIPS = 0x14
373 IP_INIT_MEMBERSHIP = 0x14
374 IP_MAXPACKET = 0xffff
375 IP_MF = 0x2000
376 IP_MSS = 0x240
377 IP_MULTICAST_HOPS = 0xa
378 IP_MULTICAST_IF = 0x9
379 IP_MULTICAST_LOOP = 0xb
380 IP_MULTICAST_TTL = 0xa
381 IP_OPT = 0x1b
382 IP_OPTIONS = 0x1
383 IP_PMTUAGE = 0x1b
384 IP_RECVDSTADDR = 0x7
385 IP_RECVIF = 0x14
386 IP_RECVIFINFO = 0xf
387 IP_RECVINTERFACE = 0x20
388 IP_RECVMACHDR = 0xe
389 IP_RECVOPTS = 0x5
390 IP_RECVRETOPTS = 0x6
391 IP_RECVTTL = 0x22
392 IP_RETOPTS = 0x8
393 IP_SOURCE_FILTER = 0x48
394 IP_TOS = 0x3
395 IP_TTL = 0x4
396 IP_UNBLOCK_SOURCE = 0x3b
397 IP_UNICAST_HOPS = 0x4
398 ISIG = 0x1
399 ISTRIP = 0x20
400 IXANY = 0x1000
401 IXOFF = 0x400
402 IXON = 0x200
403 I_FLUSH = 0x20005305
404 LNOFLSH = 0x8000
405 LOCK_EX = 0x2
406 LOCK_NB = 0x4
407 LOCK_SH = 0x1
408 LOCK_UN = 0x8
409 MADV_DONTNEED = 0x4
410 MADV_NORMAL = 0x0
411 MADV_RANDOM = 0x1
412 MADV_SEQUENTIAL = 0x2
413 MADV_SPACEAVAIL = 0x5
414 MADV_WILLNEED = 0x3
415 MAP_ANON = 0x10
416 MAP_ANONYMOUS = 0x10
417 MAP_FILE = 0x0
418 MAP_FIXED = 0x100
419 MAP_PRIVATE = 0x2
420 MAP_SHARED = 0x1
421 MAP_TYPE = 0xf0
422 MAP_VARIABLE = 0x0
423 MCL_CURRENT = 0x100
424 MCL_FUTURE = 0x200
425 MSG_ANY = 0x4
426 MSG_ARGEXT = 0x400
427 MSG_BAND = 0x2
428 MSG_COMPAT = 0x8000
429 MSG_CTRUNC = 0x20
430 MSG_DONTROUTE = 0x4
431 MSG_EOR = 0x8
432 MSG_HIPRI = 0x1
433 MSG_MAXIOVLEN = 0x10
434 MSG_MPEG2 = 0x80
435 MSG_NONBLOCK = 0x4000
436 MSG_NOSIGNAL = 0x100
437 MSG_OOB = 0x1
438 MSG_PEEK = 0x2
439 MSG_TRUNC = 0x10
440 MSG_WAITALL = 0x40
441 MSG_WAITFORONE = 0x200
442 MS_ASYNC = 0x10
443 MS_EINTR = 0x80
444 MS_INVALIDATE = 0x40
445 MS_PER_SEC = 0x3e8
446 MS_SYNC = 0x20
447 NOFLSH = 0x80
448 NOFLUSH = 0x80000000
449 OCRNL = 0x8
450 OFDEL = 0x80
451 OFILL = 0x40
452 ONLCR = 0x4
453 ONLRET = 0x20
454 ONOCR = 0x10
455 ONOEOT = 0x80000
456 OPOST = 0x1
457 O_ACCMODE = 0x23
458 O_APPEND = 0x8
459 O_CIO = 0x80
460 O_CIOR = 0x800000000
461 O_CLOEXEC = 0x800000
462 O_CREAT = 0x100
463 O_DEFER = 0x2000
464 O_DELAY = 0x4000
465 O_DIRECT = 0x8000000
466 O_DIRECTORY = 0x80000
467 O_DSYNC = 0x400000
468 O_EFSOFF = 0x400000000
469 O_EFSON = 0x200000000
470 O_EXCL = 0x400
471 O_EXEC = 0x20
472 O_LARGEFILE = 0x4000000
473 O_NDELAY = 0x8000
474 O_NOCACHE = 0x100000
475 O_NOCTTY = 0x800
476 O_NOFOLLOW = 0x1000000
477 O_NONBLOCK = 0x4
478 O_NONE = 0x3
479 O_NSHARE = 0x10000
480 O_RAW = 0x100000000
481 O_RDONLY = 0x0
482 O_RDWR = 0x2
483 O_RSHARE = 0x1000
484 O_RSYNC = 0x200000
485 O_SEARCH = 0x20
486 O_SNAPSHOT = 0x40
487 O_SYNC = 0x10
488 O_TRUNC = 0x200
489 O_TTY_INIT = 0x0
490 O_WRONLY = 0x1
491 PARENB = 0x100
492 PAREXT = 0x100000
493 PARMRK = 0x8
494 PARODD = 0x200
495 PENDIN = 0x20000000
496 PRIO_PGRP = 0x1
497 PRIO_PROCESS = 0x0
498 PRIO_USER = 0x2
499 PROT_EXEC = 0x4
500 PROT_NONE = 0x0
501 PROT_READ = 0x1
502 PROT_WRITE = 0x2
503 PR_64BIT = 0x20
504 PR_ADDR = 0x2
505 PR_ARGEXT = 0x400
506 PR_ATOMIC = 0x1
507 PR_CONNREQUIRED = 0x4
508 PR_FASTHZ = 0x5
509 PR_INP = 0x40
510 PR_INTRLEVEL = 0x8000
511 PR_MLS = 0x100
512 PR_MLS_1_LABEL = 0x200
513 PR_NOEOR = 0x4000
514 PR_RIGHTS = 0x10
515 PR_SLOWHZ = 0x2
516 PR_WANTRCVD = 0x8
517 PT_ATTACH = 0x1e
518 PT_CLEAR = 0x26
519 PT_COMMAND_MAX = 0x45
520 PT_CONTINUE = 0x7
521 PT_DETACH = 0x1f
522 PT_GET_UKEY = 0x40
523 PT_KILL = 0x8
524 PT_LDINFO = 0x22
525 PT_LDXINFO = 0x27
526 PT_MULTI = 0x23
527 PT_NEXT = 0x24
528 PT_QUERY = 0x28
529 PT_READ_BLOCK = 0x11
530 PT_READ_D = 0x2
531 PT_READ_FPR = 0xc
532 PT_READ_GPR = 0xb
533 PT_READ_I = 0x1
534 PT_REATT = 0x21
535 PT_REGSET = 0x20
536 PT_SET = 0x25
537 PT_STEP = 0x9
538 PT_TRACE_ME = 0x0
539 PT_WATCH = 0x29
540 PT_WRITE_BLOCK = 0x13
541 PT_WRITE_D = 0x5
542 PT_WRITE_FPR = 0xf
543 PT_WRITE_GPR = 0xe
544 PT_WRITE_I = 0x4
545 RLIMIT_AS = 0x6
546 RLIMIT_CORE = 0x4
547 RLIMIT_CPU = 0x0
548 RLIMIT_DATA = 0x2
549 RLIMIT_FSIZE = 0x1
550 RLIMIT_NOFILE = 0x7
551 RLIMIT_STACK = 0x3
552 RLIM_INFINITY = 0x7fffffffffffffff
553 RTAX_AUTHOR = 0x6
554 RTAX_BRD = 0x7
555 RTAX_DST = 0x0
556 RTAX_GATEWAY = 0x1
557 RTAX_GENMASK = 0x3
558 RTAX_IFA = 0x5
559 RTAX_IFP = 0x4
560 RTAX_MAX = 0x8
561 RTAX_NETMASK = 0x2
562 RTA_AUTHOR = 0x40
563 RTA_BRD = 0x80
564 RTA_DOWNSTREAM = 0x100
565 RTA_DST = 0x1
566 RTA_GATEWAY = 0x2
567 RTA_GENMASK = 0x8
568 RTA_IFA = 0x20
569 RTA_IFP = 0x10
570 RTA_NETMASK = 0x4
571 RTF_ACTIVE_DGD = 0x1000000
572 RTF_BCE = 0x80000
573 RTF_BLACKHOLE = 0x1000
574 RTF_BROADCAST = 0x400000
575 RTF_BUL = 0x2000
576 RTF_CLONE = 0x10000
577 RTF_CLONED = 0x20000
578 RTF_CLONING = 0x100
579 RTF_DONE = 0x40
580 RTF_DYNAMIC = 0x10
581 RTF_FREE_IN_PROG = 0x4000000
582 RTF_GATEWAY = 0x2
583 RTF_HOST = 0x4
584 RTF_LLINFO = 0x400
585 RTF_LOCAL = 0x200000
586 RTF_MASK = 0x80
587 RTF_MODIFIED = 0x20
588 RTF_MULTICAST = 0x800000
589 RTF_PERMANENT6 = 0x8000000
590 RTF_PINNED = 0x100000
591 RTF_PROTO1 = 0x8000
592 RTF_PROTO2 = 0x4000
593 RTF_PROTO3 = 0x40000
594 RTF_REJECT = 0x8
595 RTF_SMALLMTU = 0x40000
596 RTF_STATIC = 0x800
597 RTF_STOPSRCH = 0x2000000
598 RTF_UNREACHABLE = 0x10000000
599 RTF_UP = 0x1
600 RTF_XRESOLVE = 0x200
601 RTM_ADD = 0x1
602 RTM_CHANGE = 0x3
603 RTM_DELADDR = 0xd
604 RTM_DELETE = 0x2
605 RTM_EXPIRE = 0xf
606 RTM_GET = 0x4
607 RTM_GETNEXT = 0x11
608 RTM_IFINFO = 0xe
609 RTM_LOCK = 0x8
610 RTM_LOSING = 0x5
611 RTM_MISS = 0x7
612 RTM_NEWADDR = 0xc
613 RTM_OLDADD = 0x9
614 RTM_OLDDEL = 0xa
615 RTM_REDIRECT = 0x6
616 RTM_RESOLVE = 0xb
617 RTM_RTLOST = 0x10
618 RTM_RTTUNIT = 0xf4240
619 RTM_SAMEADDR = 0x12
620 RTM_SET = 0x13
621 RTM_VERSION = 0x2
622 RTM_VERSION_GR = 0x4
623 RTM_VERSION_GR_COMPAT = 0x3
624 RTM_VERSION_POLICY = 0x5
625 RTM_VERSION_POLICY_EXT = 0x6
626 RTM_VERSION_POLICY_PRFN = 0x7
627 RTV_EXPIRE = 0x4
628 RTV_HOPCOUNT = 0x2
629 RTV_MTU = 0x1
630 RTV_RPIPE = 0x8
631 RTV_RTT = 0x40
632 RTV_RTTVAR = 0x80
633 RTV_SPIPE = 0x10
634 RTV_SSTHRESH = 0x20
635 RUSAGE_CHILDREN = -0x1
636 RUSAGE_SELF = 0x0
637 RUSAGE_THREAD = 0x1
638 SCM_RIGHTS = 0x1
639 SHUT_RD = 0x0
640 SHUT_RDWR = 0x2
641 SHUT_WR = 0x1
642 SIGQUEUE_MAX = 0x20
643 SIOCADDIFVIPA = 0x20006942
644 SIOCADDMTU = -0x7ffb9690
645 SIOCADDMULTI = -0x7fdf96cf
646 SIOCADDNETID = -0x7fd796a9
647 SIOCADDRT = -0x7fc78df6
648 SIOCAIFADDR = -0x7fbf96e6
649 SIOCATMARK = 0x40047307
650 SIOCDARP = -0x7fb396e0
651 SIOCDELIFVIPA = 0x20006943
652 SIOCDELMTU = -0x7ffb968f
653 SIOCDELMULTI = -0x7fdf96ce
654 SIOCDELPMTU = -0x7fd78ff6
655 SIOCDELRT = -0x7fc78df5
656 SIOCDIFADDR = -0x7fd796e7
657 SIOCDNETOPT = -0x3ffe9680
658 SIOCDX25XLATE = -0x7fd7969b
659 SIOCFIFADDR = -0x7fdf966d
660 SIOCGARP = -0x3fb396da
661 SIOCGETMTUS = 0x2000696f
662 SIOCGETSGCNT = -0x3feb8acc
663 SIOCGETVIFCNT = -0x3feb8acd
664 SIOCGHIWAT = 0x40047301
665 SIOCGIFADDR = -0x3fd796df
666 SIOCGIFADDRS = 0x2000698c
667 SIOCGIFBAUDRATE = -0x3fd79693
668 SIOCGIFBRDADDR = -0x3fd796dd
669 SIOCGIFCONF = -0x3fef96bb
670 SIOCGIFCONFGLOB = -0x3fef9670
671 SIOCGIFDSTADDR = -0x3fd796de
672 SIOCGIFFLAGS = -0x3fd796ef
673 SIOCGIFGIDLIST = 0x20006968
674 SIOCGIFHWADDR = -0x3fab966b
675 SIOCGIFMETRIC = -0x3fd796e9
676 SIOCGIFMTU = -0x3fd796aa
677 SIOCGIFNETMASK = -0x3fd796db
678 SIOCGIFOPTIONS = -0x3fd796d6
679 SIOCGISNO = -0x3fd79695
680 SIOCGLOADF = -0x3ffb967e
681 SIOCGLOWAT = 0x40047303
682 SIOCGNETOPT = -0x3ffe96a5
683 SIOCGNETOPT1 = -0x3fdf967f
684 SIOCGNMTUS = 0x2000696e
685 SIOCGPGRP = 0x40047309
686 SIOCGSIZIFCONF = 0x4004696a
687 SIOCGSRCFILTER = -0x3fe796cb
688 SIOCGTUNEPHASE = -0x3ffb9676
689 SIOCGX25XLATE = -0x3fd7969c
690 SIOCIFATTACH = -0x7fdf9699
691 SIOCIFDETACH = -0x7fdf969a
692 SIOCIFGETPKEY = -0x7fdf969b
693 SIOCIF_ATM_DARP = -0x7fdf9683
694 SIOCIF_ATM_DUMPARP = -0x7fdf9685
695 SIOCIF_ATM_GARP = -0x7fdf9682
696 SIOCIF_ATM_IDLE = -0x7fdf9686
697 SIOCIF_ATM_SARP = -0x7fdf9681
698 SIOCIF_ATM_SNMPARP = -0x7fdf9687
699 SIOCIF_ATM_SVC = -0x7fdf9684
700 SIOCIF_ATM_UBR = -0x7fdf9688
701 SIOCIF_DEVHEALTH = -0x7ffb966c
702 SIOCIF_IB_ARP_INCOMP = -0x7fdf9677
703 SIOCIF_IB_ARP_TIMER = -0x7fdf9678
704 SIOCIF_IB_CLEAR_PINFO = -0x3fdf966f
705 SIOCIF_IB_DEL_ARP = -0x7fdf967f
706 SIOCIF_IB_DEL_PINFO = -0x3fdf9670
707 SIOCIF_IB_DUMP_ARP = -0x7fdf9680
708 SIOCIF_IB_GET_ARP = -0x7fdf967e
709 SIOCIF_IB_GET_INFO = -0x3f879675
710 SIOCIF_IB_GET_STATS = -0x3f879672
711 SIOCIF_IB_NOTIFY_ADDR_REM = -0x3f87966a
712 SIOCIF_IB_RESET_STATS = -0x3f879671
713 SIOCIF_IB_RESIZE_CQ = -0x7fdf9679
714 SIOCIF_IB_SET_ARP = -0x7fdf967d
715 SIOCIF_IB_SET_PKEY = -0x7fdf967c
716 SIOCIF_IB_SET_PORT = -0x7fdf967b
717 SIOCIF_IB_SET_QKEY = -0x7fdf9676
718 SIOCIF_IB_SET_QSIZE = -0x7fdf967a
719 SIOCLISTIFVIPA = 0x20006944
720 SIOCSARP = -0x7fb396e2
721 SIOCSHIWAT = 0xffffffff80047300
722 SIOCSIFADDR = -0x7fd796f4
723 SIOCSIFADDRORI = -0x7fdb9673
724 SIOCSIFBRDADDR = -0x7fd796ed
725 SIOCSIFDSTADDR = -0x7fd796f2
726 SIOCSIFFLAGS = -0x7fd796f0
727 SIOCSIFGIDLIST = 0x20006969
728 SIOCSIFMETRIC = -0x7fd796e8
729 SIOCSIFMTU = -0x7fd796a8
730 SIOCSIFNETDUMP = -0x7fd796e4
731 SIOCSIFNETMASK = -0x7fd796ea
732 SIOCSIFOPTIONS = -0x7fd796d7
733 SIOCSIFSUBCHAN = -0x7fd796e5
734 SIOCSISNO = -0x7fd79694
735 SIOCSLOADF = -0x3ffb967d
736 SIOCSLOWAT = 0xffffffff80047302
737 SIOCSNETOPT = -0x7ffe96a6
738 SIOCSPGRP = 0xffffffff80047308
739 SIOCSX25XLATE = -0x7fd7969d
740 SOCK_CONN_DGRAM = 0x6
741 SOCK_DGRAM = 0x2
742 SOCK_RAW = 0x3
743 SOCK_RDM = 0x4
744 SOCK_SEQPACKET = 0x5
745 SOCK_STREAM = 0x1
746 SOL_SOCKET = 0xffff
747 SOMAXCONN = 0x400
748 SO_ACCEPTCONN = 0x2
749 SO_AUDIT = 0x8000
750 SO_BROADCAST = 0x20
751 SO_CKSUMRECV = 0x800
752 SO_DEBUG = 0x1
753 SO_DONTROUTE = 0x10
754 SO_ERROR = 0x1007
755 SO_KEEPALIVE = 0x8
756 SO_KERNACCEPT = 0x2000
757 SO_LINGER = 0x80
758 SO_NOMULTIPATH = 0x4000
759 SO_NOREUSEADDR = 0x1000
760 SO_OOBINLINE = 0x100
761 SO_PEERID = 0x1009
762 SO_RCVBUF = 0x1002
763 SO_RCVLOWAT = 0x1004
764 SO_RCVTIMEO = 0x1006
765 SO_REUSEADDR = 0x4
766 SO_REUSEPORT = 0x200
767 SO_SNDBUF = 0x1001
768 SO_SNDLOWAT = 0x1003
769 SO_SNDTIMEO = 0x1005
770 SO_TIMESTAMPNS = 0x100a
771 SO_TYPE = 0x1008
772 SO_USELOOPBACK = 0x40
773 SO_USE_IFBUFS = 0x400
774 S_BANDURG = 0x400
775 S_EMODFMT = 0x3c000000
776 S_ENFMT = 0x400
777 S_ERROR = 0x100
778 S_HANGUP = 0x200
779 S_HIPRI = 0x2
780 S_ICRYPTO = 0x80000
781 S_IEXEC = 0x40
782 S_IFBLK = 0x6000
783 S_IFCHR = 0x2000
784 S_IFDIR = 0x4000
785 S_IFIFO = 0x1000
786 S_IFJOURNAL = 0x10000
787 S_IFLNK = 0xa000
788 S_IFMPX = 0x2200
789 S_IFMT = 0xf000
790 S_IFPDIR = 0x4000000
791 S_IFPSDIR = 0x8000000
792 S_IFPSSDIR = 0xc000000
793 S_IFREG = 0x8000
794 S_IFSOCK = 0xc000
795 S_IFSYSEA = 0x30000000
796 S_INPUT = 0x1
797 S_IREAD = 0x100
798 S_IRGRP = 0x20
799 S_IROTH = 0x4
800 S_IRUSR = 0x100
801 S_IRWXG = 0x38
802 S_IRWXO = 0x7
803 S_IRWXU = 0x1c0
804 S_ISGID = 0x400
805 S_ISUID = 0x800
806 S_ISVTX = 0x200
807 S_ITCB = 0x1000000
808 S_ITP = 0x800000
809 S_IWGRP = 0x10
810 S_IWOTH = 0x2
811 S_IWRITE = 0x80
812 S_IWUSR = 0x80
813 S_IXACL = 0x2000000
814 S_IXATTR = 0x40000
815 S_IXGRP = 0x8
816 S_IXINTERFACE = 0x100000
817 S_IXMOD = 0x40000000
818 S_IXOTH = 0x1
819 S_IXUSR = 0x40
820 S_MSG = 0x8
821 S_OUTPUT = 0x4
822 S_RDBAND = 0x20
823 S_RDNORM = 0x10
824 S_RESERVED1 = 0x20000
825 S_RESERVED2 = 0x200000
826 S_RESERVED3 = 0x400000
827 S_RESERVED4 = 0x80000000
828 S_RESFMT1 = 0x10000000
829 S_RESFMT10 = 0x34000000
830 S_RESFMT11 = 0x38000000
831 S_RESFMT12 = 0x3c000000
832 S_RESFMT2 = 0x14000000
833 S_RESFMT3 = 0x18000000
834 S_RESFMT4 = 0x1c000000
835 S_RESFMT5 = 0x20000000
836 S_RESFMT6 = 0x24000000
837 S_RESFMT7 = 0x28000000
838 S_RESFMT8 = 0x2c000000
839 S_WRBAND = 0x80
840 S_WRNORM = 0x40
841 TCIFLUSH = 0x0
842 TCIOFLUSH = 0x2
843 TCOFLUSH = 0x1
844 TCP_24DAYS_WORTH_OF_SLOWTICKS = 0x3f4800
845 TCP_ACLADD = 0x23
846 TCP_ACLBIND = 0x26
847 TCP_ACLCLEAR = 0x22
848 TCP_ACLDEL = 0x24
849 TCP_ACLDENY = 0x8
850 TCP_ACLFLUSH = 0x21
851 TCP_ACLGID = 0x1
852 TCP_ACLLS = 0x25
853 TCP_ACLSUBNET = 0x4
854 TCP_ACLUID = 0x2
855 TCP_CWND_DF = 0x16
856 TCP_CWND_IF = 0x15
857 TCP_DELAY_ACK_FIN = 0x2
858 TCP_DELAY_ACK_SYN = 0x1
859 TCP_FASTNAME = 0x101080a
860 TCP_KEEPCNT = 0x13
861 TCP_KEEPIDLE = 0x11
862 TCP_KEEPINTVL = 0x12
863 TCP_LSPRIV = 0x29
864 TCP_LUID = 0x20
865 TCP_MAXBURST = 0x8
866 TCP_MAXDF = 0x64
867 TCP_MAXIF = 0x64
868 TCP_MAXSEG = 0x2
869 TCP_MAXWIN = 0xffff
870 TCP_MAXWINDOWSCALE = 0xe
871 TCP_MAX_SACK = 0x4
872 TCP_MSS = 0x5b4
873 TCP_NODELAY = 0x1
874 TCP_NODELAYACK = 0x14
875 TCP_NOREDUCE_CWND_EXIT_FRXMT = 0x19
876 TCP_NOREDUCE_CWND_IN_FRXMT = 0x18
877 TCP_NOTENTER_SSTART = 0x17
878 TCP_OPT = 0x19
879 TCP_RFC1323 = 0x4
880 TCP_SETPRIV = 0x27
881 TCP_STDURG = 0x10
882 TCP_TIMESTAMP_OPTLEN = 0xc
883 TCP_UNSETPRIV = 0x28
884 TCSAFLUSH = 0x2
885 TIOCCBRK = 0x2000747a
886 TIOCCDTR = 0x20007478
887 TIOCCONS = 0xffffffff80047462
888 TIOCEXCL = 0x2000740d
889 TIOCFLUSH = 0xffffffff80047410
890 TIOCGETC = 0x40067412
891 TIOCGETD = 0x40047400
892 TIOCGETP = 0x40067408
893 TIOCGLTC = 0x40067474
894 TIOCGPGRP = 0x40047477
895 TIOCGSID = 0x40047448
896 TIOCGSIZE = 0x40087468
897 TIOCGWINSZ = 0x40087468
898 TIOCHPCL = 0x20007402
899 TIOCLBIC = 0xffffffff8004747e
900 TIOCLBIS = 0xffffffff8004747f
901 TIOCLGET = 0x4004747c
902 TIOCLSET = 0xffffffff8004747d
903 TIOCMBIC = 0xffffffff8004746b
904 TIOCMBIS = 0xffffffff8004746c
905 TIOCMGET = 0x4004746a
906 TIOCMIWAIT = 0xffffffff80047464
907 TIOCMODG = 0x40047403
908 TIOCMODS = 0xffffffff80047404
909 TIOCMSET = 0xffffffff8004746d
910 TIOCM_CAR = 0x40
911 TIOCM_CD = 0x40
912 TIOCM_CTS = 0x20
913 TIOCM_DSR = 0x100
914 TIOCM_DTR = 0x2
915 TIOCM_LE = 0x1
916 TIOCM_RI = 0x80
917 TIOCM_RNG = 0x80
918 TIOCM_RTS = 0x4
919 TIOCM_SR = 0x10
920 TIOCM_ST = 0x8
921 TIOCNOTTY = 0x20007471
922 TIOCNXCL = 0x2000740e
923 TIOCOUTQ = 0x40047473
924 TIOCPKT = 0xffffffff80047470
925 TIOCPKT_DATA = 0x0
926 TIOCPKT_DOSTOP = 0x20
927 TIOCPKT_FLUSHREAD = 0x1
928 TIOCPKT_FLUSHWRITE = 0x2
929 TIOCPKT_NOSTOP = 0x10
930 TIOCPKT_START = 0x8
931 TIOCPKT_STOP = 0x4
932 TIOCREMOTE = 0xffffffff80047469
933 TIOCSBRK = 0x2000747b
934 TIOCSDTR = 0x20007479
935 TIOCSETC = 0xffffffff80067411
936 TIOCSETD = 0xffffffff80047401
937 TIOCSETN = 0xffffffff8006740a
938 TIOCSETP = 0xffffffff80067409
939 TIOCSLTC = 0xffffffff80067475
940 TIOCSPGRP = 0xffffffff80047476
941 TIOCSSIZE = 0xffffffff80087467
942 TIOCSTART = 0x2000746e
943 TIOCSTI = 0xffffffff80017472
944 TIOCSTOP = 0x2000746f
945 TIOCSWINSZ = 0xffffffff80087467
946 TIOCUCNTL = 0xffffffff80047466
947 TOSTOP = 0x10000
948 VDISCRD = 0xc
949 VDSUSP = 0xa
950 VEOF = 0x4
951 VEOL = 0x5
952 VEOL2 = 0x6
953 VERASE = 0x2
954 VINTR = 0x0
955 VKILL = 0x3
956 VLNEXT = 0xe
957 VMIN = 0x4
958 VQUIT = 0x1
959 VREPRINT = 0xb
960 VSTART = 0x7
961 VSTOP = 0x8
962 VSTRT = 0x7
963 VSUSP = 0x9
964 VT0 = 0x0
965 VT1 = 0x8000
966 VTDELAY = 0x2000
967 VTDLY = 0x8000
968 VTIME = 0x5
969 VWERSE = 0xd
970 WPARSTART = 0x1
971 WPARSTOP = 0x2
972 WPARTTYNAME = "Global"
973 _FDATAFLUSH = 0x2000000000
974 )
975
976
977 const (
978 E2BIG = Errno(0x7)
979 EACCES = Errno(0xd)
980 EADDRINUSE = Errno(0x43)
981 EADDRNOTAVAIL = Errno(0x44)
982 EAFNOSUPPORT = Errno(0x42)
983 EAGAIN = Errno(0xb)
984 EALREADY = Errno(0x38)
985 EBADF = Errno(0x9)
986 EBADMSG = Errno(0x78)
987 EBUSY = Errno(0x10)
988 ECANCELED = Errno(0x75)
989 ECHILD = Errno(0xa)
990 ECHRNG = Errno(0x25)
991 ECLONEME = Errno(0x52)
992 ECONNABORTED = Errno(0x48)
993 ECONNREFUSED = Errno(0x4f)
994 ECONNRESET = Errno(0x49)
995 ECORRUPT = Errno(0x59)
996 EDEADLK = Errno(0x2d)
997 EDESTADDREQ = Errno(0x3a)
998 EDESTADDRREQ = Errno(0x3a)
999 EDIST = Errno(0x35)
1000 EDOM = Errno(0x21)
1001 EDQUOT = Errno(0x58)
1002 EEXIST = Errno(0x11)
1003 EFAULT = Errno(0xe)
1004 EFBIG = Errno(0x1b)
1005 EFORMAT = Errno(0x30)
1006 EHOSTDOWN = Errno(0x50)
1007 EHOSTUNREACH = Errno(0x51)
1008 EIDRM = Errno(0x24)
1009 EILSEQ = Errno(0x74)
1010 EINPROGRESS = Errno(0x37)
1011 EINTR = Errno(0x4)
1012 EINVAL = Errno(0x16)
1013 EIO = Errno(0x5)
1014 EISCONN = Errno(0x4b)
1015 EISDIR = Errno(0x15)
1016 EL2HLT = Errno(0x2c)
1017 EL2NSYNC = Errno(0x26)
1018 EL3HLT = Errno(0x27)
1019 EL3RST = Errno(0x28)
1020 ELNRNG = Errno(0x29)
1021 ELOOP = Errno(0x55)
1022 EMEDIA = Errno(0x6e)
1023 EMFILE = Errno(0x18)
1024 EMLINK = Errno(0x1f)
1025 EMSGSIZE = Errno(0x3b)
1026 EMULTIHOP = Errno(0x7d)
1027 ENAMETOOLONG = Errno(0x56)
1028 ENETDOWN = Errno(0x45)
1029 ENETRESET = Errno(0x47)
1030 ENETUNREACH = Errno(0x46)
1031 ENFILE = Errno(0x17)
1032 ENOATTR = Errno(0x70)
1033 ENOBUFS = Errno(0x4a)
1034 ENOCONNECT = Errno(0x32)
1035 ENOCSI = Errno(0x2b)
1036 ENODATA = Errno(0x7a)
1037 ENODEV = Errno(0x13)
1038 ENOENT = Errno(0x2)
1039 ENOEXEC = Errno(0x8)
1040 ENOLCK = Errno(0x31)
1041 ENOLINK = Errno(0x7e)
1042 ENOMEM = Errno(0xc)
1043 ENOMSG = Errno(0x23)
1044 ENOPROTOOPT = Errno(0x3d)
1045 ENOSPC = Errno(0x1c)
1046 ENOSR = Errno(0x76)
1047 ENOSTR = Errno(0x7b)
1048 ENOSYS = Errno(0x6d)
1049 ENOTBLK = Errno(0xf)
1050 ENOTCONN = Errno(0x4c)
1051 ENOTDIR = Errno(0x14)
1052 ENOTEMPTY = Errno(0x11)
1053 ENOTREADY = Errno(0x2e)
1054 ENOTRECOVERABLE = Errno(0x5e)
1055 ENOTRUST = Errno(0x72)
1056 ENOTSOCK = Errno(0x39)
1057 ENOTSUP = Errno(0x7c)
1058 ENOTTY = Errno(0x19)
1059 ENXIO = Errno(0x6)
1060 EOPNOTSUPP = Errno(0x40)
1061 EOVERFLOW = Errno(0x7f)
1062 EOWNERDEAD = Errno(0x5f)
1063 EPERM = Errno(0x1)
1064 EPFNOSUPPORT = Errno(0x41)
1065 EPIPE = Errno(0x20)
1066 EPROCLIM = Errno(0x53)
1067 EPROTO = Errno(0x79)
1068 EPROTONOSUPPORT = Errno(0x3e)
1069 EPROTOTYPE = Errno(0x3c)
1070 ERANGE = Errno(0x22)
1071 EREMOTE = Errno(0x5d)
1072 ERESTART = Errno(0x52)
1073 EROFS = Errno(0x1e)
1074 ESAD = Errno(0x71)
1075 ESHUTDOWN = Errno(0x4d)
1076 ESOCKTNOSUPPORT = Errno(0x3f)
1077 ESOFT = Errno(0x6f)
1078 ESPIPE = Errno(0x1d)
1079 ESRCH = Errno(0x3)
1080 ESTALE = Errno(0x34)
1081 ESYSERROR = Errno(0x5a)
1082 ETIME = Errno(0x77)
1083 ETIMEDOUT = Errno(0x4e)
1084 ETOOMANYREFS = Errno(0x73)
1085 ETXTBSY = Errno(0x1a)
1086 EUNATCH = Errno(0x2a)
1087 EUSERS = Errno(0x54)
1088 EWOULDBLOCK = Errno(0xb)
1089 EWRPROTECT = Errno(0x2f)
1090 EXDEV = Errno(0x12)
1091 )
1092
1093
1094 const (
1095 SIGABRT = Signal(0x6)
1096 SIGAIO = Signal(0x17)
1097 SIGALRM = Signal(0xe)
1098 SIGALRM1 = Signal(0x26)
1099 SIGBUS = Signal(0xa)
1100 SIGCAPI = Signal(0x31)
1101 SIGCHLD = Signal(0x14)
1102 SIGCLD = Signal(0x14)
1103 SIGCONT = Signal(0x13)
1104 SIGCPUFAIL = Signal(0x3b)
1105 SIGDANGER = Signal(0x21)
1106 SIGEMT = Signal(0x7)
1107 SIGFPE = Signal(0x8)
1108 SIGGRANT = Signal(0x3c)
1109 SIGHUP = Signal(0x1)
1110 SIGILL = Signal(0x4)
1111 SIGINT = Signal(0x2)
1112 SIGIO = Signal(0x17)
1113 SIGIOINT = Signal(0x10)
1114 SIGIOT = Signal(0x6)
1115 SIGKAP = Signal(0x3c)
1116 SIGKILL = Signal(0x9)
1117 SIGLOST = Signal(0x6)
1118 SIGMAX = Signal(0xff)
1119 SIGMAX32 = Signal(0x3f)
1120 SIGMAX64 = Signal(0xff)
1121 SIGMIGRATE = Signal(0x23)
1122 SIGMSG = Signal(0x1b)
1123 SIGPIPE = Signal(0xd)
1124 SIGPOLL = Signal(0x17)
1125 SIGPRE = Signal(0x24)
1126 SIGPROF = Signal(0x20)
1127 SIGPTY = Signal(0x17)
1128 SIGPWR = Signal(0x1d)
1129 SIGQUIT = Signal(0x3)
1130 SIGRECONFIG = Signal(0x3a)
1131 SIGRETRACT = Signal(0x3d)
1132 SIGSAK = Signal(0x3f)
1133 SIGSEGV = Signal(0xb)
1134 SIGSOUND = Signal(0x3e)
1135 SIGSTOP = Signal(0x11)
1136 SIGSYS = Signal(0xc)
1137 SIGSYSERROR = Signal(0x30)
1138 SIGTALRM = Signal(0x26)
1139 SIGTERM = Signal(0xf)
1140 SIGTRAP = Signal(0x5)
1141 SIGTSTP = Signal(0x12)
1142 SIGTTIN = Signal(0x15)
1143 SIGTTOU = Signal(0x16)
1144 SIGURG = Signal(0x10)
1145 SIGUSR1 = Signal(0x1e)
1146 SIGUSR2 = Signal(0x1f)
1147 SIGVIRT = Signal(0x25)
1148 SIGVTALRM = Signal(0x22)
1149 SIGWAITING = Signal(0x27)
1150 SIGWINCH = Signal(0x1c)
1151 SIGXCPU = Signal(0x18)
1152 SIGXFSZ = Signal(0x19)
1153 )
1154
1155
1156 var errors = [...]string{
1157 1: "not owner",
1158 2: "no such file or directory",
1159 3: "no such process",
1160 4: "interrupted system call",
1161 5: "I/O error",
1162 6: "no such device or address",
1163 7: "arg list too long",
1164 8: "exec format error",
1165 9: "bad file number",
1166 10: "no child processes",
1167 11: "resource temporarily unavailable",
1168 12: "not enough space",
1169 13: "permission denied",
1170 14: "bad address",
1171 15: "block device required",
1172 16: "device busy",
1173 17: "file exists",
1174 18: "cross-device link",
1175 19: "no such device",
1176 20: "not a directory",
1177 21: "is a directory",
1178 22: "invalid argument",
1179 23: "file table overflow",
1180 24: "too many open files",
1181 25: "not a typewriter",
1182 26: "text file busy",
1183 27: "file too large",
1184 28: "no space left on device",
1185 29: "illegal seek",
1186 30: "read-only file system",
1187 31: "too many links",
1188 32: "broken pipe",
1189 33: "argument out of domain",
1190 34: "result too large",
1191 35: "no message of desired type",
1192 36: "identifier removed",
1193 37: "channel number out of range",
1194 38: "level 2 not synchronized",
1195 39: "level 3 halted",
1196 40: "level 3 reset",
1197 41: "link number out of range",
1198 42: "protocol driver not attached",
1199 43: "no CSI structure available",
1200 44: "level 2 halted",
1201 45: "deadlock condition if locked",
1202 46: "device not ready",
1203 47: "write-protected media",
1204 48: "unformatted or incompatible media",
1205 49: "no locks available",
1206 50: "cannot Establish Connection",
1207 52: "missing file or filesystem",
1208 53: "requests blocked by Administrator",
1209 55: "operation now in progress",
1210 56: "operation already in progress",
1211 57: "socket operation on non-socket",
1212 58: "destination address required",
1213 59: "message too long",
1214 60: "protocol wrong type for socket",
1215 61: "protocol not available",
1216 62: "protocol not supported",
1217 63: "socket type not supported",
1218 64: "operation not supported on socket",
1219 65: "protocol family not supported",
1220 66: "addr family not supported by protocol",
1221 67: "address already in use",
1222 68: "can't assign requested address",
1223 69: "network is down",
1224 70: "network is unreachable",
1225 71: "network dropped connection on reset",
1226 72: "software caused connection abort",
1227 73: "connection reset by peer",
1228 74: "no buffer space available",
1229 75: "socket is already connected",
1230 76: "socket is not connected",
1231 77: "can't send after socket shutdown",
1232 78: "connection timed out",
1233 79: "connection refused",
1234 80: "host is down",
1235 81: "no route to host",
1236 82: "restart the system call",
1237 83: "too many processes",
1238 84: "too many users",
1239 85: "too many levels of symbolic links",
1240 86: "file name too long",
1241 88: "disk quota exceeded",
1242 89: "invalid file system control data detected",
1243 90: "for future use ",
1244 93: "item is not local to host",
1245 94: "state not recoverable ",
1246 95: "previous owner died ",
1247 109: "function not implemented",
1248 110: "media surface error",
1249 111: "I/O completed, but needs relocation",
1250 112: "no attribute found",
1251 113: "security Authentication Denied",
1252 114: "not a Trusted Program",
1253 115: "too many references: can't splice",
1254 116: "invalid wide character",
1255 117: "asynchronous I/O cancelled",
1256 118: "out of STREAMS resources",
1257 119: "system call timed out",
1258 120: "next message has wrong type",
1259 121: "error in protocol",
1260 122: "no message on stream head read q",
1261 123: "fd not associated with a stream",
1262 124: "unsupported attribute value",
1263 125: "multihop is not allowed",
1264 126: "the server link has been severed",
1265 127: "value too large to be stored in data type",
1266 }
1267
1268
1269 var signals = [...]string{
1270 1: "hangup",
1271 2: "interrupt",
1272 3: "quit",
1273 4: "illegal instruction",
1274 5: "trace/BPT trap",
1275 6: "IOT/Abort trap",
1276 7: "EMT trap",
1277 8: "floating point exception",
1278 9: "killed",
1279 10: "bus error",
1280 11: "segmentation fault",
1281 12: "bad system call",
1282 13: "broken pipe",
1283 14: "alarm clock",
1284 15: "terminated",
1285 16: "urgent I/O condition",
1286 17: "stopped (signal)",
1287 18: "stopped",
1288 19: "continued",
1289 20: "child exited",
1290 21: "stopped (tty input)",
1291 22: "stopped (tty output)",
1292 23: "I/O possible/complete",
1293 24: "cputime limit exceeded",
1294 25: "filesize limit exceeded",
1295 27: "input device data",
1296 28: "window size changes",
1297 29: "power-failure",
1298 30: "user defined signal 1",
1299 31: "user defined signal 2",
1300 32: "profiling timer expired",
1301 33: "paging space low",
1302 34: "virtual timer expired",
1303 35: "signal 35",
1304 36: "signal 36",
1305 37: "signal 37",
1306 38: "signal 38",
1307 39: "signal 39",
1308 48: "signal 48",
1309 49: "signal 49",
1310 58: "signal 58",
1311 59: "CPU Failure Predicted",
1312 60: "monitor mode granted",
1313 61: "monitor mode retracted",
1314 62: "sound completed",
1315 63: "secure attention",
1316 255: "signal 255",
1317 }
1318
View as plain text