Source file src/syscall/zerrors_aix_ppc64.go

Documentation: syscall

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

View as plain text