...

Source file src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go

Documentation: cmd/vendor/golang.org/x/sys/unix

     1  // mkerrors.sh -Wall -Werror -static -I/tmp/sparc64/include
     2  // Code generated by the command above; see README.md. DO NOT EDIT.
     3  
     4  //go:build sparc64 && linux
     5  
     6  // Code generated by cmd/cgo -godefs; DO NOT EDIT.
     7  // cgo -godefs -- -Wall -Werror -static -I/tmp/sparc64/include _const.go
     8  
     9  package unix
    10  
    11  import "syscall"
    12  
    13  const (
    14  	ASI_LEON_DFLUSH                  = 0x11
    15  	ASI_LEON_IFLUSH                  = 0x10
    16  	ASI_LEON_MMUFLUSH                = 0x18
    17  	B1000000                         = 0x1008
    18  	B115200                          = 0x1002
    19  	B1152000                         = 0x1009
    20  	B1500000                         = 0x100a
    21  	B2000000                         = 0x100b
    22  	B230400                          = 0x1003
    23  	B2500000                         = 0x100c
    24  	B3000000                         = 0x100d
    25  	B3500000                         = 0x100e
    26  	B4000000                         = 0x100f
    27  	B460800                          = 0x1004
    28  	B500000                          = 0x1005
    29  	B57600                           = 0x1001
    30  	B576000                          = 0x1006
    31  	B921600                          = 0x1007
    32  	BLKALIGNOFF                      = 0x2000127a
    33  	BLKBSZGET                        = 0x40081270
    34  	BLKBSZSET                        = 0x80081271
    35  	BLKDISCARD                       = 0x20001277
    36  	BLKDISCARDZEROES                 = 0x2000127c
    37  	BLKFLSBUF                        = 0x20001261
    38  	BLKFRAGET                        = 0x20001265
    39  	BLKFRASET                        = 0x20001264
    40  	BLKGETDISKSEQ                    = 0x40081280
    41  	BLKGETSIZE                       = 0x20001260
    42  	BLKGETSIZE64                     = 0x40081272
    43  	BLKIOMIN                         = 0x20001278
    44  	BLKIOOPT                         = 0x20001279
    45  	BLKPBSZGET                       = 0x2000127b
    46  	BLKRAGET                         = 0x20001263
    47  	BLKRASET                         = 0x20001262
    48  	BLKROGET                         = 0x2000125e
    49  	BLKROSET                         = 0x2000125d
    50  	BLKROTATIONAL                    = 0x2000127e
    51  	BLKRRPART                        = 0x2000125f
    52  	BLKSECDISCARD                    = 0x2000127d
    53  	BLKSECTGET                       = 0x20001267
    54  	BLKSECTSET                       = 0x20001266
    55  	BLKSSZGET                        = 0x20001268
    56  	BLKZEROOUT                       = 0x2000127f
    57  	BOTHER                           = 0x1000
    58  	BS1                              = 0x2000
    59  	BSDLY                            = 0x2000
    60  	CBAUD                            = 0x100f
    61  	CBAUDEX                          = 0x1000
    62  	CIBAUD                           = 0x100f0000
    63  	CLOCAL                           = 0x800
    64  	CR1                              = 0x200
    65  	CR2                              = 0x400
    66  	CR3                              = 0x600
    67  	CRDLY                            = 0x600
    68  	CREAD                            = 0x80
    69  	CS6                              = 0x10
    70  	CS7                              = 0x20
    71  	CS8                              = 0x30
    72  	CSIZE                            = 0x30
    73  	CSTOPB                           = 0x40
    74  	ECCGETLAYOUT                     = 0x41484d11
    75  	ECCGETSTATS                      = 0x40104d12
    76  	ECHOCTL                          = 0x200
    77  	ECHOE                            = 0x10
    78  	ECHOK                            = 0x20
    79  	ECHOKE                           = 0x800
    80  	ECHONL                           = 0x40
    81  	ECHOPRT                          = 0x400
    82  	EFD_CLOEXEC                      = 0x400000
    83  	EFD_NONBLOCK                     = 0x4000
    84  	EMT_TAGOVF                       = 0x1
    85  	EPOLL_CLOEXEC                    = 0x400000
    86  	EXTPROC                          = 0x10000
    87  	FF1                              = 0x8000
    88  	FFDLY                            = 0x8000
    89  	FICLONE                          = 0x80049409
    90  	FICLONERANGE                     = 0x8020940d
    91  	FLUSHO                           = 0x1000
    92  	FS_IOC_ENABLE_VERITY             = 0x80806685
    93  	FS_IOC_GETFLAGS                  = 0x40086601
    94  	FS_IOC_GET_ENCRYPTION_NONCE      = 0x4010661b
    95  	FS_IOC_GET_ENCRYPTION_POLICY     = 0x800c6615
    96  	FS_IOC_GET_ENCRYPTION_PWSALT     = 0x80106614
    97  	FS_IOC_SETFLAGS                  = 0x80086602
    98  	FS_IOC_SET_ENCRYPTION_POLICY     = 0x400c6613
    99  	F_GETLK                          = 0x7
   100  	F_GETLK64                        = 0x7
   101  	F_GETOWN                         = 0x5
   102  	F_RDLCK                          = 0x1
   103  	F_SETLK                          = 0x8
   104  	F_SETLK64                        = 0x8
   105  	F_SETLKW                         = 0x9
   106  	F_SETLKW64                       = 0x9
   107  	F_SETOWN                         = 0x6
   108  	F_UNLCK                          = 0x3
   109  	F_WRLCK                          = 0x2
   110  	HIDIOCGRAWINFO                   = 0x40084803
   111  	HIDIOCGRDESC                     = 0x50044802
   112  	HIDIOCGRDESCSIZE                 = 0x40044801
   113  	HUPCL                            = 0x400
   114  	ICANON                           = 0x2
   115  	IEXTEN                           = 0x8000
   116  	IN_CLOEXEC                       = 0x400000
   117  	IN_NONBLOCK                      = 0x4000
   118  	IOCTL_VM_SOCKETS_GET_LOCAL_CID   = 0x200007b9
   119  	ISIG                             = 0x1
   120  	IUCLC                            = 0x200
   121  	IXOFF                            = 0x1000
   122  	IXON                             = 0x400
   123  	MAP_ANON                         = 0x20
   124  	MAP_ANONYMOUS                    = 0x20
   125  	MAP_DENYWRITE                    = 0x800
   126  	MAP_EXECUTABLE                   = 0x1000
   127  	MAP_GROWSDOWN                    = 0x200
   128  	MAP_HUGETLB                      = 0x40000
   129  	MAP_LOCKED                       = 0x100
   130  	MAP_NONBLOCK                     = 0x10000
   131  	MAP_NORESERVE                    = 0x40
   132  	MAP_POPULATE                     = 0x8000
   133  	MAP_RENAME                       = 0x20
   134  	MAP_STACK                        = 0x20000
   135  	MAP_SYNC                         = 0x80000
   136  	MCL_CURRENT                      = 0x2000
   137  	MCL_FUTURE                       = 0x4000
   138  	MCL_ONFAULT                      = 0x8000
   139  	MEMERASE                         = 0x80084d02
   140  	MEMERASE64                       = 0x80104d14
   141  	MEMGETBADBLOCK                   = 0x80084d0b
   142  	MEMGETINFO                       = 0x40204d01
   143  	MEMGETOOBSEL                     = 0x40c84d0a
   144  	MEMGETREGIONCOUNT                = 0x40044d07
   145  	MEMISLOCKED                      = 0x40084d17
   146  	MEMLOCK                          = 0x80084d05
   147  	MEMREAD                          = 0xc0404d1a
   148  	MEMREADOOB                       = 0xc0104d04
   149  	MEMSETBADBLOCK                   = 0x80084d0c
   150  	MEMUNLOCK                        = 0x80084d06
   151  	MEMWRITEOOB                      = 0xc0104d03
   152  	MTDFILEMODE                      = 0x20004d13
   153  	NFDBITS                          = 0x40
   154  	NLDLY                            = 0x100
   155  	NOFLSH                           = 0x80
   156  	NS_GET_NSTYPE                    = 0x2000b703
   157  	NS_GET_OWNER_UID                 = 0x2000b704
   158  	NS_GET_PARENT                    = 0x2000b702
   159  	NS_GET_USERNS                    = 0x2000b701
   160  	OLCUC                            = 0x2
   161  	ONLCR                            = 0x4
   162  	OTPERASE                         = 0x800c4d19
   163  	OTPGETREGIONCOUNT                = 0x80044d0e
   164  	OTPGETREGIONINFO                 = 0x800c4d0f
   165  	OTPLOCK                          = 0x400c4d10
   166  	OTPSELECT                        = 0x40044d0d
   167  	O_APPEND                         = 0x8
   168  	O_ASYNC                          = 0x40
   169  	O_CLOEXEC                        = 0x400000
   170  	O_CREAT                          = 0x200
   171  	O_DIRECT                         = 0x100000
   172  	O_DIRECTORY                      = 0x10000
   173  	O_DSYNC                          = 0x2000
   174  	O_EXCL                           = 0x800
   175  	O_FSYNC                          = 0x802000
   176  	O_LARGEFILE                      = 0x0
   177  	O_NDELAY                         = 0x4004
   178  	O_NOATIME                        = 0x200000
   179  	O_NOCTTY                         = 0x8000
   180  	O_NOFOLLOW                       = 0x20000
   181  	O_NONBLOCK                       = 0x4000
   182  	O_PATH                           = 0x1000000
   183  	O_RSYNC                          = 0x802000
   184  	O_SYNC                           = 0x802000
   185  	O_TMPFILE                        = 0x2010000
   186  	O_TRUNC                          = 0x400
   187  	PARENB                           = 0x100
   188  	PARODD                           = 0x200
   189  	PENDIN                           = 0x4000
   190  	PERF_EVENT_IOC_DISABLE           = 0x20002401
   191  	PERF_EVENT_IOC_ENABLE            = 0x20002400
   192  	PERF_EVENT_IOC_ID                = 0x40082407
   193  	PERF_EVENT_IOC_MODIFY_ATTRIBUTES = 0x8008240b
   194  	PERF_EVENT_IOC_PAUSE_OUTPUT      = 0x80042409
   195  	PERF_EVENT_IOC_PERIOD            = 0x80082404
   196  	PERF_EVENT_IOC_QUERY_BPF         = 0xc008240a
   197  	PERF_EVENT_IOC_REFRESH           = 0x20002402
   198  	PERF_EVENT_IOC_RESET             = 0x20002403
   199  	PERF_EVENT_IOC_SET_BPF           = 0x80042408
   200  	PERF_EVENT_IOC_SET_FILTER        = 0x80082406
   201  	PERF_EVENT_IOC_SET_OUTPUT        = 0x20002405
   202  	PPPIOCATTACH                     = 0x8004743d
   203  	PPPIOCATTCHAN                    = 0x80047438
   204  	PPPIOCBRIDGECHAN                 = 0x80047435
   205  	PPPIOCCONNECT                    = 0x8004743a
   206  	PPPIOCDETACH                     = 0x8004743c
   207  	PPPIOCDISCONN                    = 0x20007439
   208  	PPPIOCGASYNCMAP                  = 0x40047458
   209  	PPPIOCGCHAN                      = 0x40047437
   210  	PPPIOCGDEBUG                     = 0x40047441
   211  	PPPIOCGFLAGS                     = 0x4004745a
   212  	PPPIOCGIDLE                      = 0x4010743f
   213  	PPPIOCGIDLE32                    = 0x4008743f
   214  	PPPIOCGIDLE64                    = 0x4010743f
   215  	PPPIOCGL2TPSTATS                 = 0x40487436
   216  	PPPIOCGMRU                       = 0x40047453
   217  	PPPIOCGRASYNCMAP                 = 0x40047455
   218  	PPPIOCGUNIT                      = 0x40047456
   219  	PPPIOCGXASYNCMAP                 = 0x40207450
   220  	PPPIOCSACTIVE                    = 0x80107446
   221  	PPPIOCSASYNCMAP                  = 0x80047457
   222  	PPPIOCSCOMPRESS                  = 0x8010744d
   223  	PPPIOCSDEBUG                     = 0x80047440
   224  	PPPIOCSFLAGS                     = 0x80047459
   225  	PPPIOCSMAXCID                    = 0x80047451
   226  	PPPIOCSMRRU                      = 0x8004743b
   227  	PPPIOCSMRU                       = 0x80047452
   228  	PPPIOCSNPMODE                    = 0x8008744b
   229  	PPPIOCSPASS                      = 0x80107447
   230  	PPPIOCSRASYNCMAP                 = 0x80047454
   231  	PPPIOCSXASYNCMAP                 = 0x8020744f
   232  	PPPIOCUNBRIDGECHAN               = 0x20007434
   233  	PPPIOCXFERUNIT                   = 0x2000744e
   234  	PR_SET_PTRACER_ANY               = 0xffffffffffffffff
   235  	PTRACE_GETFPAREGS                = 0x14
   236  	PTRACE_GETFPREGS                 = 0xe
   237  	PTRACE_GETFPREGS64               = 0x19
   238  	PTRACE_GETREGS64                 = 0x16
   239  	PTRACE_READDATA                  = 0x10
   240  	PTRACE_READTEXT                  = 0x12
   241  	PTRACE_SETFPAREGS                = 0x15
   242  	PTRACE_SETFPREGS                 = 0xf
   243  	PTRACE_SETFPREGS64               = 0x1a
   244  	PTRACE_SETREGS64                 = 0x17
   245  	PTRACE_SPARC_DETACH              = 0xb
   246  	PTRACE_WRITEDATA                 = 0x11
   247  	PTRACE_WRITETEXT                 = 0x13
   248  	PT_FP                            = 0x48
   249  	PT_G0                            = 0x10
   250  	PT_G1                            = 0x14
   251  	PT_G2                            = 0x18
   252  	PT_G3                            = 0x1c
   253  	PT_G4                            = 0x20
   254  	PT_G5                            = 0x24
   255  	PT_G6                            = 0x28
   256  	PT_G7                            = 0x2c
   257  	PT_I0                            = 0x30
   258  	PT_I1                            = 0x34
   259  	PT_I2                            = 0x38
   260  	PT_I3                            = 0x3c
   261  	PT_I4                            = 0x40
   262  	PT_I5                            = 0x44
   263  	PT_I6                            = 0x48
   264  	PT_I7                            = 0x4c
   265  	PT_NPC                           = 0x8
   266  	PT_PC                            = 0x4
   267  	PT_PSR                           = 0x0
   268  	PT_REGS_MAGIC                    = 0x57ac6c00
   269  	PT_TNPC                          = 0x90
   270  	PT_TPC                           = 0x88
   271  	PT_TSTATE                        = 0x80
   272  	PT_V9_FP                         = 0x70
   273  	PT_V9_G0                         = 0x0
   274  	PT_V9_G1                         = 0x8
   275  	PT_V9_G2                         = 0x10
   276  	PT_V9_G3                         = 0x18
   277  	PT_V9_G4                         = 0x20
   278  	PT_V9_G5                         = 0x28
   279  	PT_V9_G6                         = 0x30
   280  	PT_V9_G7                         = 0x38
   281  	PT_V9_I0                         = 0x40
   282  	PT_V9_I1                         = 0x48
   283  	PT_V9_I2                         = 0x50
   284  	PT_V9_I3                         = 0x58
   285  	PT_V9_I4                         = 0x60
   286  	PT_V9_I5                         = 0x68
   287  	PT_V9_I6                         = 0x70
   288  	PT_V9_I7                         = 0x78
   289  	PT_V9_MAGIC                      = 0x9c
   290  	PT_V9_TNPC                       = 0x90
   291  	PT_V9_TPC                        = 0x88
   292  	PT_V9_TSTATE                     = 0x80
   293  	PT_V9_Y                          = 0x98
   294  	PT_WIM                           = 0x10
   295  	PT_Y                             = 0xc
   296  	RLIMIT_AS                        = 0x9
   297  	RLIMIT_MEMLOCK                   = 0x8
   298  	RLIMIT_NOFILE                    = 0x6
   299  	RLIMIT_NPROC                     = 0x7
   300  	RLIMIT_RSS                       = 0x5
   301  	RNDADDENTROPY                    = 0x80085203
   302  	RNDADDTOENTCNT                   = 0x80045201
   303  	RNDCLEARPOOL                     = 0x20005206
   304  	RNDGETENTCNT                     = 0x40045200
   305  	RNDGETPOOL                       = 0x40085202
   306  	RNDRESEEDCRNG                    = 0x20005207
   307  	RNDZAPENTCNT                     = 0x20005204
   308  	RTC_AIE_OFF                      = 0x20007002
   309  	RTC_AIE_ON                       = 0x20007001
   310  	RTC_ALM_READ                     = 0x40247008
   311  	RTC_ALM_SET                      = 0x80247007
   312  	RTC_EPOCH_READ                   = 0x4008700d
   313  	RTC_EPOCH_SET                    = 0x8008700e
   314  	RTC_IRQP_READ                    = 0x4008700b
   315  	RTC_IRQP_SET                     = 0x8008700c
   316  	RTC_PARAM_GET                    = 0x80187013
   317  	RTC_PARAM_SET                    = 0x80187014
   318  	RTC_PIE_OFF                      = 0x20007006
   319  	RTC_PIE_ON                       = 0x20007005
   320  	RTC_PLL_GET                      = 0x40207011
   321  	RTC_PLL_SET                      = 0x80207012
   322  	RTC_RD_TIME                      = 0x40247009
   323  	RTC_SET_TIME                     = 0x8024700a
   324  	RTC_UIE_OFF                      = 0x20007004
   325  	RTC_UIE_ON                       = 0x20007003
   326  	RTC_VL_CLR                       = 0x20007014
   327  	RTC_VL_READ                      = 0x40047013
   328  	RTC_WIE_OFF                      = 0x20007010
   329  	RTC_WIE_ON                       = 0x2000700f
   330  	RTC_WKALM_RD                     = 0x40287010
   331  	RTC_WKALM_SET                    = 0x8028700f
   332  	SCM_TIMESTAMPING                 = 0x23
   333  	SCM_TIMESTAMPING_OPT_STATS       = 0x38
   334  	SCM_TIMESTAMPING_PKTINFO         = 0x3c
   335  	SCM_TIMESTAMPNS                  = 0x21
   336  	SCM_TXTIME                       = 0x3f
   337  	SCM_WIFI_STATUS                  = 0x25
   338  	SECCOMP_IOCTL_NOTIF_ADDFD        = 0x80182103
   339  	SECCOMP_IOCTL_NOTIF_ID_VALID     = 0x80082102
   340  	SECCOMP_IOCTL_NOTIF_SET_FLAGS    = 0x80082104
   341  	SFD_CLOEXEC                      = 0x400000
   342  	SFD_NONBLOCK                     = 0x4000
   343  	SF_FP                            = 0x38
   344  	SF_I0                            = 0x20
   345  	SF_I1                            = 0x24
   346  	SF_I2                            = 0x28
   347  	SF_I3                            = 0x2c
   348  	SF_I4                            = 0x30
   349  	SF_I5                            = 0x34
   350  	SF_L0                            = 0x0
   351  	SF_L1                            = 0x4
   352  	SF_L2                            = 0x8
   353  	SF_L3                            = 0xc
   354  	SF_L4                            = 0x10
   355  	SF_L5                            = 0x14
   356  	SF_L6                            = 0x18
   357  	SF_L7                            = 0x1c
   358  	SF_PC                            = 0x3c
   359  	SF_RETP                          = 0x40
   360  	SF_V9_FP                         = 0x70
   361  	SF_V9_I0                         = 0x40
   362  	SF_V9_I1                         = 0x48
   363  	SF_V9_I2                         = 0x50
   364  	SF_V9_I3                         = 0x58
   365  	SF_V9_I4                         = 0x60
   366  	SF_V9_I5                         = 0x68
   367  	SF_V9_L0                         = 0x0
   368  	SF_V9_L1                         = 0x8
   369  	SF_V9_L2                         = 0x10
   370  	SF_V9_L3                         = 0x18
   371  	SF_V9_L4                         = 0x20
   372  	SF_V9_L5                         = 0x28
   373  	SF_V9_L6                         = 0x30
   374  	SF_V9_L7                         = 0x38
   375  	SF_V9_PC                         = 0x78
   376  	SF_V9_RETP                       = 0x80
   377  	SF_V9_XARG0                      = 0x88
   378  	SF_V9_XARG1                      = 0x90
   379  	SF_V9_XARG2                      = 0x98
   380  	SF_V9_XARG3                      = 0xa0
   381  	SF_V9_XARG4                      = 0xa8
   382  	SF_V9_XARG5                      = 0xb0
   383  	SF_V9_XXARG                      = 0xb8
   384  	SF_XARG0                         = 0x44
   385  	SF_XARG1                         = 0x48
   386  	SF_XARG2                         = 0x4c
   387  	SF_XARG3                         = 0x50
   388  	SF_XARG4                         = 0x54
   389  	SF_XARG5                         = 0x58
   390  	SF_XXARG                         = 0x5c
   391  	SIOCATMARK                       = 0x8905
   392  	SIOCGPGRP                        = 0x8904
   393  	SIOCGSTAMPNS_NEW                 = 0x40108907
   394  	SIOCGSTAMP_NEW                   = 0x40108906
   395  	SIOCINQ                          = 0x4004667f
   396  	SIOCOUTQ                         = 0x40047473
   397  	SIOCSPGRP                        = 0x8902
   398  	SOCK_CLOEXEC                     = 0x400000
   399  	SOCK_DGRAM                       = 0x2
   400  	SOCK_NONBLOCK                    = 0x4000
   401  	SOCK_STREAM                      = 0x1
   402  	SOL_SOCKET                       = 0xffff
   403  	SO_ACCEPTCONN                    = 0x8000
   404  	SO_ATTACH_BPF                    = 0x34
   405  	SO_ATTACH_REUSEPORT_CBPF         = 0x35
   406  	SO_ATTACH_REUSEPORT_EBPF         = 0x36
   407  	SO_BINDTODEVICE                  = 0xd
   408  	SO_BINDTOIFINDEX                 = 0x41
   409  	SO_BPF_EXTENSIONS                = 0x32
   410  	SO_BROADCAST                     = 0x20
   411  	SO_BSDCOMPAT                     = 0x400
   412  	SO_BUF_LOCK                      = 0x51
   413  	SO_BUSY_POLL                     = 0x30
   414  	SO_BUSY_POLL_BUDGET              = 0x49
   415  	SO_CNX_ADVICE                    = 0x37
   416  	SO_COOKIE                        = 0x3b
   417  	SO_DETACH_REUSEPORT_BPF          = 0x47
   418  	SO_DOMAIN                        = 0x1029
   419  	SO_DONTROUTE                     = 0x10
   420  	SO_ERROR                         = 0x1007
   421  	SO_INCOMING_CPU                  = 0x33
   422  	SO_INCOMING_NAPI_ID              = 0x3a
   423  	SO_KEEPALIVE                     = 0x8
   424  	SO_LINGER                        = 0x80
   425  	SO_LOCK_FILTER                   = 0x28
   426  	SO_MARK                          = 0x22
   427  	SO_MAX_PACING_RATE               = 0x31
   428  	SO_MEMINFO                       = 0x39
   429  	SO_NETNS_COOKIE                  = 0x50
   430  	SO_NOFCS                         = 0x27
   431  	SO_OOBINLINE                     = 0x100
   432  	SO_PASSCRED                      = 0x2
   433  	SO_PASSPIDFD                     = 0x55
   434  	SO_PASSSEC                       = 0x1f
   435  	SO_PEEK_OFF                      = 0x26
   436  	SO_PEERCRED                      = 0x40
   437  	SO_PEERGROUPS                    = 0x3d
   438  	SO_PEERPIDFD                     = 0x56
   439  	SO_PEERSEC                       = 0x1e
   440  	SO_PREFER_BUSY_POLL              = 0x48
   441  	SO_PROTOCOL                      = 0x1028
   442  	SO_RCVBUF                        = 0x1002
   443  	SO_RCVBUFFORCE                   = 0x100b
   444  	SO_RCVLOWAT                      = 0x800
   445  	SO_RCVMARK                       = 0x54
   446  	SO_RCVTIMEO                      = 0x2000
   447  	SO_RCVTIMEO_NEW                  = 0x44
   448  	SO_RCVTIMEO_OLD                  = 0x2000
   449  	SO_RESERVE_MEM                   = 0x52
   450  	SO_REUSEADDR                     = 0x4
   451  	SO_REUSEPORT                     = 0x200
   452  	SO_RXQ_OVFL                      = 0x24
   453  	SO_SECURITY_AUTHENTICATION       = 0x5001
   454  	SO_SECURITY_ENCRYPTION_NETWORK   = 0x5004
   455  	SO_SECURITY_ENCRYPTION_TRANSPORT = 0x5002
   456  	SO_SELECT_ERR_QUEUE              = 0x29
   457  	SO_SNDBUF                        = 0x1001
   458  	SO_SNDBUFFORCE                   = 0x100a
   459  	SO_SNDLOWAT                      = 0x1000
   460  	SO_SNDTIMEO                      = 0x4000
   461  	SO_SNDTIMEO_NEW                  = 0x45
   462  	SO_SNDTIMEO_OLD                  = 0x4000
   463  	SO_TIMESTAMPING                  = 0x23
   464  	SO_TIMESTAMPING_NEW              = 0x43
   465  	SO_TIMESTAMPING_OLD              = 0x23
   466  	SO_TIMESTAMPNS                   = 0x21
   467  	SO_TIMESTAMPNS_NEW               = 0x42
   468  	SO_TIMESTAMPNS_OLD               = 0x21
   469  	SO_TIMESTAMP_NEW                 = 0x46
   470  	SO_TXREHASH                      = 0x53
   471  	SO_TXTIME                        = 0x3f
   472  	SO_TYPE                          = 0x1008
   473  	SO_WIFI_STATUS                   = 0x25
   474  	SO_ZEROCOPY                      = 0x3e
   475  	TAB1                             = 0x800
   476  	TAB2                             = 0x1000
   477  	TAB3                             = 0x1800
   478  	TABDLY                           = 0x1800
   479  	TCFLSH                           = 0x20005407
   480  	TCGETA                           = 0x40125401
   481  	TCGETS                           = 0x40245408
   482  	TCGETS2                          = 0x402c540c
   483  	TCSAFLUSH                        = 0x2
   484  	TCSBRK                           = 0x20005405
   485  	TCSBRKP                          = 0x5425
   486  	TCSETA                           = 0x80125402
   487  	TCSETAF                          = 0x80125404
   488  	TCSETAW                          = 0x80125403
   489  	TCSETS                           = 0x80245409
   490  	TCSETS2                          = 0x802c540d
   491  	TCSETSF                          = 0x8024540b
   492  	TCSETSF2                         = 0x802c540f
   493  	TCSETSW                          = 0x8024540a
   494  	TCSETSW2                         = 0x802c540e
   495  	TCXONC                           = 0x20005406
   496  	TFD_CLOEXEC                      = 0x400000
   497  	TFD_NONBLOCK                     = 0x4000
   498  	TIOCCBRK                         = 0x2000747a
   499  	TIOCCONS                         = 0x20007424
   500  	TIOCEXCL                         = 0x2000740d
   501  	TIOCGDEV                         = 0x40045432
   502  	TIOCGETD                         = 0x40047400
   503  	TIOCGEXCL                        = 0x40045440
   504  	TIOCGICOUNT                      = 0x545d
   505  	TIOCGISO7816                     = 0x40285443
   506  	TIOCGLCKTRMIOS                   = 0x5456
   507  	TIOCGPGRP                        = 0x40047483
   508  	TIOCGPKT                         = 0x40045438
   509  	TIOCGPTLCK                       = 0x40045439
   510  	TIOCGPTN                         = 0x40047486
   511  	TIOCGPTPEER                      = 0x20007489
   512  	TIOCGRS485                       = 0x40205441
   513  	TIOCGSERIAL                      = 0x541e
   514  	TIOCGSID                         = 0x40047485
   515  	TIOCGSOFTCAR                     = 0x40047464
   516  	TIOCGWINSZ                       = 0x40087468
   517  	TIOCINQ                          = 0x4004667f
   518  	TIOCLINUX                        = 0x541c
   519  	TIOCMBIC                         = 0x8004746b
   520  	TIOCMBIS                         = 0x8004746c
   521  	TIOCMGET                         = 0x4004746a
   522  	TIOCMIWAIT                       = 0x545c
   523  	TIOCMSET                         = 0x8004746d
   524  	TIOCM_CAR                        = 0x40
   525  	TIOCM_CD                         = 0x40
   526  	TIOCM_CTS                        = 0x20
   527  	TIOCM_DSR                        = 0x100
   528  	TIOCM_RI                         = 0x80
   529  	TIOCM_RNG                        = 0x80
   530  	TIOCM_SR                         = 0x10
   531  	TIOCM_ST                         = 0x8
   532  	TIOCNOTTY                        = 0x20007471
   533  	TIOCNXCL                         = 0x2000740e
   534  	TIOCOUTQ                         = 0x40047473
   535  	TIOCPKT                          = 0x80047470
   536  	TIOCSBRK                         = 0x2000747b
   537  	TIOCSCTTY                        = 0x20007484
   538  	TIOCSERCONFIG                    = 0x5453
   539  	TIOCSERGETLSR                    = 0x5459
   540  	TIOCSERGETMULTI                  = 0x545a
   541  	TIOCSERGSTRUCT                   = 0x5458
   542  	TIOCSERGWILD                     = 0x5454
   543  	TIOCSERSETMULTI                  = 0x545b
   544  	TIOCSERSWILD                     = 0x5455
   545  	TIOCSETD                         = 0x80047401
   546  	TIOCSIG                          = 0x80047488
   547  	TIOCSISO7816                     = 0xc0285444
   548  	TIOCSLCKTRMIOS                   = 0x5457
   549  	TIOCSPGRP                        = 0x80047482
   550  	TIOCSPTLCK                       = 0x80047487
   551  	TIOCSRS485                       = 0xc0205442
   552  	TIOCSSERIAL                      = 0x541f
   553  	TIOCSSOFTCAR                     = 0x80047465
   554  	TIOCSTART                        = 0x2000746e
   555  	TIOCSTI                          = 0x80017472
   556  	TIOCSTOP                         = 0x2000746f
   557  	TIOCSWINSZ                       = 0x80087467
   558  	TIOCVHANGUP                      = 0x20005437
   559  	TOSTOP                           = 0x100
   560  	TUNATTACHFILTER                  = 0x801054d5
   561  	TUNDETACHFILTER                  = 0x801054d6
   562  	TUNGETDEVNETNS                   = 0x200054e3
   563  	TUNGETFEATURES                   = 0x400454cf
   564  	TUNGETFILTER                     = 0x401054db
   565  	TUNGETIFF                        = 0x400454d2
   566  	TUNGETSNDBUF                     = 0x400454d3
   567  	TUNGETVNETBE                     = 0x400454df
   568  	TUNGETVNETHDRSZ                  = 0x400454d7
   569  	TUNGETVNETLE                     = 0x400454dd
   570  	TUNSETCARRIER                    = 0x800454e2
   571  	TUNSETDEBUG                      = 0x800454c9
   572  	TUNSETFILTEREBPF                 = 0x400454e1
   573  	TUNSETGROUP                      = 0x800454ce
   574  	TUNSETIFF                        = 0x800454ca
   575  	TUNSETIFINDEX                    = 0x800454da
   576  	TUNSETLINK                       = 0x800454cd
   577  	TUNSETNOCSUM                     = 0x800454c8
   578  	TUNSETOFFLOAD                    = 0x800454d0
   579  	TUNSETOWNER                      = 0x800454cc
   580  	TUNSETPERSIST                    = 0x800454cb
   581  	TUNSETQUEUE                      = 0x800454d9
   582  	TUNSETSNDBUF                     = 0x800454d4
   583  	TUNSETSTEERINGEBPF               = 0x400454e0
   584  	TUNSETTXFILTER                   = 0x800454d1
   585  	TUNSETVNETBE                     = 0x800454de
   586  	TUNSETVNETHDRSZ                  = 0x800454d8
   587  	TUNSETVNETLE                     = 0x800454dc
   588  	UBI_IOCATT                       = 0x80186f40
   589  	UBI_IOCDET                       = 0x80046f41
   590  	UBI_IOCEBCH                      = 0x80044f02
   591  	UBI_IOCEBER                      = 0x80044f01
   592  	UBI_IOCEBISMAP                   = 0x40044f05
   593  	UBI_IOCEBMAP                     = 0x80084f03
   594  	UBI_IOCEBUNMAP                   = 0x80044f04
   595  	UBI_IOCMKVOL                     = 0x80986f00
   596  	UBI_IOCRMVOL                     = 0x80046f01
   597  	UBI_IOCRNVOL                     = 0x91106f03
   598  	UBI_IOCRPEB                      = 0x80046f04
   599  	UBI_IOCRSVOL                     = 0x800c6f02
   600  	UBI_IOCSETVOLPROP                = 0x80104f06
   601  	UBI_IOCSPEB                      = 0x80046f05
   602  	UBI_IOCVOLCRBLK                  = 0x80804f07
   603  	UBI_IOCVOLRMBLK                  = 0x20004f08
   604  	UBI_IOCVOLUP                     = 0x80084f00
   605  	VDISCARD                         = 0xd
   606  	VEOF                             = 0x4
   607  	VEOL                             = 0xb
   608  	VEOL2                            = 0x10
   609  	VMIN                             = 0x6
   610  	VREPRINT                         = 0xc
   611  	VSTART                           = 0x8
   612  	VSTOP                            = 0x9
   613  	VSUSP                            = 0xa
   614  	VSWTC                            = 0x7
   615  	VT1                              = 0x4000
   616  	VTDLY                            = 0x4000
   617  	VTIME                            = 0x5
   618  	VWERASE                          = 0xe
   619  	WDIOC_GETBOOTSTATUS              = 0x40045702
   620  	WDIOC_GETPRETIMEOUT              = 0x40045709
   621  	WDIOC_GETSTATUS                  = 0x40045701
   622  	WDIOC_GETSUPPORT                 = 0x40285700
   623  	WDIOC_GETTEMP                    = 0x40045703
   624  	WDIOC_GETTIMELEFT                = 0x4004570a
   625  	WDIOC_GETTIMEOUT                 = 0x40045707
   626  	WDIOC_KEEPALIVE                  = 0x40045705
   627  	WDIOC_SETOPTIONS                 = 0x40045704
   628  	WORDSIZE                         = 0x40
   629  	XCASE                            = 0x4
   630  	XTABS                            = 0x1800
   631  	_HIDIOCGRAWNAME                  = 0x40804804
   632  	_HIDIOCGRAWPHYS                  = 0x40404805
   633  	_HIDIOCGRAWUNIQ                  = 0x40404808
   634  	__TIOCFLUSH                      = 0x80047410
   635  )
   636  
   637  // Errors
   638  const (
   639  	EADDRINUSE      = syscall.Errno(0x30)
   640  	EADDRNOTAVAIL   = syscall.Errno(0x31)
   641  	EADV            = syscall.Errno(0x53)
   642  	EAFNOSUPPORT    = syscall.Errno(0x2f)
   643  	EALREADY        = syscall.Errno(0x25)
   644  	EBADE           = syscall.Errno(0x66)
   645  	EBADFD          = syscall.Errno(0x5d)
   646  	EBADMSG         = syscall.Errno(0x4c)
   647  	EBADR           = syscall.Errno(0x67)
   648  	EBADRQC         = syscall.Errno(0x6a)
   649  	EBADSLT         = syscall.Errno(0x6b)
   650  	EBFONT          = syscall.Errno(0x6d)
   651  	ECANCELED       = syscall.Errno(0x7f)
   652  	ECHRNG          = syscall.Errno(0x5e)
   653  	ECOMM           = syscall.Errno(0x55)
   654  	ECONNABORTED    = syscall.Errno(0x35)
   655  	ECONNREFUSED    = syscall.Errno(0x3d)
   656  	ECONNRESET      = syscall.Errno(0x36)
   657  	EDEADLK         = syscall.Errno(0x4e)
   658  	EDEADLOCK       = syscall.Errno(0x6c)
   659  	EDESTADDRREQ    = syscall.Errno(0x27)
   660  	EDOTDOT         = syscall.Errno(0x58)
   661  	EDQUOT          = syscall.Errno(0x45)
   662  	EHOSTDOWN       = syscall.Errno(0x40)
   663  	EHOSTUNREACH    = syscall.Errno(0x41)
   664  	EHWPOISON       = syscall.Errno(0x87)
   665  	EIDRM           = syscall.Errno(0x4d)
   666  	EILSEQ          = syscall.Errno(0x7a)
   667  	EINPROGRESS     = syscall.Errno(0x24)
   668  	EISCONN         = syscall.Errno(0x38)
   669  	EISNAM          = syscall.Errno(0x78)
   670  	EKEYEXPIRED     = syscall.Errno(0x81)
   671  	EKEYREJECTED    = syscall.Errno(0x83)
   672  	EKEYREVOKED     = syscall.Errno(0x82)
   673  	EL2HLT          = syscall.Errno(0x65)
   674  	EL2NSYNC        = syscall.Errno(0x5f)
   675  	EL3HLT          = syscall.Errno(0x60)
   676  	EL3RST          = syscall.Errno(0x61)
   677  	ELIBACC         = syscall.Errno(0x72)
   678  	ELIBBAD         = syscall.Errno(0x70)
   679  	ELIBEXEC        = syscall.Errno(0x6e)
   680  	ELIBMAX         = syscall.Errno(0x7b)
   681  	ELIBSCN         = syscall.Errno(0x7c)
   682  	ELNRNG          = syscall.Errno(0x62)
   683  	ELOOP           = syscall.Errno(0x3e)
   684  	EMEDIUMTYPE     = syscall.Errno(0x7e)
   685  	EMSGSIZE        = syscall.Errno(0x28)
   686  	EMULTIHOP       = syscall.Errno(0x57)
   687  	ENAMETOOLONG    = syscall.Errno(0x3f)
   688  	ENAVAIL         = syscall.Errno(0x77)
   689  	ENETDOWN        = syscall.Errno(0x32)
   690  	ENETRESET       = syscall.Errno(0x34)
   691  	ENETUNREACH     = syscall.Errno(0x33)
   692  	ENOANO          = syscall.Errno(0x69)
   693  	ENOBUFS         = syscall.Errno(0x37)
   694  	ENOCSI          = syscall.Errno(0x64)
   695  	ENODATA         = syscall.Errno(0x6f)
   696  	ENOKEY          = syscall.Errno(0x80)
   697  	ENOLCK          = syscall.Errno(0x4f)
   698  	ENOLINK         = syscall.Errno(0x52)
   699  	ENOMEDIUM       = syscall.Errno(0x7d)
   700  	ENOMSG          = syscall.Errno(0x4b)
   701  	ENONET          = syscall.Errno(0x50)
   702  	ENOPKG          = syscall.Errno(0x71)
   703  	ENOPROTOOPT     = syscall.Errno(0x2a)
   704  	ENOSR           = syscall.Errno(0x4a)
   705  	ENOSTR          = syscall.Errno(0x48)
   706  	ENOSYS          = syscall.Errno(0x5a)
   707  	ENOTCONN        = syscall.Errno(0x39)
   708  	ENOTEMPTY       = syscall.Errno(0x42)
   709  	ENOTNAM         = syscall.Errno(0x76)
   710  	ENOTRECOVERABLE = syscall.Errno(0x85)
   711  	ENOTSOCK        = syscall.Errno(0x26)
   712  	ENOTSUP         = syscall.Errno(0x2d)
   713  	ENOTUNIQ        = syscall.Errno(0x73)
   714  	EOPNOTSUPP      = syscall.Errno(0x2d)
   715  	EOVERFLOW       = syscall.Errno(0x5c)
   716  	EOWNERDEAD      = syscall.Errno(0x84)
   717  	EPFNOSUPPORT    = syscall.Errno(0x2e)
   718  	EPROCLIM        = syscall.Errno(0x43)
   719  	EPROTO          = syscall.Errno(0x56)
   720  	EPROTONOSUPPORT = syscall.Errno(0x2b)
   721  	EPROTOTYPE      = syscall.Errno(0x29)
   722  	EREMCHG         = syscall.Errno(0x59)
   723  	EREMOTE         = syscall.Errno(0x47)
   724  	EREMOTEIO       = syscall.Errno(0x79)
   725  	ERESTART        = syscall.Errno(0x74)
   726  	ERFKILL         = syscall.Errno(0x86)
   727  	ERREMOTE        = syscall.Errno(0x51)
   728  	ESHUTDOWN       = syscall.Errno(0x3a)
   729  	ESOCKTNOSUPPORT = syscall.Errno(0x2c)
   730  	ESRMNT          = syscall.Errno(0x54)
   731  	ESTALE          = syscall.Errno(0x46)
   732  	ESTRPIPE        = syscall.Errno(0x5b)
   733  	ETIME           = syscall.Errno(0x49)
   734  	ETIMEDOUT       = syscall.Errno(0x3c)
   735  	ETOOMANYREFS    = syscall.Errno(0x3b)
   736  	EUCLEAN         = syscall.Errno(0x75)
   737  	EUNATCH         = syscall.Errno(0x63)
   738  	EUSERS          = syscall.Errno(0x44)
   739  	EXFULL          = syscall.Errno(0x68)
   740  )
   741  
   742  // Signals
   743  const (
   744  	SIGBUS    = syscall.Signal(0xa)
   745  	SIGCHLD   = syscall.Signal(0x14)
   746  	SIGCLD    = syscall.Signal(0x14)
   747  	SIGCONT   = syscall.Signal(0x13)
   748  	SIGEMT    = syscall.Signal(0x7)
   749  	SIGIO     = syscall.Signal(0x17)
   750  	SIGLOST   = syscall.Signal(0x1d)
   751  	SIGPOLL   = syscall.Signal(0x17)
   752  	SIGPROF   = syscall.Signal(0x1b)
   753  	SIGPWR    = syscall.Signal(0x1d)
   754  	SIGSTOP   = syscall.Signal(0x11)
   755  	SIGSYS    = syscall.Signal(0xc)
   756  	SIGTSTP   = syscall.Signal(0x12)
   757  	SIGTTIN   = syscall.Signal(0x15)
   758  	SIGTTOU   = syscall.Signal(0x16)
   759  	SIGURG    = syscall.Signal(0x10)
   760  	SIGUSR1   = syscall.Signal(0x1e)
   761  	SIGUSR2   = syscall.Signal(0x1f)
   762  	SIGVTALRM = syscall.Signal(0x1a)
   763  	SIGWINCH  = syscall.Signal(0x1c)
   764  	SIGXCPU   = syscall.Signal(0x18)
   765  	SIGXFSZ   = syscall.Signal(0x19)
   766  )
   767  
   768  // Error table
   769  var errorList = [...]struct {
   770  	num  syscall.Errno
   771  	name string
   772  	desc string
   773  }{
   774  	{1, "EPERM", "operation not permitted"},
   775  	{2, "ENOENT", "no such file or directory"},
   776  	{3, "ESRCH", "no such process"},
   777  	{4, "EINTR", "interrupted system call"},
   778  	{5, "EIO", "input/output error"},
   779  	{6, "ENXIO", "no such device or address"},
   780  	{7, "E2BIG", "argument list too long"},
   781  	{8, "ENOEXEC", "exec format error"},
   782  	{9, "EBADF", "bad file descriptor"},
   783  	{10, "ECHILD", "no child processes"},
   784  	{11, "EAGAIN", "resource temporarily unavailable"},
   785  	{12, "ENOMEM", "cannot allocate memory"},
   786  	{13, "EACCES", "permission denied"},
   787  	{14, "EFAULT", "bad address"},
   788  	{15, "ENOTBLK", "block device required"},
   789  	{16, "EBUSY", "device or resource busy"},
   790  	{17, "EEXIST", "file exists"},
   791  	{18, "EXDEV", "invalid cross-device link"},
   792  	{19, "ENODEV", "no such device"},
   793  	{20, "ENOTDIR", "not a directory"},
   794  	{21, "EISDIR", "is a directory"},
   795  	{22, "EINVAL", "invalid argument"},
   796  	{23, "ENFILE", "too many open files in system"},
   797  	{24, "EMFILE", "too many open files"},
   798  	{25, "ENOTTY", "inappropriate ioctl for device"},
   799  	{26, "ETXTBSY", "text file busy"},
   800  	{27, "EFBIG", "file too large"},
   801  	{28, "ENOSPC", "no space left on device"},
   802  	{29, "ESPIPE", "illegal seek"},
   803  	{30, "EROFS", "read-only file system"},
   804  	{31, "EMLINK", "too many links"},
   805  	{32, "EPIPE", "broken pipe"},
   806  	{33, "EDOM", "numerical argument out of domain"},
   807  	{34, "ERANGE", "numerical result out of range"},
   808  	{36, "EINPROGRESS", "operation now in progress"},
   809  	{37, "EALREADY", "operation already in progress"},
   810  	{38, "ENOTSOCK", "socket operation on non-socket"},
   811  	{39, "EDESTADDRREQ", "destination address required"},
   812  	{40, "EMSGSIZE", "message too long"},
   813  	{41, "EPROTOTYPE", "protocol wrong type for socket"},
   814  	{42, "ENOPROTOOPT", "protocol not available"},
   815  	{43, "EPROTONOSUPPORT", "protocol not supported"},
   816  	{44, "ESOCKTNOSUPPORT", "socket type not supported"},
   817  	{45, "ENOTSUP", "operation not supported"},
   818  	{46, "EPFNOSUPPORT", "protocol family not supported"},
   819  	{47, "EAFNOSUPPORT", "address family not supported by protocol"},
   820  	{48, "EADDRINUSE", "address already in use"},
   821  	{49, "EADDRNOTAVAIL", "cannot assign requested address"},
   822  	{50, "ENETDOWN", "network is down"},
   823  	{51, "ENETUNREACH", "network is unreachable"},
   824  	{52, "ENETRESET", "network dropped connection on reset"},
   825  	{53, "ECONNABORTED", "software caused connection abort"},
   826  	{54, "ECONNRESET", "connection reset by peer"},
   827  	{55, "ENOBUFS", "no buffer space available"},
   828  	{56, "EISCONN", "transport endpoint is already connected"},
   829  	{57, "ENOTCONN", "transport endpoint is not connected"},
   830  	{58, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
   831  	{59, "ETOOMANYREFS", "too many references: cannot splice"},
   832  	{60, "ETIMEDOUT", "connection timed out"},
   833  	{61, "ECONNREFUSED", "connection refused"},
   834  	{62, "ELOOP", "too many levels of symbolic links"},
   835  	{63, "ENAMETOOLONG", "file name too long"},
   836  	{64, "EHOSTDOWN", "host is down"},
   837  	{65, "EHOSTUNREACH", "no route to host"},
   838  	{66, "ENOTEMPTY", "directory not empty"},
   839  	{67, "EPROCLIM", "too many processes"},
   840  	{68, "EUSERS", "too many users"},
   841  	{69, "EDQUOT", "disk quota exceeded"},
   842  	{70, "ESTALE", "stale file handle"},
   843  	{71, "EREMOTE", "object is remote"},
   844  	{72, "ENOSTR", "device not a stream"},
   845  	{73, "ETIME", "timer expired"},
   846  	{74, "ENOSR", "out of streams resources"},
   847  	{75, "ENOMSG", "no message of desired type"},
   848  	{76, "EBADMSG", "bad message"},
   849  	{77, "EIDRM", "identifier removed"},
   850  	{78, "EDEADLK", "resource deadlock avoided"},
   851  	{79, "ENOLCK", "no locks available"},
   852  	{80, "ENONET", "machine is not on the network"},
   853  	{81, "ERREMOTE", "unknown error 81"},
   854  	{82, "ENOLINK", "link has been severed"},
   855  	{83, "EADV", "advertise error"},
   856  	{84, "ESRMNT", "srmount error"},
   857  	{85, "ECOMM", "communication error on send"},
   858  	{86, "EPROTO", "protocol error"},
   859  	{87, "EMULTIHOP", "multihop attempted"},
   860  	{88, "EDOTDOT", "RFS specific error"},
   861  	{89, "EREMCHG", "remote address changed"},
   862  	{90, "ENOSYS", "function not implemented"},
   863  	{91, "ESTRPIPE", "streams pipe error"},
   864  	{92, "EOVERFLOW", "value too large for defined data type"},
   865  	{93, "EBADFD", "file descriptor in bad state"},
   866  	{94, "ECHRNG", "channel number out of range"},
   867  	{95, "EL2NSYNC", "level 2 not synchronized"},
   868  	{96, "EL3HLT", "level 3 halted"},
   869  	{97, "EL3RST", "level 3 reset"},
   870  	{98, "ELNRNG", "link number out of range"},
   871  	{99, "EUNATCH", "protocol driver not attached"},
   872  	{100, "ENOCSI", "no CSI structure available"},
   873  	{101, "EL2HLT", "level 2 halted"},
   874  	{102, "EBADE", "invalid exchange"},
   875  	{103, "EBADR", "invalid request descriptor"},
   876  	{104, "EXFULL", "exchange full"},
   877  	{105, "ENOANO", "no anode"},
   878  	{106, "EBADRQC", "invalid request code"},
   879  	{107, "EBADSLT", "invalid slot"},
   880  	{108, "EDEADLOCK", "file locking deadlock error"},
   881  	{109, "EBFONT", "bad font file format"},
   882  	{110, "ELIBEXEC", "cannot exec a shared library directly"},
   883  	{111, "ENODATA", "no data available"},
   884  	{112, "ELIBBAD", "accessing a corrupted shared library"},
   885  	{113, "ENOPKG", "package not installed"},
   886  	{114, "ELIBACC", "can not access a needed shared library"},
   887  	{115, "ENOTUNIQ", "name not unique on network"},
   888  	{116, "ERESTART", "interrupted system call should be restarted"},
   889  	{117, "EUCLEAN", "structure needs cleaning"},
   890  	{118, "ENOTNAM", "not a XENIX named type file"},
   891  	{119, "ENAVAIL", "no XENIX semaphores available"},
   892  	{120, "EISNAM", "is a named type file"},
   893  	{121, "EREMOTEIO", "remote I/O error"},
   894  	{122, "EILSEQ", "invalid or incomplete multibyte or wide character"},
   895  	{123, "ELIBMAX", "attempting to link in too many shared libraries"},
   896  	{124, "ELIBSCN", ".lib section in a.out corrupted"},
   897  	{125, "ENOMEDIUM", "no medium found"},
   898  	{126, "EMEDIUMTYPE", "wrong medium type"},
   899  	{127, "ECANCELED", "operation canceled"},
   900  	{128, "ENOKEY", "required key not available"},
   901  	{129, "EKEYEXPIRED", "key has expired"},
   902  	{130, "EKEYREVOKED", "key has been revoked"},
   903  	{131, "EKEYREJECTED", "key was rejected by service"},
   904  	{132, "EOWNERDEAD", "owner died"},
   905  	{133, "ENOTRECOVERABLE", "state not recoverable"},
   906  	{134, "ERFKILL", "operation not possible due to RF-kill"},
   907  	{135, "EHWPOISON", "memory page has hardware error"},
   908  }
   909  
   910  // Signal table
   911  var signalList = [...]struct {
   912  	num  syscall.Signal
   913  	name string
   914  	desc string
   915  }{
   916  	{1, "SIGHUP", "hangup"},
   917  	{2, "SIGINT", "interrupt"},
   918  	{3, "SIGQUIT", "quit"},
   919  	{4, "SIGILL", "illegal instruction"},
   920  	{5, "SIGTRAP", "trace/breakpoint trap"},
   921  	{6, "SIGABRT", "aborted"},
   922  	{7, "SIGEMT", "EMT trap"},
   923  	{8, "SIGFPE", "floating point exception"},
   924  	{9, "SIGKILL", "killed"},
   925  	{10, "SIGBUS", "bus error"},
   926  	{11, "SIGSEGV", "segmentation fault"},
   927  	{12, "SIGSYS", "bad system call"},
   928  	{13, "SIGPIPE", "broken pipe"},
   929  	{14, "SIGALRM", "alarm clock"},
   930  	{15, "SIGTERM", "terminated"},
   931  	{16, "SIGURG", "urgent I/O condition"},
   932  	{17, "SIGSTOP", "stopped (signal)"},
   933  	{18, "SIGTSTP", "stopped"},
   934  	{19, "SIGCONT", "continued"},
   935  	{20, "SIGCHLD", "child exited"},
   936  	{21, "SIGTTIN", "stopped (tty input)"},
   937  	{22, "SIGTTOU", "stopped (tty output)"},
   938  	{23, "SIGIO", "I/O possible"},
   939  	{24, "SIGXCPU", "CPU time limit exceeded"},
   940  	{25, "SIGXFSZ", "file size limit exceeded"},
   941  	{26, "SIGVTALRM", "virtual timer expired"},
   942  	{27, "SIGPROF", "profiling timer expired"},
   943  	{28, "SIGWINCH", "window changed"},
   944  	{29, "SIGLOST", "power failure"},
   945  	{30, "SIGUSR1", "user defined signal 1"},
   946  	{31, "SIGUSR2", "user defined signal 2"},
   947  }
   948  

View as plain text