github.com/goplus/igop@v0.25.0/pkg/syscall/go121_export_plan9_amd64.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 }, 34 NamedTypes: map[string]reflect.Type{ 35 "Dir": reflect.TypeOf((*q.Dir)(nil)).Elem(), 36 "ErrorString": reflect.TypeOf((*q.ErrorString)(nil)).Elem(), 37 "Note": reflect.TypeOf((*q.Note)(nil)).Elem(), 38 "ProcAttr": reflect.TypeOf((*q.ProcAttr)(nil)).Elem(), 39 "Qid": reflect.TypeOf((*q.Qid)(nil)).Elem(), 40 "SysProcAttr": reflect.TypeOf((*q.SysProcAttr)(nil)).Elem(), 41 "Timespec": reflect.TypeOf((*q.Timespec)(nil)).Elem(), 42 "Timeval": reflect.TypeOf((*q.Timeval)(nil)).Elem(), 43 "Waitmsg": reflect.TypeOf((*q.Waitmsg)(nil)).Elem(), 44 }, 45 AliasTypes: map[string]reflect.Type{}, 46 Vars: map[string]reflect.Value{ 47 "EACCES": reflect.ValueOf(&q.EACCES), 48 "EAFNOSUPPORT": reflect.ValueOf(&q.EAFNOSUPPORT), 49 "EBUSY": reflect.ValueOf(&q.EBUSY), 50 "EEXIST": reflect.ValueOf(&q.EEXIST), 51 "EINTR": reflect.ValueOf(&q.EINTR), 52 "EINVAL": reflect.ValueOf(&q.EINVAL), 53 "EIO": reflect.ValueOf(&q.EIO), 54 "EISDIR": reflect.ValueOf(&q.EISDIR), 55 "EMFILE": reflect.ValueOf(&q.EMFILE), 56 "ENAMETOOLONG": reflect.ValueOf(&q.ENAMETOOLONG), 57 "ENOENT": reflect.ValueOf(&q.ENOENT), 58 "ENOTDIR": reflect.ValueOf(&q.ENOTDIR), 59 "EPERM": reflect.ValueOf(&q.EPERM), 60 "EPLAN9": reflect.ValueOf(&q.EPLAN9), 61 "ESPIPE": reflect.ValueOf(&q.ESPIPE), 62 "ETIMEDOUT": reflect.ValueOf(&q.ETIMEDOUT), 63 "ErrBadName": reflect.ValueOf(&q.ErrBadName), 64 "ErrBadStat": reflect.ValueOf(&q.ErrBadStat), 65 "ErrShortStat": reflect.ValueOf(&q.ErrShortStat), 66 "ForkLock": reflect.ValueOf(&q.ForkLock), 67 "SocketDisableIPv6": reflect.ValueOf(&q.SocketDisableIPv6), 68 "Stderr": reflect.ValueOf(&q.Stderr), 69 "Stdin": reflect.ValueOf(&q.Stdin), 70 "Stdout": reflect.ValueOf(&q.Stdout), 71 }, 72 Funcs: map[string]reflect.Value{ 73 "Await": reflect.ValueOf(q.Await), 74 "Bind": reflect.ValueOf(q.Bind), 75 "BytePtrFromString": reflect.ValueOf(q.BytePtrFromString), 76 "ByteSliceFromString": reflect.ValueOf(q.ByteSliceFromString), 77 "Chdir": reflect.ValueOf(q.Chdir), 78 "Clearenv": reflect.ValueOf(q.Clearenv), 79 "Close": reflect.ValueOf(q.Close), 80 "Create": reflect.ValueOf(q.Create), 81 "Dup": reflect.ValueOf(q.Dup), 82 "Environ": reflect.ValueOf(q.Environ), 83 "Exec": reflect.ValueOf(q.Exec), 84 "Exit": reflect.ValueOf(q.Exit), 85 "Fchdir": reflect.ValueOf(q.Fchdir), 86 "Fd2path": reflect.ValueOf(q.Fd2path), 87 "Fixwd": reflect.ValueOf(q.Fixwd), 88 "ForkExec": reflect.ValueOf(q.ForkExec), 89 "Fstat": reflect.ValueOf(q.Fstat), 90 "Fwstat": reflect.ValueOf(q.Fwstat), 91 "Getegid": reflect.ValueOf(q.Getegid), 92 "Getenv": reflect.ValueOf(q.Getenv), 93 "Geteuid": reflect.ValueOf(q.Geteuid), 94 "Getgid": reflect.ValueOf(q.Getgid), 95 "Getgroups": reflect.ValueOf(q.Getgroups), 96 "Getpagesize": reflect.ValueOf(q.Getpagesize), 97 "Getpid": reflect.ValueOf(q.Getpid), 98 "Getppid": reflect.ValueOf(q.Getppid), 99 "Gettimeofday": reflect.ValueOf(q.Gettimeofday), 100 "Getuid": reflect.ValueOf(q.Getuid), 101 "Getwd": reflect.ValueOf(q.Getwd), 102 "Mkdir": reflect.ValueOf(q.Mkdir), 103 "Mount": reflect.ValueOf(q.Mount), 104 "NewError": reflect.ValueOf(q.NewError), 105 "NsecToTimeval": reflect.ValueOf(q.NsecToTimeval), 106 "Open": reflect.ValueOf(q.Open), 107 "Pipe": reflect.ValueOf(q.Pipe), 108 "Pread": reflect.ValueOf(q.Pread), 109 "Pwrite": reflect.ValueOf(q.Pwrite), 110 "RawSyscall": reflect.ValueOf(q.RawSyscall), 111 "RawSyscall6": reflect.ValueOf(q.RawSyscall6), 112 "Read": reflect.ValueOf(q.Read), 113 "Remove": reflect.ValueOf(q.Remove), 114 "Seek": reflect.ValueOf(q.Seek), 115 "Setenv": reflect.ValueOf(q.Setenv), 116 "SlicePtrFromStrings": reflect.ValueOf(q.SlicePtrFromStrings), 117 "StartProcess": reflect.ValueOf(q.StartProcess), 118 "Stat": reflect.ValueOf(q.Stat), 119 "StringBytePtr": reflect.ValueOf(q.StringBytePtr), 120 "StringByteSlice": reflect.ValueOf(q.StringByteSlice), 121 "StringSlicePtr": reflect.ValueOf(q.StringSlicePtr), 122 "Syscall": reflect.ValueOf(q.Syscall), 123 "Syscall6": reflect.ValueOf(q.Syscall6), 124 "UnmarshalDir": reflect.ValueOf(q.UnmarshalDir), 125 "Unmount": reflect.ValueOf(q.Unmount), 126 "Unsetenv": reflect.ValueOf(q.Unsetenv), 127 "WaitProcess": reflect.ValueOf(q.WaitProcess), 128 "Write": reflect.ValueOf(q.Write), 129 "Wstat": reflect.ValueOf(q.Wstat), 130 }, 131 TypedConsts: map[string]igop.TypedConst{ 132 "SIGABRT": {reflect.TypeOf(q.SIGABRT), constant.MakeString(string(q.SIGABRT))}, 133 "SIGALRM": {reflect.TypeOf(q.SIGALRM), constant.MakeString(string(q.SIGALRM))}, 134 "SIGHUP": {reflect.TypeOf(q.SIGHUP), constant.MakeString(string(q.SIGHUP))}, 135 "SIGINT": {reflect.TypeOf(q.SIGINT), constant.MakeString(string(q.SIGINT))}, 136 "SIGKILL": {reflect.TypeOf(q.SIGKILL), constant.MakeString(string(q.SIGKILL))}, 137 "SIGTERM": {reflect.TypeOf(q.SIGTERM), constant.MakeString(string(q.SIGTERM))}, 138 }, 139 UntypedConsts: map[string]igop.UntypedConst{ 140 "DMAPPEND": {"untyped int", constant.MakeInt64(int64(q.DMAPPEND))}, 141 "DMAUTH": {"untyped int", constant.MakeInt64(int64(q.DMAUTH))}, 142 "DMDIR": {"untyped int", constant.MakeInt64(int64(q.DMDIR))}, 143 "DMEXCL": {"untyped int", constant.MakeInt64(int64(q.DMEXCL))}, 144 "DMEXEC": {"untyped int", constant.MakeInt64(int64(q.DMEXEC))}, 145 "DMMOUNT": {"untyped int", constant.MakeInt64(int64(q.DMMOUNT))}, 146 "DMREAD": {"untyped int", constant.MakeInt64(int64(q.DMREAD))}, 147 "DMTMP": {"untyped int", constant.MakeInt64(int64(q.DMTMP))}, 148 "DMWRITE": {"untyped int", constant.MakeInt64(int64(q.DMWRITE))}, 149 "ERRMAX": {"untyped int", constant.MakeInt64(int64(q.ERRMAX))}, 150 "ImplementsGetwd": {"untyped bool", constant.MakeBool(bool(q.ImplementsGetwd))}, 151 "MAFTER": {"untyped int", constant.MakeInt64(int64(q.MAFTER))}, 152 "MBEFORE": {"untyped int", constant.MakeInt64(int64(q.MBEFORE))}, 153 "MCACHE": {"untyped int", constant.MakeInt64(int64(q.MCACHE))}, 154 "MCREATE": {"untyped int", constant.MakeInt64(int64(q.MCREATE))}, 155 "MMASK": {"untyped int", constant.MakeInt64(int64(q.MMASK))}, 156 "MORDER": {"untyped int", constant.MakeInt64(int64(q.MORDER))}, 157 "MREPL": {"untyped int", constant.MakeInt64(int64(q.MREPL))}, 158 "O_APPEND": {"untyped int", constant.MakeInt64(int64(q.O_APPEND))}, 159 "O_ASYNC": {"untyped int", constant.MakeInt64(int64(q.O_ASYNC))}, 160 "O_CLOEXEC": {"untyped int", constant.MakeInt64(int64(q.O_CLOEXEC))}, 161 "O_CREAT": {"untyped int", constant.MakeInt64(int64(q.O_CREAT))}, 162 "O_EXCL": {"untyped int", constant.MakeInt64(int64(q.O_EXCL))}, 163 "O_NOCTTY": {"untyped int", constant.MakeInt64(int64(q.O_NOCTTY))}, 164 "O_NONBLOCK": {"untyped int", constant.MakeInt64(int64(q.O_NONBLOCK))}, 165 "O_RDONLY": {"untyped int", constant.MakeInt64(int64(q.O_RDONLY))}, 166 "O_RDWR": {"untyped int", constant.MakeInt64(int64(q.O_RDWR))}, 167 "O_SYNC": {"untyped int", constant.MakeInt64(int64(q.O_SYNC))}, 168 "O_TRUNC": {"untyped int", constant.MakeInt64(int64(q.O_TRUNC))}, 169 "O_WRONLY": {"untyped int", constant.MakeInt64(int64(q.O_WRONLY))}, 170 "QTAPPEND": {"untyped int", constant.MakeInt64(int64(q.QTAPPEND))}, 171 "QTAUTH": {"untyped int", constant.MakeInt64(int64(q.QTAUTH))}, 172 "QTDIR": {"untyped int", constant.MakeInt64(int64(q.QTDIR))}, 173 "QTEXCL": {"untyped int", constant.MakeInt64(int64(q.QTEXCL))}, 174 "QTFILE": {"untyped int", constant.MakeInt64(int64(q.QTFILE))}, 175 "QTMOUNT": {"untyped int", constant.MakeInt64(int64(q.QTMOUNT))}, 176 "QTTMP": {"untyped int", constant.MakeInt64(int64(q.QTTMP))}, 177 "RFCENVG": {"untyped int", constant.MakeInt64(int64(q.RFCENVG))}, 178 "RFCFDG": {"untyped int", constant.MakeInt64(int64(q.RFCFDG))}, 179 "RFCNAMEG": {"untyped int", constant.MakeInt64(int64(q.RFCNAMEG))}, 180 "RFENVG": {"untyped int", constant.MakeInt64(int64(q.RFENVG))}, 181 "RFFDG": {"untyped int", constant.MakeInt64(int64(q.RFFDG))}, 182 "RFMEM": {"untyped int", constant.MakeInt64(int64(q.RFMEM))}, 183 "RFNAMEG": {"untyped int", constant.MakeInt64(int64(q.RFNAMEG))}, 184 "RFNOMNT": {"untyped int", constant.MakeInt64(int64(q.RFNOMNT))}, 185 "RFNOTEG": {"untyped int", constant.MakeInt64(int64(q.RFNOTEG))}, 186 "RFNOWAIT": {"untyped int", constant.MakeInt64(int64(q.RFNOWAIT))}, 187 "RFPROC": {"untyped int", constant.MakeInt64(int64(q.RFPROC))}, 188 "RFREND": {"untyped int", constant.MakeInt64(int64(q.RFREND))}, 189 "STATFIXLEN": {"untyped int", constant.MakeInt64(int64(q.STATFIXLEN))}, 190 "STATMAX": {"untyped int", constant.MakeInt64(int64(q.STATMAX))}, 191 "SYS_ALARM": {"untyped int", constant.MakeInt64(int64(q.SYS_ALARM))}, 192 "SYS_AWAIT": {"untyped int", constant.MakeInt64(int64(q.SYS_AWAIT))}, 193 "SYS_BIND": {"untyped int", constant.MakeInt64(int64(q.SYS_BIND))}, 194 "SYS_BRK_": {"untyped int", constant.MakeInt64(int64(q.SYS_BRK_))}, 195 "SYS_CHDIR": {"untyped int", constant.MakeInt64(int64(q.SYS_CHDIR))}, 196 "SYS_CLOSE": {"untyped int", constant.MakeInt64(int64(q.SYS_CLOSE))}, 197 "SYS_CREATE": {"untyped int", constant.MakeInt64(int64(q.SYS_CREATE))}, 198 "SYS_DUP": {"untyped int", constant.MakeInt64(int64(q.SYS_DUP))}, 199 "SYS_ERRSTR": {"untyped int", constant.MakeInt64(int64(q.SYS_ERRSTR))}, 200 "SYS_EXEC": {"untyped int", constant.MakeInt64(int64(q.SYS_EXEC))}, 201 "SYS_EXITS": {"untyped int", constant.MakeInt64(int64(q.SYS_EXITS))}, 202 "SYS_FAUTH": {"untyped int", constant.MakeInt64(int64(q.SYS_FAUTH))}, 203 "SYS_FD2PATH": {"untyped int", constant.MakeInt64(int64(q.SYS_FD2PATH))}, 204 "SYS_FSTAT": {"untyped int", constant.MakeInt64(int64(q.SYS_FSTAT))}, 205 "SYS_FVERSION": {"untyped int", constant.MakeInt64(int64(q.SYS_FVERSION))}, 206 "SYS_FWSTAT": {"untyped int", constant.MakeInt64(int64(q.SYS_FWSTAT))}, 207 "SYS_MOUNT": {"untyped int", constant.MakeInt64(int64(q.SYS_MOUNT))}, 208 "SYS_NOTED": {"untyped int", constant.MakeInt64(int64(q.SYS_NOTED))}, 209 "SYS_NOTIFY": {"untyped int", constant.MakeInt64(int64(q.SYS_NOTIFY))}, 210 "SYS_NSEC": {"untyped int", constant.MakeInt64(int64(q.SYS_NSEC))}, 211 "SYS_OPEN": {"untyped int", constant.MakeInt64(int64(q.SYS_OPEN))}, 212 "SYS_OSEEK": {"untyped int", constant.MakeInt64(int64(q.SYS_OSEEK))}, 213 "SYS_PIPE": {"untyped int", constant.MakeInt64(int64(q.SYS_PIPE))}, 214 "SYS_PREAD": {"untyped int", constant.MakeInt64(int64(q.SYS_PREAD))}, 215 "SYS_PWRITE": {"untyped int", constant.MakeInt64(int64(q.SYS_PWRITE))}, 216 "SYS_REMOVE": {"untyped int", constant.MakeInt64(int64(q.SYS_REMOVE))}, 217 "SYS_RENDEZVOUS": {"untyped int", constant.MakeInt64(int64(q.SYS_RENDEZVOUS))}, 218 "SYS_RFORK": {"untyped int", constant.MakeInt64(int64(q.SYS_RFORK))}, 219 "SYS_SEEK": {"untyped int", constant.MakeInt64(int64(q.SYS_SEEK))}, 220 "SYS_SEGATTACH": {"untyped int", constant.MakeInt64(int64(q.SYS_SEGATTACH))}, 221 "SYS_SEGBRK": {"untyped int", constant.MakeInt64(int64(q.SYS_SEGBRK))}, 222 "SYS_SEGDETACH": {"untyped int", constant.MakeInt64(int64(q.SYS_SEGDETACH))}, 223 "SYS_SEGFLUSH": {"untyped int", constant.MakeInt64(int64(q.SYS_SEGFLUSH))}, 224 "SYS_SEGFREE": {"untyped int", constant.MakeInt64(int64(q.SYS_SEGFREE))}, 225 "SYS_SEMACQUIRE": {"untyped int", constant.MakeInt64(int64(q.SYS_SEMACQUIRE))}, 226 "SYS_SEMRELEASE": {"untyped int", constant.MakeInt64(int64(q.SYS_SEMRELEASE))}, 227 "SYS_SLEEP": {"untyped int", constant.MakeInt64(int64(q.SYS_SLEEP))}, 228 "SYS_STAT": {"untyped int", constant.MakeInt64(int64(q.SYS_STAT))}, 229 "SYS_SYSR1": {"untyped int", constant.MakeInt64(int64(q.SYS_SYSR1))}, 230 "SYS_TSEMACQUIRE": {"untyped int", constant.MakeInt64(int64(q.SYS_TSEMACQUIRE))}, 231 "SYS_UNMOUNT": {"untyped int", constant.MakeInt64(int64(q.SYS_UNMOUNT))}, 232 "SYS_WSTAT": {"untyped int", constant.MakeInt64(int64(q.SYS_WSTAT))}, 233 "S_IFBLK": {"untyped int", constant.MakeInt64(int64(q.S_IFBLK))}, 234 "S_IFCHR": {"untyped int", constant.MakeInt64(int64(q.S_IFCHR))}, 235 "S_IFDIR": {"untyped int", constant.MakeInt64(int64(q.S_IFDIR))}, 236 "S_IFIFO": {"untyped int", constant.MakeInt64(int64(q.S_IFIFO))}, 237 "S_IFLNK": {"untyped int", constant.MakeInt64(int64(q.S_IFLNK))}, 238 "S_IFMT": {"untyped int", constant.MakeInt64(int64(q.S_IFMT))}, 239 "S_IFREG": {"untyped int", constant.MakeInt64(int64(q.S_IFREG))}, 240 "S_IFSOCK": {"untyped int", constant.MakeInt64(int64(q.S_IFSOCK))}, 241 }, 242 }) 243 }