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

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