github.com/goplus/igop@v0.25.0/pkg/syscall/go119_export_js_wasm.go (about)

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //go:build go1.19 && !go1.20
     4  // +build go1.19,!go1.20
     5  
     6  package syscall
     7  
     8  import (
     9  	q "syscall"
    10  
    11  	"go/constant"
    12  	"reflect"
    13  
    14  	"github.com/goplus/igop"
    15  )
    16  
    17  func init() {
    18  	igop.RegisterPackage(&igop.Package{
    19  		Name: "syscall",
    20  		Path: "syscall",
    21  		Deps: map[string]string{
    22  			"errors":           "errors",
    23  			"internal/bytealg": "bytealg",
    24  			"internal/itoa":    "itoa",
    25  			"internal/oserror": "oserror",
    26  			"runtime":          "runtime",
    27  			"sync":             "sync",
    28  			"syscall/js":       "js",
    29  			"unsafe":           "unsafe",
    30  		},
    31  		Interfaces: map[string]reflect.Type{
    32  			"Conn":     reflect.TypeOf((*q.Conn)(nil)).Elem(),
    33  			"RawConn":  reflect.TypeOf((*q.RawConn)(nil)).Elem(),
    34  			"Sockaddr": reflect.TypeOf((*q.Sockaddr)(nil)).Elem(),
    35  		},
    36  		NamedTypes: map[string]reflect.Type{
    37  			"Dirent":        reflect.TypeOf((*q.Dirent)(nil)).Elem(),
    38  			"Errno":         reflect.TypeOf((*q.Errno)(nil)).Elem(),
    39  			"Iovec":         reflect.TypeOf((*q.Iovec)(nil)).Elem(),
    40  			"ProcAttr":      reflect.TypeOf((*q.ProcAttr)(nil)).Elem(),
    41  			"Rusage":        reflect.TypeOf((*q.Rusage)(nil)).Elem(),
    42  			"Signal":        reflect.TypeOf((*q.Signal)(nil)).Elem(),
    43  			"SockaddrInet4": reflect.TypeOf((*q.SockaddrInet4)(nil)).Elem(),
    44  			"SockaddrInet6": reflect.TypeOf((*q.SockaddrInet6)(nil)).Elem(),
    45  			"SockaddrUnix":  reflect.TypeOf((*q.SockaddrUnix)(nil)).Elem(),
    46  			"Stat_t":        reflect.TypeOf((*q.Stat_t)(nil)).Elem(),
    47  			"SysProcAttr":   reflect.TypeOf((*q.SysProcAttr)(nil)).Elem(),
    48  			"Timespec":      reflect.TypeOf((*q.Timespec)(nil)).Elem(),
    49  			"Timeval":       reflect.TypeOf((*q.Timeval)(nil)).Elem(),
    50  			"WaitStatus":    reflect.TypeOf((*q.WaitStatus)(nil)).Elem(),
    51  		},
    52  		AliasTypes: map[string]reflect.Type{},
    53  		Vars: map[string]reflect.Value{
    54  			"ForkLock": reflect.ValueOf(&q.ForkLock),
    55  		},
    56  		Funcs: map[string]reflect.Value{
    57  			"Accept":              reflect.ValueOf(q.Accept),
    58  			"Bind":                reflect.ValueOf(q.Bind),
    59  			"BytePtrFromString":   reflect.ValueOf(q.BytePtrFromString),
    60  			"ByteSliceFromString": reflect.ValueOf(q.ByteSliceFromString),
    61  			"Chdir":               reflect.ValueOf(q.Chdir),
    62  			"Chmod":               reflect.ValueOf(q.Chmod),
    63  			"Chown":               reflect.ValueOf(q.Chown),
    64  			"Clearenv":            reflect.ValueOf(q.Clearenv),
    65  			"Close":               reflect.ValueOf(q.Close),
    66  			"CloseOnExec":         reflect.ValueOf(q.CloseOnExec),
    67  			"Connect":             reflect.ValueOf(q.Connect),
    68  			"Dup":                 reflect.ValueOf(q.Dup),
    69  			"Dup2":                reflect.ValueOf(q.Dup2),
    70  			"Environ":             reflect.ValueOf(q.Environ),
    71  			"Exit":                reflect.ValueOf(q.Exit),
    72  			"Fchdir":              reflect.ValueOf(q.Fchdir),
    73  			"Fchmod":              reflect.ValueOf(q.Fchmod),
    74  			"Fchown":              reflect.ValueOf(q.Fchown),
    75  			"Fstat":               reflect.ValueOf(q.Fstat),
    76  			"Fsync":               reflect.ValueOf(q.Fsync),
    77  			"Ftruncate":           reflect.ValueOf(q.Ftruncate),
    78  			"Getcwd":              reflect.ValueOf(q.Getcwd),
    79  			"Getegid":             reflect.ValueOf(q.Getegid),
    80  			"Getenv":              reflect.ValueOf(q.Getenv),
    81  			"Geteuid":             reflect.ValueOf(q.Geteuid),
    82  			"Getgid":              reflect.ValueOf(q.Getgid),
    83  			"Getgroups":           reflect.ValueOf(q.Getgroups),
    84  			"Getpagesize":         reflect.ValueOf(q.Getpagesize),
    85  			"Getpid":              reflect.ValueOf(q.Getpid),
    86  			"Getppid":             reflect.ValueOf(q.Getppid),
    87  			"GetsockoptInt":       reflect.ValueOf(q.GetsockoptInt),
    88  			"Gettimeofday":        reflect.ValueOf(q.Gettimeofday),
    89  			"Getuid":              reflect.ValueOf(q.Getuid),
    90  			"Getwd":               reflect.ValueOf(q.Getwd),
    91  			"Kill":                reflect.ValueOf(q.Kill),
    92  			"Lchown":              reflect.ValueOf(q.Lchown),
    93  			"Link":                reflect.ValueOf(q.Link),
    94  			"Listen":              reflect.ValueOf(q.Listen),
    95  			"Lstat":               reflect.ValueOf(q.Lstat),
    96  			"Mkdir":               reflect.ValueOf(q.Mkdir),
    97  			"NsecToTimespec":      reflect.ValueOf(q.NsecToTimespec),
    98  			"NsecToTimeval":       reflect.ValueOf(q.NsecToTimeval),
    99  			"Open":                reflect.ValueOf(q.Open),
   100  			"ParseDirent":         reflect.ValueOf(q.ParseDirent),
   101  			"Pipe":                reflect.ValueOf(q.Pipe),
   102  			"Pread":               reflect.ValueOf(q.Pread),
   103  			"Pwrite":              reflect.ValueOf(q.Pwrite),
   104  			"RawSyscall":          reflect.ValueOf(q.RawSyscall),
   105  			"RawSyscall6":         reflect.ValueOf(q.RawSyscall6),
   106  			"Read":                reflect.ValueOf(q.Read),
   107  			"ReadDirent":          reflect.ValueOf(q.ReadDirent),
   108  			"Readlink":            reflect.ValueOf(q.Readlink),
   109  			"Recvfrom":            reflect.ValueOf(q.Recvfrom),
   110  			"Recvmsg":             reflect.ValueOf(q.Recvmsg),
   111  			"Rename":              reflect.ValueOf(q.Rename),
   112  			"Rmdir":               reflect.ValueOf(q.Rmdir),
   113  			"Seek":                reflect.ValueOf(q.Seek),
   114  			"Sendfile":            reflect.ValueOf(q.Sendfile),
   115  			"SendmsgN":            reflect.ValueOf(q.SendmsgN),
   116  			"Sendto":              reflect.ValueOf(q.Sendto),
   117  			"SetNonblock":         reflect.ValueOf(q.SetNonblock),
   118  			"SetReadDeadline":     reflect.ValueOf(q.SetReadDeadline),
   119  			"SetWriteDeadline":    reflect.ValueOf(q.SetWriteDeadline),
   120  			"Setenv":              reflect.ValueOf(q.Setenv),
   121  			"SetsockoptInt":       reflect.ValueOf(q.SetsockoptInt),
   122  			"Shutdown":            reflect.ValueOf(q.Shutdown),
   123  			"Socket":              reflect.ValueOf(q.Socket),
   124  			"StartProcess":        reflect.ValueOf(q.StartProcess),
   125  			"Stat":                reflect.ValueOf(q.Stat),
   126  			"StopIO":              reflect.ValueOf(q.StopIO),
   127  			"StringBytePtr":       reflect.ValueOf(q.StringBytePtr),
   128  			"StringByteSlice":     reflect.ValueOf(q.StringByteSlice),
   129  			"Symlink":             reflect.ValueOf(q.Symlink),
   130  			"Syscall":             reflect.ValueOf(q.Syscall),
   131  			"Syscall6":            reflect.ValueOf(q.Syscall6),
   132  			"Sysctl":              reflect.ValueOf(q.Sysctl),
   133  			"TimespecToNsec":      reflect.ValueOf(q.TimespecToNsec),
   134  			"TimevalToNsec":       reflect.ValueOf(q.TimevalToNsec),
   135  			"Truncate":            reflect.ValueOf(q.Truncate),
   136  			"Umask":               reflect.ValueOf(q.Umask),
   137  			"Unlink":              reflect.ValueOf(q.Unlink),
   138  			"Unsetenv":            reflect.ValueOf(q.Unsetenv),
   139  			"UtimesNano":          reflect.ValueOf(q.UtimesNano),
   140  			"Wait4":               reflect.ValueOf(q.Wait4),
   141  			"Write":               reflect.ValueOf(q.Write),
   142  		},
   143  		TypedConsts: map[string]igop.TypedConst{
   144  			"E2BIG":           {reflect.TypeOf(q.E2BIG), constant.MakeInt64(int64(q.E2BIG))},
   145  			"EACCES":          {reflect.TypeOf(q.EACCES), constant.MakeInt64(int64(q.EACCES))},
   146  			"EADDRINUSE":      {reflect.TypeOf(q.EADDRINUSE), constant.MakeInt64(int64(q.EADDRINUSE))},
   147  			"EADDRNOTAVAIL":   {reflect.TypeOf(q.EADDRNOTAVAIL), constant.MakeInt64(int64(q.EADDRNOTAVAIL))},
   148  			"EADV":            {reflect.TypeOf(q.EADV), constant.MakeInt64(int64(q.EADV))},
   149  			"EAFNOSUPPORT":    {reflect.TypeOf(q.EAFNOSUPPORT), constant.MakeInt64(int64(q.EAFNOSUPPORT))},
   150  			"EAGAIN":          {reflect.TypeOf(q.EAGAIN), constant.MakeInt64(int64(q.EAGAIN))},
   151  			"EALREADY":        {reflect.TypeOf(q.EALREADY), constant.MakeInt64(int64(q.EALREADY))},
   152  			"EBADE":           {reflect.TypeOf(q.EBADE), constant.MakeInt64(int64(q.EBADE))},
   153  			"EBADF":           {reflect.TypeOf(q.EBADF), constant.MakeInt64(int64(q.EBADF))},
   154  			"EBADFD":          {reflect.TypeOf(q.EBADFD), constant.MakeInt64(int64(q.EBADFD))},
   155  			"EBADMSG":         {reflect.TypeOf(q.EBADMSG), constant.MakeInt64(int64(q.EBADMSG))},
   156  			"EBADR":           {reflect.TypeOf(q.EBADR), constant.MakeInt64(int64(q.EBADR))},
   157  			"EBADRQC":         {reflect.TypeOf(q.EBADRQC), constant.MakeInt64(int64(q.EBADRQC))},
   158  			"EBADSLT":         {reflect.TypeOf(q.EBADSLT), constant.MakeInt64(int64(q.EBADSLT))},
   159  			"EBFONT":          {reflect.TypeOf(q.EBFONT), constant.MakeInt64(int64(q.EBFONT))},
   160  			"EBUSY":           {reflect.TypeOf(q.EBUSY), constant.MakeInt64(int64(q.EBUSY))},
   161  			"ECANCELED":       {reflect.TypeOf(q.ECANCELED), constant.MakeInt64(int64(q.ECANCELED))},
   162  			"ECASECLASH":      {reflect.TypeOf(q.ECASECLASH), constant.MakeInt64(int64(q.ECASECLASH))},
   163  			"ECHILD":          {reflect.TypeOf(q.ECHILD), constant.MakeInt64(int64(q.ECHILD))},
   164  			"ECHRNG":          {reflect.TypeOf(q.ECHRNG), constant.MakeInt64(int64(q.ECHRNG))},
   165  			"ECOMM":           {reflect.TypeOf(q.ECOMM), constant.MakeInt64(int64(q.ECOMM))},
   166  			"ECONNABORTED":    {reflect.TypeOf(q.ECONNABORTED), constant.MakeInt64(int64(q.ECONNABORTED))},
   167  			"ECONNREFUSED":    {reflect.TypeOf(q.ECONNREFUSED), constant.MakeInt64(int64(q.ECONNREFUSED))},
   168  			"ECONNRESET":      {reflect.TypeOf(q.ECONNRESET), constant.MakeInt64(int64(q.ECONNRESET))},
   169  			"EDEADLK":         {reflect.TypeOf(q.EDEADLK), constant.MakeInt64(int64(q.EDEADLK))},
   170  			"EDEADLOCK":       {reflect.TypeOf(q.EDEADLOCK), constant.MakeInt64(int64(q.EDEADLOCK))},
   171  			"EDESTADDRREQ":    {reflect.TypeOf(q.EDESTADDRREQ), constant.MakeInt64(int64(q.EDESTADDRREQ))},
   172  			"EDOM":            {reflect.TypeOf(q.EDOM), constant.MakeInt64(int64(q.EDOM))},
   173  			"EDOTDOT":         {reflect.TypeOf(q.EDOTDOT), constant.MakeInt64(int64(q.EDOTDOT))},
   174  			"EDQUOT":          {reflect.TypeOf(q.EDQUOT), constant.MakeInt64(int64(q.EDQUOT))},
   175  			"EEXIST":          {reflect.TypeOf(q.EEXIST), constant.MakeInt64(int64(q.EEXIST))},
   176  			"EFAULT":          {reflect.TypeOf(q.EFAULT), constant.MakeInt64(int64(q.EFAULT))},
   177  			"EFBIG":           {reflect.TypeOf(q.EFBIG), constant.MakeInt64(int64(q.EFBIG))},
   178  			"EFTYPE":          {reflect.TypeOf(q.EFTYPE), constant.MakeInt64(int64(q.EFTYPE))},
   179  			"EHOSTDOWN":       {reflect.TypeOf(q.EHOSTDOWN), constant.MakeInt64(int64(q.EHOSTDOWN))},
   180  			"EHOSTUNREACH":    {reflect.TypeOf(q.EHOSTUNREACH), constant.MakeInt64(int64(q.EHOSTUNREACH))},
   181  			"EIDRM":           {reflect.TypeOf(q.EIDRM), constant.MakeInt64(int64(q.EIDRM))},
   182  			"EILSEQ":          {reflect.TypeOf(q.EILSEQ), constant.MakeInt64(int64(q.EILSEQ))},
   183  			"EINPROGRESS":     {reflect.TypeOf(q.EINPROGRESS), constant.MakeInt64(int64(q.EINPROGRESS))},
   184  			"EINTR":           {reflect.TypeOf(q.EINTR), constant.MakeInt64(int64(q.EINTR))},
   185  			"EINVAL":          {reflect.TypeOf(q.EINVAL), constant.MakeInt64(int64(q.EINVAL))},
   186  			"EIO":             {reflect.TypeOf(q.EIO), constant.MakeInt64(int64(q.EIO))},
   187  			"EISCONN":         {reflect.TypeOf(q.EISCONN), constant.MakeInt64(int64(q.EISCONN))},
   188  			"EISDIR":          {reflect.TypeOf(q.EISDIR), constant.MakeInt64(int64(q.EISDIR))},
   189  			"EL2HLT":          {reflect.TypeOf(q.EL2HLT), constant.MakeInt64(int64(q.EL2HLT))},
   190  			"EL2NSYNC":        {reflect.TypeOf(q.EL2NSYNC), constant.MakeInt64(int64(q.EL2NSYNC))},
   191  			"EL3HLT":          {reflect.TypeOf(q.EL3HLT), constant.MakeInt64(int64(q.EL3HLT))},
   192  			"EL3RST":          {reflect.TypeOf(q.EL3RST), constant.MakeInt64(int64(q.EL3RST))},
   193  			"ELBIN":           {reflect.TypeOf(q.ELBIN), constant.MakeInt64(int64(q.ELBIN))},
   194  			"ELIBACC":         {reflect.TypeOf(q.ELIBACC), constant.MakeInt64(int64(q.ELIBACC))},
   195  			"ELIBBAD":         {reflect.TypeOf(q.ELIBBAD), constant.MakeInt64(int64(q.ELIBBAD))},
   196  			"ELIBEXEC":        {reflect.TypeOf(q.ELIBEXEC), constant.MakeInt64(int64(q.ELIBEXEC))},
   197  			"ELIBMAX":         {reflect.TypeOf(q.ELIBMAX), constant.MakeInt64(int64(q.ELIBMAX))},
   198  			"ELIBSCN":         {reflect.TypeOf(q.ELIBSCN), constant.MakeInt64(int64(q.ELIBSCN))},
   199  			"ELNRNG":          {reflect.TypeOf(q.ELNRNG), constant.MakeInt64(int64(q.ELNRNG))},
   200  			"ELOOP":           {reflect.TypeOf(q.ELOOP), constant.MakeInt64(int64(q.ELOOP))},
   201  			"EMFILE":          {reflect.TypeOf(q.EMFILE), constant.MakeInt64(int64(q.EMFILE))},
   202  			"EMLINK":          {reflect.TypeOf(q.EMLINK), constant.MakeInt64(int64(q.EMLINK))},
   203  			"EMSGSIZE":        {reflect.TypeOf(q.EMSGSIZE), constant.MakeInt64(int64(q.EMSGSIZE))},
   204  			"EMULTIHOP":       {reflect.TypeOf(q.EMULTIHOP), constant.MakeInt64(int64(q.EMULTIHOP))},
   205  			"ENAMETOOLONG":    {reflect.TypeOf(q.ENAMETOOLONG), constant.MakeInt64(int64(q.ENAMETOOLONG))},
   206  			"ENETDOWN":        {reflect.TypeOf(q.ENETDOWN), constant.MakeInt64(int64(q.ENETDOWN))},
   207  			"ENETRESET":       {reflect.TypeOf(q.ENETRESET), constant.MakeInt64(int64(q.ENETRESET))},
   208  			"ENETUNREACH":     {reflect.TypeOf(q.ENETUNREACH), constant.MakeInt64(int64(q.ENETUNREACH))},
   209  			"ENFILE":          {reflect.TypeOf(q.ENFILE), constant.MakeInt64(int64(q.ENFILE))},
   210  			"ENMFILE":         {reflect.TypeOf(q.ENMFILE), constant.MakeInt64(int64(q.ENMFILE))},
   211  			"ENOANO":          {reflect.TypeOf(q.ENOANO), constant.MakeInt64(int64(q.ENOANO))},
   212  			"ENOBUFS":         {reflect.TypeOf(q.ENOBUFS), constant.MakeInt64(int64(q.ENOBUFS))},
   213  			"ENOCSI":          {reflect.TypeOf(q.ENOCSI), constant.MakeInt64(int64(q.ENOCSI))},
   214  			"ENODATA":         {reflect.TypeOf(q.ENODATA), constant.MakeInt64(int64(q.ENODATA))},
   215  			"ENODEV":          {reflect.TypeOf(q.ENODEV), constant.MakeInt64(int64(q.ENODEV))},
   216  			"ENOENT":          {reflect.TypeOf(q.ENOENT), constant.MakeInt64(int64(q.ENOENT))},
   217  			"ENOEXEC":         {reflect.TypeOf(q.ENOEXEC), constant.MakeInt64(int64(q.ENOEXEC))},
   218  			"ENOLCK":          {reflect.TypeOf(q.ENOLCK), constant.MakeInt64(int64(q.ENOLCK))},
   219  			"ENOLINK":         {reflect.TypeOf(q.ENOLINK), constant.MakeInt64(int64(q.ENOLINK))},
   220  			"ENOMEDIUM":       {reflect.TypeOf(q.ENOMEDIUM), constant.MakeInt64(int64(q.ENOMEDIUM))},
   221  			"ENOMEM":          {reflect.TypeOf(q.ENOMEM), constant.MakeInt64(int64(q.ENOMEM))},
   222  			"ENOMSG":          {reflect.TypeOf(q.ENOMSG), constant.MakeInt64(int64(q.ENOMSG))},
   223  			"ENONET":          {reflect.TypeOf(q.ENONET), constant.MakeInt64(int64(q.ENONET))},
   224  			"ENOPKG":          {reflect.TypeOf(q.ENOPKG), constant.MakeInt64(int64(q.ENOPKG))},
   225  			"ENOPROTOOPT":     {reflect.TypeOf(q.ENOPROTOOPT), constant.MakeInt64(int64(q.ENOPROTOOPT))},
   226  			"ENOSHARE":        {reflect.TypeOf(q.ENOSHARE), constant.MakeInt64(int64(q.ENOSHARE))},
   227  			"ENOSPC":          {reflect.TypeOf(q.ENOSPC), constant.MakeInt64(int64(q.ENOSPC))},
   228  			"ENOSR":           {reflect.TypeOf(q.ENOSR), constant.MakeInt64(int64(q.ENOSR))},
   229  			"ENOSTR":          {reflect.TypeOf(q.ENOSTR), constant.MakeInt64(int64(q.ENOSTR))},
   230  			"ENOSYS":          {reflect.TypeOf(q.ENOSYS), constant.MakeInt64(int64(q.ENOSYS))},
   231  			"ENOTCONN":        {reflect.TypeOf(q.ENOTCONN), constant.MakeInt64(int64(q.ENOTCONN))},
   232  			"ENOTDIR":         {reflect.TypeOf(q.ENOTDIR), constant.MakeInt64(int64(q.ENOTDIR))},
   233  			"ENOTEMPTY":       {reflect.TypeOf(q.ENOTEMPTY), constant.MakeInt64(int64(q.ENOTEMPTY))},
   234  			"ENOTSOCK":        {reflect.TypeOf(q.ENOTSOCK), constant.MakeInt64(int64(q.ENOTSOCK))},
   235  			"ENOTSUP":         {reflect.TypeOf(q.ENOTSUP), constant.MakeInt64(int64(q.ENOTSUP))},
   236  			"ENOTTY":          {reflect.TypeOf(q.ENOTTY), constant.MakeInt64(int64(q.ENOTTY))},
   237  			"ENOTUNIQ":        {reflect.TypeOf(q.ENOTUNIQ), constant.MakeInt64(int64(q.ENOTUNIQ))},
   238  			"ENXIO":           {reflect.TypeOf(q.ENXIO), constant.MakeInt64(int64(q.ENXIO))},
   239  			"EOPNOTSUPP":      {reflect.TypeOf(q.EOPNOTSUPP), constant.MakeInt64(int64(q.EOPNOTSUPP))},
   240  			"EOVERFLOW":       {reflect.TypeOf(q.EOVERFLOW), constant.MakeInt64(int64(q.EOVERFLOW))},
   241  			"EPERM":           {reflect.TypeOf(q.EPERM), constant.MakeInt64(int64(q.EPERM))},
   242  			"EPFNOSUPPORT":    {reflect.TypeOf(q.EPFNOSUPPORT), constant.MakeInt64(int64(q.EPFNOSUPPORT))},
   243  			"EPIPE":           {reflect.TypeOf(q.EPIPE), constant.MakeInt64(int64(q.EPIPE))},
   244  			"EPROCLIM":        {reflect.TypeOf(q.EPROCLIM), constant.MakeInt64(int64(q.EPROCLIM))},
   245  			"EPROTO":          {reflect.TypeOf(q.EPROTO), constant.MakeInt64(int64(q.EPROTO))},
   246  			"EPROTONOSUPPORT": {reflect.TypeOf(q.EPROTONOSUPPORT), constant.MakeInt64(int64(q.EPROTONOSUPPORT))},
   247  			"EPROTOTYPE":      {reflect.TypeOf(q.EPROTOTYPE), constant.MakeInt64(int64(q.EPROTOTYPE))},
   248  			"ERANGE":          {reflect.TypeOf(q.ERANGE), constant.MakeInt64(int64(q.ERANGE))},
   249  			"EREMCHG":         {reflect.TypeOf(q.EREMCHG), constant.MakeInt64(int64(q.EREMCHG))},
   250  			"EREMOTE":         {reflect.TypeOf(q.EREMOTE), constant.MakeInt64(int64(q.EREMOTE))},
   251  			"EROFS":           {reflect.TypeOf(q.EROFS), constant.MakeInt64(int64(q.EROFS))},
   252  			"ESHUTDOWN":       {reflect.TypeOf(q.ESHUTDOWN), constant.MakeInt64(int64(q.ESHUTDOWN))},
   253  			"ESOCKTNOSUPPORT": {reflect.TypeOf(q.ESOCKTNOSUPPORT), constant.MakeInt64(int64(q.ESOCKTNOSUPPORT))},
   254  			"ESPIPE":          {reflect.TypeOf(q.ESPIPE), constant.MakeInt64(int64(q.ESPIPE))},
   255  			"ESRCH":           {reflect.TypeOf(q.ESRCH), constant.MakeInt64(int64(q.ESRCH))},
   256  			"ESRMNT":          {reflect.TypeOf(q.ESRMNT), constant.MakeInt64(int64(q.ESRMNT))},
   257  			"ESTALE":          {reflect.TypeOf(q.ESTALE), constant.MakeInt64(int64(q.ESTALE))},
   258  			"ETIME":           {reflect.TypeOf(q.ETIME), constant.MakeInt64(int64(q.ETIME))},
   259  			"ETIMEDOUT":       {reflect.TypeOf(q.ETIMEDOUT), constant.MakeInt64(int64(q.ETIMEDOUT))},
   260  			"ETOOMANYREFS":    {reflect.TypeOf(q.ETOOMANYREFS), constant.MakeInt64(int64(q.ETOOMANYREFS))},
   261  			"EUNATCH":         {reflect.TypeOf(q.EUNATCH), constant.MakeInt64(int64(q.EUNATCH))},
   262  			"EUSERS":          {reflect.TypeOf(q.EUSERS), constant.MakeInt64(int64(q.EUSERS))},
   263  			"EWOULDBLOCK":     {reflect.TypeOf(q.EWOULDBLOCK), constant.MakeInt64(int64(q.EWOULDBLOCK))},
   264  			"EXDEV":           {reflect.TypeOf(q.EXDEV), constant.MakeInt64(int64(q.EXDEV))},
   265  			"EXFULL":          {reflect.TypeOf(q.EXFULL), constant.MakeInt64(int64(q.EXFULL))},
   266  			"SIGCHLD":         {reflect.TypeOf(q.SIGCHLD), constant.MakeInt64(int64(q.SIGCHLD))},
   267  			"SIGINT":          {reflect.TypeOf(q.SIGINT), constant.MakeInt64(int64(q.SIGINT))},
   268  			"SIGKILL":         {reflect.TypeOf(q.SIGKILL), constant.MakeInt64(int64(q.SIGKILL))},
   269  			"SIGQUIT":         {reflect.TypeOf(q.SIGQUIT), constant.MakeInt64(int64(q.SIGQUIT))},
   270  			"SIGTERM":         {reflect.TypeOf(q.SIGTERM), constant.MakeInt64(int64(q.SIGTERM))},
   271  			"SIGTRAP":         {reflect.TypeOf(q.SIGTRAP), constant.MakeInt64(int64(q.SIGTRAP))},
   272  		},
   273  		UntypedConsts: map[string]igop.UntypedConst{
   274  			"AF_INET":         {"untyped int", constant.MakeInt64(int64(q.AF_INET))},
   275  			"AF_INET6":        {"untyped int", constant.MakeInt64(int64(q.AF_INET6))},
   276  			"AF_UNIX":         {"untyped int", constant.MakeInt64(int64(q.AF_UNIX))},
   277  			"AF_UNSPEC":       {"untyped int", constant.MakeInt64(int64(q.AF_UNSPEC))},
   278  			"F_CNVT":          {"untyped int", constant.MakeInt64(int64(q.F_CNVT))},
   279  			"F_DUPFD":         {"untyped int", constant.MakeInt64(int64(q.F_DUPFD))},
   280  			"F_DUPFD_CLOEXEC": {"untyped int", constant.MakeInt64(int64(q.F_DUPFD_CLOEXEC))},
   281  			"F_GETFD":         {"untyped int", constant.MakeInt64(int64(q.F_GETFD))},
   282  			"F_GETFL":         {"untyped int", constant.MakeInt64(int64(q.F_GETFL))},
   283  			"F_GETLK":         {"untyped int", constant.MakeInt64(int64(q.F_GETLK))},
   284  			"F_GETOWN":        {"untyped int", constant.MakeInt64(int64(q.F_GETOWN))},
   285  			"F_RDLCK":         {"untyped int", constant.MakeInt64(int64(q.F_RDLCK))},
   286  			"F_RGETLK":        {"untyped int", constant.MakeInt64(int64(q.F_RGETLK))},
   287  			"F_RSETLK":        {"untyped int", constant.MakeInt64(int64(q.F_RSETLK))},
   288  			"F_RSETLKW":       {"untyped int", constant.MakeInt64(int64(q.F_RSETLKW))},
   289  			"F_SETFD":         {"untyped int", constant.MakeInt64(int64(q.F_SETFD))},
   290  			"F_SETFL":         {"untyped int", constant.MakeInt64(int64(q.F_SETFL))},
   291  			"F_SETLK":         {"untyped int", constant.MakeInt64(int64(q.F_SETLK))},
   292  			"F_SETLKW":        {"untyped int", constant.MakeInt64(int64(q.F_SETLKW))},
   293  			"F_SETOWN":        {"untyped int", constant.MakeInt64(int64(q.F_SETOWN))},
   294  			"F_UNLCK":         {"untyped int", constant.MakeInt64(int64(q.F_UNLCK))},
   295  			"F_UNLKSYS":       {"untyped int", constant.MakeInt64(int64(q.F_UNLKSYS))},
   296  			"F_WRLCK":         {"untyped int", constant.MakeInt64(int64(q.F_WRLCK))},
   297  			"IPPROTO_IP":      {"untyped int", constant.MakeInt64(int64(q.IPPROTO_IP))},
   298  			"IPPROTO_IPV4":    {"untyped int", constant.MakeInt64(int64(q.IPPROTO_IPV4))},
   299  			"IPPROTO_IPV6":    {"untyped int", constant.MakeInt64(int64(q.IPPROTO_IPV6))},
   300  			"IPPROTO_TCP":     {"untyped int", constant.MakeInt64(int64(q.IPPROTO_TCP))},
   301  			"IPPROTO_UDP":     {"untyped int", constant.MakeInt64(int64(q.IPPROTO_UDP))},
   302  			"IPV6_V6ONLY":     {"untyped int", constant.MakeInt64(int64(q.IPV6_V6ONLY))},
   303  			"ImplementsGetwd": {"untyped bool", constant.MakeBool(bool(q.ImplementsGetwd))},
   304  			"O_APPEND":        {"untyped int", constant.MakeInt64(int64(q.O_APPEND))},
   305  			"O_CLOEXEC":       {"untyped int", constant.MakeInt64(int64(q.O_CLOEXEC))},
   306  			"O_CREAT":         {"untyped int", constant.MakeInt64(int64(q.O_CREAT))},
   307  			"O_CREATE":        {"untyped int", constant.MakeInt64(int64(q.O_CREATE))},
   308  			"O_EXCL":          {"untyped int", constant.MakeInt64(int64(q.O_EXCL))},
   309  			"O_RDONLY":        {"untyped int", constant.MakeInt64(int64(q.O_RDONLY))},
   310  			"O_RDWR":          {"untyped int", constant.MakeInt64(int64(q.O_RDWR))},
   311  			"O_SYNC":          {"untyped int", constant.MakeInt64(int64(q.O_SYNC))},
   312  			"O_TRUNC":         {"untyped int", constant.MakeInt64(int64(q.O_TRUNC))},
   313  			"O_WRONLY":        {"untyped int", constant.MakeInt64(int64(q.O_WRONLY))},
   314  			"PathMax":         {"untyped int", constant.MakeInt64(int64(q.PathMax))},
   315  			"SOCK_DGRAM":      {"untyped int", constant.MakeInt64(int64(q.SOCK_DGRAM))},
   316  			"SOCK_RAW":        {"untyped int", constant.MakeInt64(int64(q.SOCK_RAW))},
   317  			"SOCK_SEQPACKET":  {"untyped int", constant.MakeInt64(int64(q.SOCK_SEQPACKET))},
   318  			"SOCK_STREAM":     {"untyped int", constant.MakeInt64(int64(q.SOCK_STREAM))},
   319  			"SOMAXCONN":       {"untyped int", constant.MakeInt64(int64(q.SOMAXCONN))},
   320  			"SO_ERROR":        {"untyped int", constant.MakeInt64(int64(q.SO_ERROR))},
   321  			"SYS_FCNTL":       {"untyped int", constant.MakeInt64(int64(q.SYS_FCNTL))},
   322  			"S_IEXEC":         {"untyped int", constant.MakeInt64(int64(q.S_IEXEC))},
   323  			"S_IFBLK":         {"untyped int", constant.MakeInt64(int64(q.S_IFBLK))},
   324  			"S_IFBOUNDSOCK":   {"untyped int", constant.MakeInt64(int64(q.S_IFBOUNDSOCK))},
   325  			"S_IFCHR":         {"untyped int", constant.MakeInt64(int64(q.S_IFCHR))},
   326  			"S_IFCOND":        {"untyped int", constant.MakeInt64(int64(q.S_IFCOND))},
   327  			"S_IFDIR":         {"untyped int", constant.MakeInt64(int64(q.S_IFDIR))},
   328  			"S_IFDSOCK":       {"untyped int", constant.MakeInt64(int64(q.S_IFDSOCK))},
   329  			"S_IFIFO":         {"untyped int", constant.MakeInt64(int64(q.S_IFIFO))},
   330  			"S_IFLNK":         {"untyped int", constant.MakeInt64(int64(q.S_IFLNK))},
   331  			"S_IFMT":          {"untyped int", constant.MakeInt64(int64(q.S_IFMT))},
   332  			"S_IFMUTEX":       {"untyped int", constant.MakeInt64(int64(q.S_IFMUTEX))},
   333  			"S_IFREG":         {"untyped int", constant.MakeInt64(int64(q.S_IFREG))},
   334  			"S_IFSEMA":        {"untyped int", constant.MakeInt64(int64(q.S_IFSEMA))},
   335  			"S_IFSHM":         {"untyped int", constant.MakeInt64(int64(q.S_IFSHM))},
   336  			"S_IFSHM_SYSV":    {"untyped int", constant.MakeInt64(int64(q.S_IFSHM_SYSV))},
   337  			"S_IFSOCK":        {"untyped int", constant.MakeInt64(int64(q.S_IFSOCK))},
   338  			"S_IFSOCKADDR":    {"untyped int", constant.MakeInt64(int64(q.S_IFSOCKADDR))},
   339  			"S_IREAD":         {"untyped int", constant.MakeInt64(int64(q.S_IREAD))},
   340  			"S_IRGRP":         {"untyped int", constant.MakeInt64(int64(q.S_IRGRP))},
   341  			"S_IROTH":         {"untyped int", constant.MakeInt64(int64(q.S_IROTH))},
   342  			"S_IRUSR":         {"untyped int", constant.MakeInt64(int64(q.S_IRUSR))},
   343  			"S_IRWXG":         {"untyped int", constant.MakeInt64(int64(q.S_IRWXG))},
   344  			"S_IRWXO":         {"untyped int", constant.MakeInt64(int64(q.S_IRWXO))},
   345  			"S_IRWXU":         {"untyped int", constant.MakeInt64(int64(q.S_IRWXU))},
   346  			"S_ISGID":         {"untyped int", constant.MakeInt64(int64(q.S_ISGID))},
   347  			"S_ISUID":         {"untyped int", constant.MakeInt64(int64(q.S_ISUID))},
   348  			"S_ISVTX":         {"untyped int", constant.MakeInt64(int64(q.S_ISVTX))},
   349  			"S_IWGRP":         {"untyped int", constant.MakeInt64(int64(q.S_IWGRP))},
   350  			"S_IWOTH":         {"untyped int", constant.MakeInt64(int64(q.S_IWOTH))},
   351  			"S_IWRITE":        {"untyped int", constant.MakeInt64(int64(q.S_IWRITE))},
   352  			"S_IWUSR":         {"untyped int", constant.MakeInt64(int64(q.S_IWUSR))},
   353  			"S_IXGRP":         {"untyped int", constant.MakeInt64(int64(q.S_IXGRP))},
   354  			"S_IXOTH":         {"untyped int", constant.MakeInt64(int64(q.S_IXOTH))},
   355  			"S_IXUSR":         {"untyped int", constant.MakeInt64(int64(q.S_IXUSR))},
   356  			"S_UNSUP":         {"untyped int", constant.MakeInt64(int64(q.S_UNSUP))},
   357  			"Stderr":          {"untyped int", constant.MakeInt64(int64(q.Stderr))},
   358  			"Stdin":           {"untyped int", constant.MakeInt64(int64(q.Stdin))},
   359  			"Stdout":          {"untyped int", constant.MakeInt64(int64(q.Stdout))},
   360  		},
   361  	})
   362  }