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