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

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //go:build go1.21
     4  // +build go1.21
     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  			"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  			"ProcAttr":      reflect.TypeOf((*q.ProcAttr)(nil)).Elem(),
    39  			"Rlimit":        reflect.TypeOf((*q.Rlimit)(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  			"Dircookie": reflect.TypeOf((*uint64)(nil)).Elem(),
    53  			"Filetype":  reflect.TypeOf((*uint8)(nil)).Elem(),
    54  		},
    55  		Vars: map[string]reflect.Value{},
    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  			"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  			"Getegid":             reflect.ValueOf(q.Getegid),
    78  			"Getenv":              reflect.ValueOf(q.Getenv),
    79  			"Geteuid":             reflect.ValueOf(q.Geteuid),
    80  			"Getgid":              reflect.ValueOf(q.Getgid),
    81  			"Getgroups":           reflect.ValueOf(q.Getgroups),
    82  			"Getpagesize":         reflect.ValueOf(q.Getpagesize),
    83  			"Getpid":              reflect.ValueOf(q.Getpid),
    84  			"Getppid":             reflect.ValueOf(q.Getppid),
    85  			"Getrlimit":           reflect.ValueOf(q.Getrlimit),
    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  			"ProcExit":            reflect.ValueOf(q.ProcExit),
   103  			"Pwrite":              reflect.ValueOf(q.Pwrite),
   104  			"RandomGet":           reflect.ValueOf(q.RandomGet),
   105  			"RawSyscall":          reflect.ValueOf(q.RawSyscall),
   106  			"RawSyscall6":         reflect.ValueOf(q.RawSyscall6),
   107  			"Read":                reflect.ValueOf(q.Read),
   108  			"ReadDir":             reflect.ValueOf(q.ReadDir),
   109  			"Readlink":            reflect.ValueOf(q.Readlink),
   110  			"Recvfrom":            reflect.ValueOf(q.Recvfrom),
   111  			"Recvmsg":             reflect.ValueOf(q.Recvmsg),
   112  			"Rename":              reflect.ValueOf(q.Rename),
   113  			"Rmdir":               reflect.ValueOf(q.Rmdir),
   114  			"Seek":                reflect.ValueOf(q.Seek),
   115  			"Sendfile":            reflect.ValueOf(q.Sendfile),
   116  			"SendmsgN":            reflect.ValueOf(q.SendmsgN),
   117  			"Sendto":              reflect.ValueOf(q.Sendto),
   118  			"SetNonblock":         reflect.ValueOf(q.SetNonblock),
   119  			"SetReadDeadline":     reflect.ValueOf(q.SetReadDeadline),
   120  			"SetWriteDeadline":    reflect.ValueOf(q.SetWriteDeadline),
   121  			"Setenv":              reflect.ValueOf(q.Setenv),
   122  			"SetsockoptInt":       reflect.ValueOf(q.SetsockoptInt),
   123  			"Shutdown":            reflect.ValueOf(q.Shutdown),
   124  			"Socket":              reflect.ValueOf(q.Socket),
   125  			"StartProcess":        reflect.ValueOf(q.StartProcess),
   126  			"Stat":                reflect.ValueOf(q.Stat),
   127  			"StopIO":              reflect.ValueOf(q.StopIO),
   128  			"StringBytePtr":       reflect.ValueOf(q.StringBytePtr),
   129  			"StringByteSlice":     reflect.ValueOf(q.StringByteSlice),
   130  			"Symlink":             reflect.ValueOf(q.Symlink),
   131  			"Syscall":             reflect.ValueOf(q.Syscall),
   132  			"Syscall6":            reflect.ValueOf(q.Syscall6),
   133  			"Sysctl":              reflect.ValueOf(q.Sysctl),
   134  			"TimespecToNsec":      reflect.ValueOf(q.TimespecToNsec),
   135  			"TimevalToNsec":       reflect.ValueOf(q.TimevalToNsec),
   136  			"Truncate":            reflect.ValueOf(q.Truncate),
   137  			"Umask":               reflect.ValueOf(q.Umask),
   138  			"Unlink":              reflect.ValueOf(q.Unlink),
   139  			"Unsetenv":            reflect.ValueOf(q.Unsetenv),
   140  			"UtimesNano":          reflect.ValueOf(q.UtimesNano),
   141  			"Wait4":               reflect.ValueOf(q.Wait4),
   142  			"Write":               reflect.ValueOf(q.Write),
   143  		},
   144  		TypedConsts: map[string]igop.TypedConst{
   145  			"E2BIG":                     {reflect.TypeOf(q.E2BIG), constant.MakeInt64(int64(q.E2BIG))},
   146  			"EACCES":                    {reflect.TypeOf(q.EACCES), constant.MakeInt64(int64(q.EACCES))},
   147  			"EADDRINUSE":                {reflect.TypeOf(q.EADDRINUSE), constant.MakeInt64(int64(q.EADDRINUSE))},
   148  			"EADDRNOTAVAIL":             {reflect.TypeOf(q.EADDRNOTAVAIL), constant.MakeInt64(int64(q.EADDRNOTAVAIL))},
   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  			"EBADF":                     {reflect.TypeOf(q.EBADF), constant.MakeInt64(int64(q.EBADF))},
   153  			"EBADMSG":                   {reflect.TypeOf(q.EBADMSG), constant.MakeInt64(int64(q.EBADMSG))},
   154  			"EBUSY":                     {reflect.TypeOf(q.EBUSY), constant.MakeInt64(int64(q.EBUSY))},
   155  			"ECANCELED":                 {reflect.TypeOf(q.ECANCELED), constant.MakeInt64(int64(q.ECANCELED))},
   156  			"ECHILD":                    {reflect.TypeOf(q.ECHILD), constant.MakeInt64(int64(q.ECHILD))},
   157  			"ECONNABORTED":              {reflect.TypeOf(q.ECONNABORTED), constant.MakeInt64(int64(q.ECONNABORTED))},
   158  			"ECONNREFUSED":              {reflect.TypeOf(q.ECONNREFUSED), constant.MakeInt64(int64(q.ECONNREFUSED))},
   159  			"ECONNRESET":                {reflect.TypeOf(q.ECONNRESET), constant.MakeInt64(int64(q.ECONNRESET))},
   160  			"EDEADLK":                   {reflect.TypeOf(q.EDEADLK), constant.MakeInt64(int64(q.EDEADLK))},
   161  			"EDESTADDRREQ":              {reflect.TypeOf(q.EDESTADDRREQ), constant.MakeInt64(int64(q.EDESTADDRREQ))},
   162  			"EDOM":                      {reflect.TypeOf(q.EDOM), constant.MakeInt64(int64(q.EDOM))},
   163  			"EDQUOT":                    {reflect.TypeOf(q.EDQUOT), constant.MakeInt64(int64(q.EDQUOT))},
   164  			"EEXIST":                    {reflect.TypeOf(q.EEXIST), constant.MakeInt64(int64(q.EEXIST))},
   165  			"EFAULT":                    {reflect.TypeOf(q.EFAULT), constant.MakeInt64(int64(q.EFAULT))},
   166  			"EFBIG":                     {reflect.TypeOf(q.EFBIG), constant.MakeInt64(int64(q.EFBIG))},
   167  			"EHOSTUNREACH":              {reflect.TypeOf(q.EHOSTUNREACH), constant.MakeInt64(int64(q.EHOSTUNREACH))},
   168  			"EIDRM":                     {reflect.TypeOf(q.EIDRM), constant.MakeInt64(int64(q.EIDRM))},
   169  			"EILSEQ":                    {reflect.TypeOf(q.EILSEQ), constant.MakeInt64(int64(q.EILSEQ))},
   170  			"EINPROGRESS":               {reflect.TypeOf(q.EINPROGRESS), constant.MakeInt64(int64(q.EINPROGRESS))},
   171  			"EINTR":                     {reflect.TypeOf(q.EINTR), constant.MakeInt64(int64(q.EINTR))},
   172  			"EINVAL":                    {reflect.TypeOf(q.EINVAL), constant.MakeInt64(int64(q.EINVAL))},
   173  			"EIO":                       {reflect.TypeOf(q.EIO), constant.MakeInt64(int64(q.EIO))},
   174  			"EISCONN":                   {reflect.TypeOf(q.EISCONN), constant.MakeInt64(int64(q.EISCONN))},
   175  			"EISDIR":                    {reflect.TypeOf(q.EISDIR), constant.MakeInt64(int64(q.EISDIR))},
   176  			"ELOOP":                     {reflect.TypeOf(q.ELOOP), constant.MakeInt64(int64(q.ELOOP))},
   177  			"EMFILE":                    {reflect.TypeOf(q.EMFILE), constant.MakeInt64(int64(q.EMFILE))},
   178  			"EMLINK":                    {reflect.TypeOf(q.EMLINK), constant.MakeInt64(int64(q.EMLINK))},
   179  			"EMSGSIZE":                  {reflect.TypeOf(q.EMSGSIZE), constant.MakeInt64(int64(q.EMSGSIZE))},
   180  			"EMULTIHOP":                 {reflect.TypeOf(q.EMULTIHOP), constant.MakeInt64(int64(q.EMULTIHOP))},
   181  			"ENAMETOOLONG":              {reflect.TypeOf(q.ENAMETOOLONG), constant.MakeInt64(int64(q.ENAMETOOLONG))},
   182  			"ENETDOWN":                  {reflect.TypeOf(q.ENETDOWN), constant.MakeInt64(int64(q.ENETDOWN))},
   183  			"ENETRESET":                 {reflect.TypeOf(q.ENETRESET), constant.MakeInt64(int64(q.ENETRESET))},
   184  			"ENETUNREACH":               {reflect.TypeOf(q.ENETUNREACH), constant.MakeInt64(int64(q.ENETUNREACH))},
   185  			"ENFILE":                    {reflect.TypeOf(q.ENFILE), constant.MakeInt64(int64(q.ENFILE))},
   186  			"ENOBUFS":                   {reflect.TypeOf(q.ENOBUFS), constant.MakeInt64(int64(q.ENOBUFS))},
   187  			"ENODEV":                    {reflect.TypeOf(q.ENODEV), constant.MakeInt64(int64(q.ENODEV))},
   188  			"ENOENT":                    {reflect.TypeOf(q.ENOENT), constant.MakeInt64(int64(q.ENOENT))},
   189  			"ENOEXEC":                   {reflect.TypeOf(q.ENOEXEC), constant.MakeInt64(int64(q.ENOEXEC))},
   190  			"ENOLCK":                    {reflect.TypeOf(q.ENOLCK), constant.MakeInt64(int64(q.ENOLCK))},
   191  			"ENOLINK":                   {reflect.TypeOf(q.ENOLINK), constant.MakeInt64(int64(q.ENOLINK))},
   192  			"ENOMEM":                    {reflect.TypeOf(q.ENOMEM), constant.MakeInt64(int64(q.ENOMEM))},
   193  			"ENOMSG":                    {reflect.TypeOf(q.ENOMSG), constant.MakeInt64(int64(q.ENOMSG))},
   194  			"ENOPROTOOPT":               {reflect.TypeOf(q.ENOPROTOOPT), constant.MakeInt64(int64(q.ENOPROTOOPT))},
   195  			"ENOSPC":                    {reflect.TypeOf(q.ENOSPC), constant.MakeInt64(int64(q.ENOSPC))},
   196  			"ENOSYS":                    {reflect.TypeOf(q.ENOSYS), constant.MakeInt64(int64(q.ENOSYS))},
   197  			"ENOTCAPABLE":               {reflect.TypeOf(q.ENOTCAPABLE), constant.MakeInt64(int64(q.ENOTCAPABLE))},
   198  			"ENOTCONN":                  {reflect.TypeOf(q.ENOTCONN), constant.MakeInt64(int64(q.ENOTCONN))},
   199  			"ENOTDIR":                   {reflect.TypeOf(q.ENOTDIR), constant.MakeInt64(int64(q.ENOTDIR))},
   200  			"ENOTEMPTY":                 {reflect.TypeOf(q.ENOTEMPTY), constant.MakeInt64(int64(q.ENOTEMPTY))},
   201  			"ENOTRECOVERABLE":           {reflect.TypeOf(q.ENOTRECOVERABLE), constant.MakeInt64(int64(q.ENOTRECOVERABLE))},
   202  			"ENOTSOCK":                  {reflect.TypeOf(q.ENOTSOCK), constant.MakeInt64(int64(q.ENOTSOCK))},
   203  			"ENOTSUP":                   {reflect.TypeOf(q.ENOTSUP), constant.MakeInt64(int64(q.ENOTSUP))},
   204  			"ENOTTY":                    {reflect.TypeOf(q.ENOTTY), constant.MakeInt64(int64(q.ENOTTY))},
   205  			"ENXIO":                     {reflect.TypeOf(q.ENXIO), constant.MakeInt64(int64(q.ENXIO))},
   206  			"EOPNOTSUPP":                {reflect.TypeOf(q.EOPNOTSUPP), constant.MakeInt64(int64(q.EOPNOTSUPP))},
   207  			"EOVERFLOW":                 {reflect.TypeOf(q.EOVERFLOW), constant.MakeInt64(int64(q.EOVERFLOW))},
   208  			"EOWNERDEAD":                {reflect.TypeOf(q.EOWNERDEAD), constant.MakeInt64(int64(q.EOWNERDEAD))},
   209  			"EPERM":                     {reflect.TypeOf(q.EPERM), constant.MakeInt64(int64(q.EPERM))},
   210  			"EPIPE":                     {reflect.TypeOf(q.EPIPE), constant.MakeInt64(int64(q.EPIPE))},
   211  			"EPROTO":                    {reflect.TypeOf(q.EPROTO), constant.MakeInt64(int64(q.EPROTO))},
   212  			"EPROTONOSUPPORT":           {reflect.TypeOf(q.EPROTONOSUPPORT), constant.MakeInt64(int64(q.EPROTONOSUPPORT))},
   213  			"EPROTOTYPE":                {reflect.TypeOf(q.EPROTOTYPE), constant.MakeInt64(int64(q.EPROTOTYPE))},
   214  			"ERANGE":                    {reflect.TypeOf(q.ERANGE), constant.MakeInt64(int64(q.ERANGE))},
   215  			"EROFS":                     {reflect.TypeOf(q.EROFS), constant.MakeInt64(int64(q.EROFS))},
   216  			"ESPIPE":                    {reflect.TypeOf(q.ESPIPE), constant.MakeInt64(int64(q.ESPIPE))},
   217  			"ESRCH":                     {reflect.TypeOf(q.ESRCH), constant.MakeInt64(int64(q.ESRCH))},
   218  			"ESTALE":                    {reflect.TypeOf(q.ESTALE), constant.MakeInt64(int64(q.ESTALE))},
   219  			"ETIMEDOUT":                 {reflect.TypeOf(q.ETIMEDOUT), constant.MakeInt64(int64(q.ETIMEDOUT))},
   220  			"ETXTBSY":                   {reflect.TypeOf(q.ETXTBSY), constant.MakeInt64(int64(q.ETXTBSY))},
   221  			"EXDEV":                     {reflect.TypeOf(q.EXDEV), constant.MakeInt64(int64(q.EXDEV))},
   222  			"FILETYPE_BLOCK_DEVICE":     {reflect.TypeOf(q.FILETYPE_BLOCK_DEVICE), constant.MakeInt64(int64(q.FILETYPE_BLOCK_DEVICE))},
   223  			"FILETYPE_CHARACTER_DEVICE": {reflect.TypeOf(q.FILETYPE_CHARACTER_DEVICE), constant.MakeInt64(int64(q.FILETYPE_CHARACTER_DEVICE))},
   224  			"FILETYPE_DIRECTORY":        {reflect.TypeOf(q.FILETYPE_DIRECTORY), constant.MakeInt64(int64(q.FILETYPE_DIRECTORY))},
   225  			"FILETYPE_REGULAR_FILE":     {reflect.TypeOf(q.FILETYPE_REGULAR_FILE), constant.MakeInt64(int64(q.FILETYPE_REGULAR_FILE))},
   226  			"FILETYPE_SOCKET_DGRAM":     {reflect.TypeOf(q.FILETYPE_SOCKET_DGRAM), constant.MakeInt64(int64(q.FILETYPE_SOCKET_DGRAM))},
   227  			"FILETYPE_SOCKET_STREAM":    {reflect.TypeOf(q.FILETYPE_SOCKET_STREAM), constant.MakeInt64(int64(q.FILETYPE_SOCKET_STREAM))},
   228  			"FILETYPE_SYMBOLIC_LINK":    {reflect.TypeOf(q.FILETYPE_SYMBOLIC_LINK), constant.MakeInt64(int64(q.FILETYPE_SYMBOLIC_LINK))},
   229  			"FILETYPE_UNKNOWN":          {reflect.TypeOf(q.FILETYPE_UNKNOWN), constant.MakeInt64(int64(q.FILETYPE_UNKNOWN))},
   230  			"SIGABRT":                   {reflect.TypeOf(q.SIGABRT), constant.MakeInt64(int64(q.SIGABRT))},
   231  			"SIGALRM":                   {reflect.TypeOf(q.SIGALRM), constant.MakeInt64(int64(q.SIGALRM))},
   232  			"SIGBUS":                    {reflect.TypeOf(q.SIGBUS), constant.MakeInt64(int64(q.SIGBUS))},
   233  			"SIGCHLD":                   {reflect.TypeOf(q.SIGCHLD), constant.MakeInt64(int64(q.SIGCHLD))},
   234  			"SIGCONT":                   {reflect.TypeOf(q.SIGCONT), constant.MakeInt64(int64(q.SIGCONT))},
   235  			"SIGFPE":                    {reflect.TypeOf(q.SIGFPE), constant.MakeInt64(int64(q.SIGFPE))},
   236  			"SIGHUP":                    {reflect.TypeOf(q.SIGHUP), constant.MakeInt64(int64(q.SIGHUP))},
   237  			"SIGILL":                    {reflect.TypeOf(q.SIGILL), constant.MakeInt64(int64(q.SIGILL))},
   238  			"SIGINT":                    {reflect.TypeOf(q.SIGINT), constant.MakeInt64(int64(q.SIGINT))},
   239  			"SIGKILL":                   {reflect.TypeOf(q.SIGKILL), constant.MakeInt64(int64(q.SIGKILL))},
   240  			"SIGNONE":                   {reflect.TypeOf(q.SIGNONE), constant.MakeInt64(int64(q.SIGNONE))},
   241  			"SIGPIPE":                   {reflect.TypeOf(q.SIGPIPE), constant.MakeInt64(int64(q.SIGPIPE))},
   242  			"SIGPOLL":                   {reflect.TypeOf(q.SIGPOLL), constant.MakeInt64(int64(q.SIGPOLL))},
   243  			"SIGPROF":                   {reflect.TypeOf(q.SIGPROF), constant.MakeInt64(int64(q.SIGPROF))},
   244  			"SIGPWR":                    {reflect.TypeOf(q.SIGPWR), constant.MakeInt64(int64(q.SIGPWR))},
   245  			"SIGQUIT":                   {reflect.TypeOf(q.SIGQUIT), constant.MakeInt64(int64(q.SIGQUIT))},
   246  			"SIGSEGV":                   {reflect.TypeOf(q.SIGSEGV), constant.MakeInt64(int64(q.SIGSEGV))},
   247  			"SIGSTOP":                   {reflect.TypeOf(q.SIGSTOP), constant.MakeInt64(int64(q.SIGSTOP))},
   248  			"SIGSYS":                    {reflect.TypeOf(q.SIGSYS), constant.MakeInt64(int64(q.SIGSYS))},
   249  			"SIGTERM":                   {reflect.TypeOf(q.SIGTERM), constant.MakeInt64(int64(q.SIGTERM))},
   250  			"SIGTRAP":                   {reflect.TypeOf(q.SIGTRAP), constant.MakeInt64(int64(q.SIGTRAP))},
   251  			"SIGTSTP":                   {reflect.TypeOf(q.SIGTSTP), constant.MakeInt64(int64(q.SIGTSTP))},
   252  			"SIGTTIN":                   {reflect.TypeOf(q.SIGTTIN), constant.MakeInt64(int64(q.SIGTTIN))},
   253  			"SIGTTOU":                   {reflect.TypeOf(q.SIGTTOU), constant.MakeInt64(int64(q.SIGTTOU))},
   254  			"SIGURG":                    {reflect.TypeOf(q.SIGURG), constant.MakeInt64(int64(q.SIGURG))},
   255  			"SIGUSR1":                   {reflect.TypeOf(q.SIGUSR1), constant.MakeInt64(int64(q.SIGUSR1))},
   256  			"SIGUSR2":                   {reflect.TypeOf(q.SIGUSR2), constant.MakeInt64(int64(q.SIGUSR2))},
   257  			"SIGVTARLM":                 {reflect.TypeOf(q.SIGVTARLM), constant.MakeInt64(int64(q.SIGVTARLM))},
   258  			"SIGWINCH":                  {reflect.TypeOf(q.SIGWINCH), constant.MakeInt64(int64(q.SIGWINCH))},
   259  			"SIGXCPU":                   {reflect.TypeOf(q.SIGXCPU), constant.MakeInt64(int64(q.SIGXCPU))},
   260  			"SIGXFSZ":                   {reflect.TypeOf(q.SIGXFSZ), constant.MakeInt64(int64(q.SIGXFSZ))},
   261  		},
   262  		UntypedConsts: map[string]igop.UntypedConst{
   263  			"AF_INET":                       {"untyped int", constant.MakeInt64(int64(q.AF_INET))},
   264  			"AF_INET6":                      {"untyped int", constant.MakeInt64(int64(q.AF_INET6))},
   265  			"AF_UNIX":                       {"untyped int", constant.MakeInt64(int64(q.AF_UNIX))},
   266  			"AF_UNSPEC":                     {"untyped int", constant.MakeInt64(int64(q.AF_UNSPEC))},
   267  			"FDFLAG_APPEND":                 {"untyped int", constant.MakeInt64(int64(q.FDFLAG_APPEND))},
   268  			"FDFLAG_DSYNC":                  {"untyped int", constant.MakeInt64(int64(q.FDFLAG_DSYNC))},
   269  			"FDFLAG_NONBLOCK":               {"untyped int", constant.MakeInt64(int64(q.FDFLAG_NONBLOCK))},
   270  			"FDFLAG_RSYNC":                  {"untyped int", constant.MakeInt64(int64(q.FDFLAG_RSYNC))},
   271  			"FDFLAG_SYNC":                   {"untyped int", constant.MakeInt64(int64(q.FDFLAG_SYNC))},
   272  			"FILESTAT_SET_ATIM":             {"untyped int", constant.MakeInt64(int64(q.FILESTAT_SET_ATIM))},
   273  			"FILESTAT_SET_ATIM_NOW":         {"untyped int", constant.MakeInt64(int64(q.FILESTAT_SET_ATIM_NOW))},
   274  			"FILESTAT_SET_MTIM":             {"untyped int", constant.MakeInt64(int64(q.FILESTAT_SET_MTIM))},
   275  			"FILESTAT_SET_MTIM_NOW":         {"untyped int", constant.MakeInt64(int64(q.FILESTAT_SET_MTIM_NOW))},
   276  			"F_CNVT":                        {"untyped int", constant.MakeInt64(int64(q.F_CNVT))},
   277  			"F_DUPFD":                       {"untyped int", constant.MakeInt64(int64(q.F_DUPFD))},
   278  			"F_DUPFD_CLOEXEC":               {"untyped int", constant.MakeInt64(int64(q.F_DUPFD_CLOEXEC))},
   279  			"F_GETFD":                       {"untyped int", constant.MakeInt64(int64(q.F_GETFD))},
   280  			"F_GETFL":                       {"untyped int", constant.MakeInt64(int64(q.F_GETFL))},
   281  			"F_GETLK":                       {"untyped int", constant.MakeInt64(int64(q.F_GETLK))},
   282  			"F_GETOWN":                      {"untyped int", constant.MakeInt64(int64(q.F_GETOWN))},
   283  			"F_RDLCK":                       {"untyped int", constant.MakeInt64(int64(q.F_RDLCK))},
   284  			"F_RGETLK":                      {"untyped int", constant.MakeInt64(int64(q.F_RGETLK))},
   285  			"F_RSETLK":                      {"untyped int", constant.MakeInt64(int64(q.F_RSETLK))},
   286  			"F_RSETLKW":                     {"untyped int", constant.MakeInt64(int64(q.F_RSETLKW))},
   287  			"F_SETFD":                       {"untyped int", constant.MakeInt64(int64(q.F_SETFD))},
   288  			"F_SETFL":                       {"untyped int", constant.MakeInt64(int64(q.F_SETFL))},
   289  			"F_SETLK":                       {"untyped int", constant.MakeInt64(int64(q.F_SETLK))},
   290  			"F_SETLKW":                      {"untyped int", constant.MakeInt64(int64(q.F_SETLKW))},
   291  			"F_SETOWN":                      {"untyped int", constant.MakeInt64(int64(q.F_SETOWN))},
   292  			"F_UNLCK":                       {"untyped int", constant.MakeInt64(int64(q.F_UNLCK))},
   293  			"F_UNLKSYS":                     {"untyped int", constant.MakeInt64(int64(q.F_UNLKSYS))},
   294  			"F_WRLCK":                       {"untyped int", constant.MakeInt64(int64(q.F_WRLCK))},
   295  			"IPPROTO_IP":                    {"untyped int", constant.MakeInt64(int64(q.IPPROTO_IP))},
   296  			"IPPROTO_IPV4":                  {"untyped int", constant.MakeInt64(int64(q.IPPROTO_IPV4))},
   297  			"IPPROTO_IPV6":                  {"untyped int", constant.MakeInt64(int64(q.IPPROTO_IPV6))},
   298  			"IPPROTO_TCP":                   {"untyped int", constant.MakeInt64(int64(q.IPPROTO_TCP))},
   299  			"IPPROTO_UDP":                   {"untyped int", constant.MakeInt64(int64(q.IPPROTO_UDP))},
   300  			"IPV6_V6ONLY":                   {"untyped int", constant.MakeInt64(int64(q.IPV6_V6ONLY))},
   301  			"ImplementsGetwd":               {"untyped bool", constant.MakeBool(bool(q.ImplementsGetwd))},
   302  			"LOOKUP_SYMLINK_FOLLOW":         {"untyped int", constant.MakeInt64(int64(q.LOOKUP_SYMLINK_FOLLOW))},
   303  			"OFLAG_CREATE":                  {"untyped int", constant.MakeInt64(int64(q.OFLAG_CREATE))},
   304  			"OFLAG_DIRECTORY":               {"untyped int", constant.MakeInt64(int64(q.OFLAG_DIRECTORY))},
   305  			"OFLAG_EXCL":                    {"untyped int", constant.MakeInt64(int64(q.OFLAG_EXCL))},
   306  			"OFLAG_TRUNC":                   {"untyped int", constant.MakeInt64(int64(q.OFLAG_TRUNC))},
   307  			"O_APPEND":                      {"untyped int", constant.MakeInt64(int64(q.O_APPEND))},
   308  			"O_CLOEXEC":                     {"untyped int", constant.MakeInt64(int64(q.O_CLOEXEC))},
   309  			"O_CREAT":                       {"untyped int", constant.MakeInt64(int64(q.O_CREAT))},
   310  			"O_CREATE":                      {"untyped int", constant.MakeInt64(int64(q.O_CREATE))},
   311  			"O_EXCL":                        {"untyped int", constant.MakeInt64(int64(q.O_EXCL))},
   312  			"O_RDONLY":                      {"untyped int", constant.MakeInt64(int64(q.O_RDONLY))},
   313  			"O_RDWR":                        {"untyped int", constant.MakeInt64(int64(q.O_RDWR))},
   314  			"O_SYNC":                        {"untyped int", constant.MakeInt64(int64(q.O_SYNC))},
   315  			"O_TRUNC":                       {"untyped int", constant.MakeInt64(int64(q.O_TRUNC))},
   316  			"O_WRONLY":                      {"untyped int", constant.MakeInt64(int64(q.O_WRONLY))},
   317  			"RIGHT_FDSTAT_SET_FLAGS":        {"untyped int", constant.MakeInt64(int64(q.RIGHT_FDSTAT_SET_FLAGS))},
   318  			"RIGHT_FD_ADVISE":               {"untyped int", constant.MakeInt64(int64(q.RIGHT_FD_ADVISE))},
   319  			"RIGHT_FD_ALLOCATE":             {"untyped int", constant.MakeInt64(int64(q.RIGHT_FD_ALLOCATE))},
   320  			"RIGHT_FD_DATASYNC":             {"untyped int", constant.MakeInt64(int64(q.RIGHT_FD_DATASYNC))},
   321  			"RIGHT_FD_FILESTAT_GET":         {"untyped int", constant.MakeInt64(int64(q.RIGHT_FD_FILESTAT_GET))},
   322  			"RIGHT_FD_FILESTAT_SET_SIZE":    {"untyped int", constant.MakeInt64(int64(q.RIGHT_FD_FILESTAT_SET_SIZE))},
   323  			"RIGHT_FD_FILESTAT_SET_TIMES":   {"untyped int", constant.MakeInt64(int64(q.RIGHT_FD_FILESTAT_SET_TIMES))},
   324  			"RIGHT_FD_READ":                 {"untyped int", constant.MakeInt64(int64(q.RIGHT_FD_READ))},
   325  			"RIGHT_FD_READDIR":              {"untyped int", constant.MakeInt64(int64(q.RIGHT_FD_READDIR))},
   326  			"RIGHT_FD_SEEK":                 {"untyped int", constant.MakeInt64(int64(q.RIGHT_FD_SEEK))},
   327  			"RIGHT_FD_SYNC":                 {"untyped int", constant.MakeInt64(int64(q.RIGHT_FD_SYNC))},
   328  			"RIGHT_FD_TELL":                 {"untyped int", constant.MakeInt64(int64(q.RIGHT_FD_TELL))},
   329  			"RIGHT_FD_WRITE":                {"untyped int", constant.MakeInt64(int64(q.RIGHT_FD_WRITE))},
   330  			"RIGHT_PATH_CREATE_DIRECTORY":   {"untyped int", constant.MakeInt64(int64(q.RIGHT_PATH_CREATE_DIRECTORY))},
   331  			"RIGHT_PATH_CREATE_FILE":        {"untyped int", constant.MakeInt64(int64(q.RIGHT_PATH_CREATE_FILE))},
   332  			"RIGHT_PATH_FILESTAT_GET":       {"untyped int", constant.MakeInt64(int64(q.RIGHT_PATH_FILESTAT_GET))},
   333  			"RIGHT_PATH_FILESTAT_SET_SIZE":  {"untyped int", constant.MakeInt64(int64(q.RIGHT_PATH_FILESTAT_SET_SIZE))},
   334  			"RIGHT_PATH_FILESTAT_SET_TIMES": {"untyped int", constant.MakeInt64(int64(q.RIGHT_PATH_FILESTAT_SET_TIMES))},
   335  			"RIGHT_PATH_LINK_SOURCE":        {"untyped int", constant.MakeInt64(int64(q.RIGHT_PATH_LINK_SOURCE))},
   336  			"RIGHT_PATH_LINK_TARGET":        {"untyped int", constant.MakeInt64(int64(q.RIGHT_PATH_LINK_TARGET))},
   337  			"RIGHT_PATH_OPEN":               {"untyped int", constant.MakeInt64(int64(q.RIGHT_PATH_OPEN))},
   338  			"RIGHT_PATH_READLINK":           {"untyped int", constant.MakeInt64(int64(q.RIGHT_PATH_READLINK))},
   339  			"RIGHT_PATH_REMOVE_DIRECTORY":   {"untyped int", constant.MakeInt64(int64(q.RIGHT_PATH_REMOVE_DIRECTORY))},
   340  			"RIGHT_PATH_RENAME_SOURCE":      {"untyped int", constant.MakeInt64(int64(q.RIGHT_PATH_RENAME_SOURCE))},
   341  			"RIGHT_PATH_RENAME_TARGET":      {"untyped int", constant.MakeInt64(int64(q.RIGHT_PATH_RENAME_TARGET))},
   342  			"RIGHT_PATH_SYMLINK":            {"untyped int", constant.MakeInt64(int64(q.RIGHT_PATH_SYMLINK))},
   343  			"RIGHT_PATH_UNLINK_FILE":        {"untyped int", constant.MakeInt64(int64(q.RIGHT_PATH_UNLINK_FILE))},
   344  			"RIGHT_POLL_FD_READWRITE":       {"untyped int", constant.MakeInt64(int64(q.RIGHT_POLL_FD_READWRITE))},
   345  			"RIGHT_SOCK_ACCEPT":             {"untyped int", constant.MakeInt64(int64(q.RIGHT_SOCK_ACCEPT))},
   346  			"RIGHT_SOCK_SHUTDOWN":           {"untyped int", constant.MakeInt64(int64(q.RIGHT_SOCK_SHUTDOWN))},
   347  			"RLIMIT_NOFILE":                 {"untyped int", constant.MakeInt64(int64(q.RLIMIT_NOFILE))},
   348  			"SHUT_RD":                       {"untyped int", constant.MakeInt64(int64(q.SHUT_RD))},
   349  			"SHUT_RDWR":                     {"untyped int", constant.MakeInt64(int64(q.SHUT_RDWR))},
   350  			"SHUT_WR":                       {"untyped int", constant.MakeInt64(int64(q.SHUT_WR))},
   351  			"SOCK_DGRAM":                    {"untyped int", constant.MakeInt64(int64(q.SOCK_DGRAM))},
   352  			"SOCK_RAW":                      {"untyped int", constant.MakeInt64(int64(q.SOCK_RAW))},
   353  			"SOCK_SEQPACKET":                {"untyped int", constant.MakeInt64(int64(q.SOCK_SEQPACKET))},
   354  			"SOCK_STREAM":                   {"untyped int", constant.MakeInt64(int64(q.SOCK_STREAM))},
   355  			"SOMAXCONN":                     {"untyped int", constant.MakeInt64(int64(q.SOMAXCONN))},
   356  			"SO_ERROR":                      {"untyped int", constant.MakeInt64(int64(q.SO_ERROR))},
   357  			"SYS_FCNTL":                     {"untyped int", constant.MakeInt64(int64(q.SYS_FCNTL))},
   358  			"S_IEXEC":                       {"untyped int", constant.MakeInt64(int64(q.S_IEXEC))},
   359  			"S_IFBLK":                       {"untyped int", constant.MakeInt64(int64(q.S_IFBLK))},
   360  			"S_IFBOUNDSOCK":                 {"untyped int", constant.MakeInt64(int64(q.S_IFBOUNDSOCK))},
   361  			"S_IFCHR":                       {"untyped int", constant.MakeInt64(int64(q.S_IFCHR))},
   362  			"S_IFCOND":                      {"untyped int", constant.MakeInt64(int64(q.S_IFCOND))},
   363  			"S_IFDIR":                       {"untyped int", constant.MakeInt64(int64(q.S_IFDIR))},
   364  			"S_IFDSOCK":                     {"untyped int", constant.MakeInt64(int64(q.S_IFDSOCK))},
   365  			"S_IFIFO":                       {"untyped int", constant.MakeInt64(int64(q.S_IFIFO))},
   366  			"S_IFLNK":                       {"untyped int", constant.MakeInt64(int64(q.S_IFLNK))},
   367  			"S_IFMT":                        {"untyped int", constant.MakeInt64(int64(q.S_IFMT))},
   368  			"S_IFMUTEX":                     {"untyped int", constant.MakeInt64(int64(q.S_IFMUTEX))},
   369  			"S_IFREG":                       {"untyped int", constant.MakeInt64(int64(q.S_IFREG))},
   370  			"S_IFSEMA":                      {"untyped int", constant.MakeInt64(int64(q.S_IFSEMA))},
   371  			"S_IFSHM":                       {"untyped int", constant.MakeInt64(int64(q.S_IFSHM))},
   372  			"S_IFSHM_SYSV":                  {"untyped int", constant.MakeInt64(int64(q.S_IFSHM_SYSV))},
   373  			"S_IFSOCK":                      {"untyped int", constant.MakeInt64(int64(q.S_IFSOCK))},
   374  			"S_IFSOCKADDR":                  {"untyped int", constant.MakeInt64(int64(q.S_IFSOCKADDR))},
   375  			"S_IREAD":                       {"untyped int", constant.MakeInt64(int64(q.S_IREAD))},
   376  			"S_IRGRP":                       {"untyped int", constant.MakeInt64(int64(q.S_IRGRP))},
   377  			"S_IROTH":                       {"untyped int", constant.MakeInt64(int64(q.S_IROTH))},
   378  			"S_IRUSR":                       {"untyped int", constant.MakeInt64(int64(q.S_IRUSR))},
   379  			"S_IRWXG":                       {"untyped int", constant.MakeInt64(int64(q.S_IRWXG))},
   380  			"S_IRWXO":                       {"untyped int", constant.MakeInt64(int64(q.S_IRWXO))},
   381  			"S_IRWXU":                       {"untyped int", constant.MakeInt64(int64(q.S_IRWXU))},
   382  			"S_ISGID":                       {"untyped int", constant.MakeInt64(int64(q.S_ISGID))},
   383  			"S_ISUID":                       {"untyped int", constant.MakeInt64(int64(q.S_ISUID))},
   384  			"S_ISVTX":                       {"untyped int", constant.MakeInt64(int64(q.S_ISVTX))},
   385  			"S_IWGRP":                       {"untyped int", constant.MakeInt64(int64(q.S_IWGRP))},
   386  			"S_IWOTH":                       {"untyped int", constant.MakeInt64(int64(q.S_IWOTH))},
   387  			"S_IWRITE":                      {"untyped int", constant.MakeInt64(int64(q.S_IWRITE))},
   388  			"S_IWUSR":                       {"untyped int", constant.MakeInt64(int64(q.S_IWUSR))},
   389  			"S_IXGRP":                       {"untyped int", constant.MakeInt64(int64(q.S_IXGRP))},
   390  			"S_IXOTH":                       {"untyped int", constant.MakeInt64(int64(q.S_IXOTH))},
   391  			"S_IXUSR":                       {"untyped int", constant.MakeInt64(int64(q.S_IXUSR))},
   392  			"S_UNSUP":                       {"untyped int", constant.MakeInt64(int64(q.S_UNSUP))},
   393  			"Stderr":                        {"untyped int", constant.MakeInt64(int64(q.Stderr))},
   394  			"Stdin":                         {"untyped int", constant.MakeInt64(int64(q.Stdin))},
   395  			"Stdout":                        {"untyped int", constant.MakeInt64(int64(q.Stdout))},
   396  			"WHENCE_CUR":                    {"untyped int", constant.MakeInt64(int64(q.WHENCE_CUR))},
   397  			"WHENCE_END":                    {"untyped int", constant.MakeInt64(int64(q.WHENCE_END))},
   398  			"WHENCE_SET":                    {"untyped int", constant.MakeInt64(int64(q.WHENCE_SET))},
   399  		},
   400  	})
   401  }