Source file src/cmd/vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go
1 // go run mksysnum.go http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/kern/syscalls.master 2 // Code generated by the command above; see README.md. DO NOT EDIT. 3 4 //go:build 386 && netbsd 5 6 package unix 7 8 const ( 9 SYS_EXIT = 1 // { void|sys||exit(int rval); } 10 SYS_FORK = 2 // { int|sys||fork(void); } 11 SYS_READ = 3 // { ssize_t|sys||read(int fd, void *buf, size_t nbyte); } 12 SYS_WRITE = 4 // { ssize_t|sys||write(int fd, const void *buf, size_t nbyte); } 13 SYS_OPEN = 5 // { int|sys||open(const char *path, int flags, ... mode_t mode); } 14 SYS_CLOSE = 6 // { int|sys||close(int fd); } 15 SYS_LINK = 9 // { int|sys||link(const char *path, const char *link); } 16 SYS_UNLINK = 10 // { int|sys||unlink(const char *path); } 17 SYS_CHDIR = 12 // { int|sys||chdir(const char *path); } 18 SYS_FCHDIR = 13 // { int|sys||fchdir(int fd); } 19 SYS_CHMOD = 15 // { int|sys||chmod(const char *path, mode_t mode); } 20 SYS_CHOWN = 16 // { int|sys||chown(const char *path, uid_t uid, gid_t gid); } 21 SYS_BREAK = 17 // { int|sys||obreak(char *nsize); } 22 SYS_GETPID = 20 // { pid_t|sys||getpid_with_ppid(void); } 23 SYS_UNMOUNT = 22 // { int|sys||unmount(const char *path, int flags); } 24 SYS_SETUID = 23 // { int|sys||setuid(uid_t uid); } 25 SYS_GETUID = 24 // { uid_t|sys||getuid_with_euid(void); } 26 SYS_GETEUID = 25 // { uid_t|sys||geteuid(void); } 27 SYS_PTRACE = 26 // { int|sys||ptrace(int req, pid_t pid, void *addr, int data); } 28 SYS_RECVMSG = 27 // { ssize_t|sys||recvmsg(int s, struct msghdr *msg, int flags); } 29 SYS_SENDMSG = 28 // { ssize_t|sys||sendmsg(int s, const struct msghdr *msg, int flags); } 30 SYS_RECVFROM = 29 // { ssize_t|sys||recvfrom(int s, void *buf, size_t len, int flags, struct sockaddr *from, socklen_t *fromlenaddr); } 31 SYS_ACCEPT = 30 // { int|sys||accept(int s, struct sockaddr *name, socklen_t *anamelen); } 32 SYS_GETPEERNAME = 31 // { int|sys||getpeername(int fdes, struct sockaddr *asa, socklen_t *alen); } 33 SYS_GETSOCKNAME = 32 // { int|sys||getsockname(int fdes, struct sockaddr *asa, socklen_t *alen); } 34 SYS_ACCESS = 33 // { int|sys||access(const char *path, int flags); } 35 SYS_CHFLAGS = 34 // { int|sys||chflags(const char *path, u_long flags); } 36 SYS_FCHFLAGS = 35 // { int|sys||fchflags(int fd, u_long flags); } 37 SYS_SYNC = 36 // { void|sys||sync(void); } 38 SYS_KILL = 37 // { int|sys||kill(pid_t pid, int signum); } 39 SYS_GETPPID = 39 // { pid_t|sys||getppid(void); } 40 SYS_DUP = 41 // { int|sys||dup(int fd); } 41 SYS_PIPE = 42 // { int|sys||pipe(void); } 42 SYS_GETEGID = 43 // { gid_t|sys||getegid(void); } 43 SYS_PROFIL = 44 // { int|sys||profil(char *samples, size_t size, u_long offset, u_int scale); } 44 SYS_KTRACE = 45 // { int|sys||ktrace(const char *fname, int ops, int facs, pid_t pid); } 45 SYS_GETGID = 47 // { gid_t|sys||getgid_with_egid(void); } 46 SYS___GETLOGIN = 49 // { int|sys||__getlogin(char *namebuf, size_t namelen); } 47 SYS___SETLOGIN = 50 // { int|sys||__setlogin(const char *namebuf); } 48 SYS_ACCT = 51 // { int|sys||acct(const char *path); } 49 SYS_IOCTL = 54 // { int|sys||ioctl(int fd, u_long com, ... void *data); } 50 SYS_REVOKE = 56 // { int|sys||revoke(const char *path); } 51 SYS_SYMLINK = 57 // { int|sys||symlink(const char *path, const char *link); } 52 SYS_READLINK = 58 // { ssize_t|sys||readlink(const char *path, char *buf, size_t count); } 53 SYS_EXECVE = 59 // { int|sys||execve(const char *path, char * const *argp, char * const *envp); } 54 SYS_UMASK = 60 // { mode_t|sys||umask(mode_t newmask); } 55 SYS_CHROOT = 61 // { int|sys||chroot(const char *path); } 56 SYS_VFORK = 66 // { int|sys||vfork(void); } 57 SYS_SBRK = 69 // { int|sys||sbrk(intptr_t incr); } 58 SYS_SSTK = 70 // { int|sys||sstk(int incr); } 59 SYS_VADVISE = 72 // { int|sys||ovadvise(int anom); } 60 SYS_MUNMAP = 73 // { int|sys||munmap(void *addr, size_t len); } 61 SYS_MPROTECT = 74 // { int|sys||mprotect(void *addr, size_t len, int prot); } 62 SYS_MADVISE = 75 // { int|sys||madvise(void *addr, size_t len, int behav); } 63 SYS_MINCORE = 78 // { int|sys||mincore(void *addr, size_t len, char *vec); } 64 SYS_GETGROUPS = 79 // { int|sys||getgroups(int gidsetsize, gid_t *gidset); } 65 SYS_SETGROUPS = 80 // { int|sys||setgroups(int gidsetsize, const gid_t *gidset); } 66 SYS_GETPGRP = 81 // { int|sys||getpgrp(void); } 67 SYS_SETPGID = 82 // { int|sys||setpgid(pid_t pid, pid_t pgid); } 68 SYS_DUP2 = 90 // { int|sys||dup2(int from, int to); } 69 SYS_FCNTL = 92 // { int|sys||fcntl(int fd, int cmd, ... void *arg); } 70 SYS_FSYNC = 95 // { int|sys||fsync(int fd); } 71 SYS_SETPRIORITY = 96 // { int|sys||setpriority(int which, id_t who, int prio); } 72 SYS_CONNECT = 98 // { int|sys||connect(int s, const struct sockaddr *name, socklen_t namelen); } 73 SYS_GETPRIORITY = 100 // { int|sys||getpriority(int which, id_t who); } 74 SYS_BIND = 104 // { int|sys||bind(int s, const struct sockaddr *name, socklen_t namelen); } 75 SYS_SETSOCKOPT = 105 // { int|sys||setsockopt(int s, int level, int name, const void *val, socklen_t valsize); } 76 SYS_LISTEN = 106 // { int|sys||listen(int s, int backlog); } 77 SYS_GETSOCKOPT = 118 // { int|sys||getsockopt(int s, int level, int name, void *val, socklen_t *avalsize); } 78 SYS_READV = 120 // { ssize_t|sys||readv(int fd, const struct iovec *iovp, int iovcnt); } 79 SYS_WRITEV = 121 // { ssize_t|sys||writev(int fd, const struct iovec *iovp, int iovcnt); } 80 SYS_FCHOWN = 123 // { int|sys||fchown(int fd, uid_t uid, gid_t gid); } 81 SYS_FCHMOD = 124 // { int|sys||fchmod(int fd, mode_t mode); } 82 SYS_SETREUID = 126 // { int|sys||setreuid(uid_t ruid, uid_t euid); } 83 SYS_SETREGID = 127 // { int|sys||setregid(gid_t rgid, gid_t egid); } 84 SYS_RENAME = 128 // { int|sys||rename(const char *from, const char *to); } 85 SYS_FLOCK = 131 // { int|sys||flock(int fd, int how); } 86 SYS_MKFIFO = 132 // { int|sys||mkfifo(const char *path, mode_t mode); } 87 SYS_SENDTO = 133 // { ssize_t|sys||sendto(int s, const void *buf, size_t len, int flags, const struct sockaddr *to, socklen_t tolen); } 88 SYS_SHUTDOWN = 134 // { int|sys||shutdown(int s, int how); } 89 SYS_SOCKETPAIR = 135 // { int|sys||socketpair(int domain, int type, int protocol, int *rsv); } 90 SYS_MKDIR = 136 // { int|sys||mkdir(const char *path, mode_t mode); } 91 SYS_RMDIR = 137 // { int|sys||rmdir(const char *path); } 92 SYS_SETSID = 147 // { int|sys||setsid(void); } 93 SYS_SYSARCH = 165 // { int|sys||sysarch(int op, void *parms); } 94 SYS_PREAD = 173 // { ssize_t|sys||pread(int fd, void *buf, size_t nbyte, int PAD, off_t offset); } 95 SYS_PWRITE = 174 // { ssize_t|sys||pwrite(int fd, const void *buf, size_t nbyte, int PAD, off_t offset); } 96 SYS_NTP_ADJTIME = 176 // { int|sys||ntp_adjtime(struct timex *tp); } 97 SYS_SETGID = 181 // { int|sys||setgid(gid_t gid); } 98 SYS_SETEGID = 182 // { int|sys||setegid(gid_t egid); } 99 SYS_SETEUID = 183 // { int|sys||seteuid(uid_t euid); } 100 SYS_PATHCONF = 191 // { long|sys||pathconf(const char *path, int name); } 101 SYS_FPATHCONF = 192 // { long|sys||fpathconf(int fd, int name); } 102 SYS_GETRLIMIT = 194 // { int|sys||getrlimit(int which, struct rlimit *rlp); } 103 SYS_SETRLIMIT = 195 // { int|sys||setrlimit(int which, const struct rlimit *rlp); } 104 SYS_MMAP = 197 // { void *|sys||mmap(void *addr, size_t len, int prot, int flags, int fd, long PAD, off_t pos); } 105 SYS_LSEEK = 199 // { off_t|sys||lseek(int fd, int PAD, off_t offset, int whence); } 106 SYS_TRUNCATE = 200 // { int|sys||truncate(const char *path, int PAD, off_t length); } 107 SYS_FTRUNCATE = 201 // { int|sys||ftruncate(int fd, int PAD, off_t length); } 108 SYS___SYSCTL = 202 // { int|sys||__sysctl(const int *name, u_int namelen, void *old, size_t *oldlenp, const void *new, size_t newlen); } 109 SYS_MLOCK = 203 // { int|sys||mlock(const void *addr, size_t len); } 110 SYS_MUNLOCK = 204 // { int|sys||munlock(const void *addr, size_t len); } 111 SYS_UNDELETE = 205 // { int|sys||undelete(const char *path); } 112 SYS_GETPGID = 207 // { pid_t|sys||getpgid(pid_t pid); } 113 SYS_REBOOT = 208 // { int|sys||reboot(int opt, char *bootstr); } 114 SYS_POLL = 209 // { int|sys||poll(struct pollfd *fds, u_int nfds, int timeout); } 115 SYS_SEMGET = 221 // { int|sys||semget(key_t key, int nsems, int semflg); } 116 SYS_SEMOP = 222 // { int|sys||semop(int semid, struct sembuf *sops, size_t nsops); } 117 SYS_SEMCONFIG = 223 // { int|sys||semconfig(int flag); } 118 SYS_MSGGET = 225 // { int|sys||msgget(key_t key, int msgflg); } 119 SYS_MSGSND = 226 // { int|sys||msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); } 120 SYS_MSGRCV = 227 // { ssize_t|sys||msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); } 121 SYS_SHMAT = 228 // { void *|sys||shmat(int shmid, const void *shmaddr, int shmflg); } 122 SYS_SHMDT = 230 // { int|sys||shmdt(const void *shmaddr); } 123 SYS_SHMGET = 231 // { int|sys||shmget(key_t key, size_t size, int shmflg); } 124 SYS_TIMER_CREATE = 235 // { int|sys||timer_create(clockid_t clock_id, struct sigevent *evp, timer_t *timerid); } 125 SYS_TIMER_DELETE = 236 // { int|sys||timer_delete(timer_t timerid); } 126 SYS_TIMER_GETOVERRUN = 239 // { int|sys||timer_getoverrun(timer_t timerid); } 127 SYS_FDATASYNC = 241 // { int|sys||fdatasync(int fd); } 128 SYS_MLOCKALL = 242 // { int|sys||mlockall(int flags); } 129 SYS_MUNLOCKALL = 243 // { int|sys||munlockall(void); } 130 SYS_SIGQUEUEINFO = 245 // { int|sys||sigqueueinfo(pid_t pid, const siginfo_t *info); } 131 SYS_MODCTL = 246 // { int|sys||modctl(int cmd, void *arg); } 132 SYS___POSIX_RENAME = 270 // { int|sys||__posix_rename(const char *from, const char *to); } 133 SYS_SWAPCTL = 271 // { int|sys||swapctl(int cmd, void *arg, int misc); } 134 SYS_MINHERIT = 273 // { int|sys||minherit(void *addr, size_t len, int inherit); } 135 SYS_LCHMOD = 274 // { int|sys||lchmod(const char *path, mode_t mode); } 136 SYS_LCHOWN = 275 // { int|sys||lchown(const char *path, uid_t uid, gid_t gid); } 137 SYS_MSYNC = 277 // { int|sys|13|msync(void *addr, size_t len, int flags); } 138 SYS___POSIX_CHOWN = 283 // { int|sys||__posix_chown(const char *path, uid_t uid, gid_t gid); } 139 SYS___POSIX_FCHOWN = 284 // { int|sys||__posix_fchown(int fd, uid_t uid, gid_t gid); } 140 SYS___POSIX_LCHOWN = 285 // { int|sys||__posix_lchown(const char *path, uid_t uid, gid_t gid); } 141 SYS_GETSID = 286 // { pid_t|sys||getsid(pid_t pid); } 142 SYS___CLONE = 287 // { pid_t|sys||__clone(int flags, void *stack); } 143 SYS_FKTRACE = 288 // { int|sys||fktrace(int fd, int ops, int facs, pid_t pid); } 144 SYS_PREADV = 289 // { ssize_t|sys||preadv(int fd, const struct iovec *iovp, int iovcnt, int PAD, off_t offset); } 145 SYS_PWRITEV = 290 // { ssize_t|sys||pwritev(int fd, const struct iovec *iovp, int iovcnt, int PAD, off_t offset); } 146 SYS___GETCWD = 296 // { int|sys||__getcwd(char *bufp, size_t length); } 147 SYS_FCHROOT = 297 // { int|sys||fchroot(int fd); } 148 SYS_LCHFLAGS = 304 // { int|sys||lchflags(const char *path, u_long flags); } 149 SYS_ISSETUGID = 305 // { int|sys||issetugid(void); } 150 SYS_UTRACE = 306 // { int|sys||utrace(const char *label, void *addr, size_t len); } 151 SYS_GETCONTEXT = 307 // { int|sys||getcontext(struct __ucontext *ucp); } 152 SYS_SETCONTEXT = 308 // { int|sys||setcontext(const struct __ucontext *ucp); } 153 SYS__LWP_CREATE = 309 // { int|sys||_lwp_create(const struct __ucontext *ucp, u_long flags, lwpid_t *new_lwp); } 154 SYS__LWP_EXIT = 310 // { int|sys||_lwp_exit(void); } 155 SYS__LWP_SELF = 311 // { lwpid_t|sys||_lwp_self(void); } 156 SYS__LWP_WAIT = 312 // { int|sys||_lwp_wait(lwpid_t wait_for, lwpid_t *departed); } 157 SYS__LWP_SUSPEND = 313 // { int|sys||_lwp_suspend(lwpid_t target); } 158 SYS__LWP_CONTINUE = 314 // { int|sys||_lwp_continue(lwpid_t target); } 159 SYS__LWP_WAKEUP = 315 // { int|sys||_lwp_wakeup(lwpid_t target); } 160 SYS__LWP_GETPRIVATE = 316 // { void *|sys||_lwp_getprivate(void); } 161 SYS__LWP_SETPRIVATE = 317 // { void|sys||_lwp_setprivate(void *ptr); } 162 SYS__LWP_KILL = 318 // { int|sys||_lwp_kill(lwpid_t target, int signo); } 163 SYS__LWP_DETACH = 319 // { int|sys||_lwp_detach(lwpid_t target); } 164 SYS__LWP_UNPARK = 321 // { int|sys||_lwp_unpark(lwpid_t target, const void *hint); } 165 SYS__LWP_UNPARK_ALL = 322 // { ssize_t|sys||_lwp_unpark_all(const lwpid_t *targets, size_t ntargets, const void *hint); } 166 SYS__LWP_SETNAME = 323 // { int|sys||_lwp_setname(lwpid_t target, const char *name); } 167 SYS__LWP_GETNAME = 324 // { int|sys||_lwp_getname(lwpid_t target, char *name, size_t len); } 168 SYS__LWP_CTL = 325 // { int|sys||_lwp_ctl(int features, struct lwpctl **address); } 169 SYS___SIGACTION_SIGTRAMP = 340 // { int|sys||__sigaction_sigtramp(int signum, const struct sigaction *nsa, struct sigaction *osa, const void *tramp, int vers); } 170 SYS_PMC_GET_INFO = 341 // { int|sys||pmc_get_info(int ctr, int op, void *args); } 171 SYS_PMC_CONTROL = 342 // { int|sys||pmc_control(int ctr, int op, void *args); } 172 SYS_RASCTL = 343 // { int|sys||rasctl(void *addr, size_t len, int op); } 173 SYS_KQUEUE = 344 // { int|sys||kqueue(void); } 174 SYS__SCHED_SETPARAM = 346 // { int|sys||_sched_setparam(pid_t pid, lwpid_t lid, int policy, const struct sched_param *params); } 175 SYS__SCHED_GETPARAM = 347 // { int|sys||_sched_getparam(pid_t pid, lwpid_t lid, int *policy, struct sched_param *params); } 176 SYS__SCHED_SETAFFINITY = 348 // { int|sys||_sched_setaffinity(pid_t pid, lwpid_t lid, size_t size, const cpuset_t *cpuset); } 177 SYS__SCHED_GETAFFINITY = 349 // { int|sys||_sched_getaffinity(pid_t pid, lwpid_t lid, size_t size, cpuset_t *cpuset); } 178 SYS_SCHED_YIELD = 350 // { int|sys||sched_yield(void); } 179 SYS_FSYNC_RANGE = 354 // { int|sys||fsync_range(int fd, int flags, off_t start, off_t length); } 180 SYS_UUIDGEN = 355 // { int|sys||uuidgen(struct uuid *store, int count); } 181 SYS_GETVFSSTAT = 356 // { int|sys||getvfsstat(struct statvfs *buf, size_t bufsize, int flags); } 182 SYS_STATVFS1 = 357 // { int|sys||statvfs1(const char *path, struct statvfs *buf, int flags); } 183 SYS_FSTATVFS1 = 358 // { int|sys||fstatvfs1(int fd, struct statvfs *buf, int flags); } 184 SYS_EXTATTRCTL = 360 // { int|sys||extattrctl(const char *path, int cmd, const char *filename, int attrnamespace, const char *attrname); } 185 SYS_EXTATTR_SET_FILE = 361 // { int|sys||extattr_set_file(const char *path, int attrnamespace, const char *attrname, const void *data, size_t nbytes); } 186 SYS_EXTATTR_GET_FILE = 362 // { ssize_t|sys||extattr_get_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } 187 SYS_EXTATTR_DELETE_FILE = 363 // { int|sys||extattr_delete_file(const char *path, int attrnamespace, const char *attrname); } 188 SYS_EXTATTR_SET_FD = 364 // { int|sys||extattr_set_fd(int fd, int attrnamespace, const char *attrname, const void *data, size_t nbytes); } 189 SYS_EXTATTR_GET_FD = 365 // { ssize_t|sys||extattr_get_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); } 190 SYS_EXTATTR_DELETE_FD = 366 // { int|sys||extattr_delete_fd(int fd, int attrnamespace, const char *attrname); } 191 SYS_EXTATTR_SET_LINK = 367 // { int|sys||extattr_set_link(const char *path, int attrnamespace, const char *attrname, const void *data, size_t nbytes); } 192 SYS_EXTATTR_GET_LINK = 368 // { ssize_t|sys||extattr_get_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } 193 SYS_EXTATTR_DELETE_LINK = 369 // { int|sys||extattr_delete_link(const char *path, int attrnamespace, const char *attrname); } 194 SYS_EXTATTR_LIST_FD = 370 // { ssize_t|sys||extattr_list_fd(int fd, int attrnamespace, void *data, size_t nbytes); } 195 SYS_EXTATTR_LIST_FILE = 371 // { ssize_t|sys||extattr_list_file(const char *path, int attrnamespace, void *data, size_t nbytes); } 196 SYS_EXTATTR_LIST_LINK = 372 // { ssize_t|sys||extattr_list_link(const char *path, int attrnamespace, void *data, size_t nbytes); } 197 SYS_SETXATTR = 375 // { int|sys||setxattr(const char *path, const char *name, const void *value, size_t size, int flags); } 198 SYS_LSETXATTR = 376 // { int|sys||lsetxattr(const char *path, const char *name, const void *value, size_t size, int flags); } 199 SYS_FSETXATTR = 377 // { int|sys||fsetxattr(int fd, const char *name, const void *value, size_t size, int flags); } 200 SYS_GETXATTR = 378 // { int|sys||getxattr(const char *path, const char *name, void *value, size_t size); } 201 SYS_LGETXATTR = 379 // { int|sys||lgetxattr(const char *path, const char *name, void *value, size_t size); } 202 SYS_FGETXATTR = 380 // { int|sys||fgetxattr(int fd, const char *name, void *value, size_t size); } 203 SYS_LISTXATTR = 381 // { int|sys||listxattr(const char *path, char *list, size_t size); } 204 SYS_LLISTXATTR = 382 // { int|sys||llistxattr(const char *path, char *list, size_t size); } 205 SYS_FLISTXATTR = 383 // { int|sys||flistxattr(int fd, char *list, size_t size); } 206 SYS_REMOVEXATTR = 384 // { int|sys||removexattr(const char *path, const char *name); } 207 SYS_LREMOVEXATTR = 385 // { int|sys||lremovexattr(const char *path, const char *name); } 208 SYS_FREMOVEXATTR = 386 // { int|sys||fremovexattr(int fd, const char *name); } 209 SYS_GETDENTS = 390 // { int|sys|30|getdents(int fd, char *buf, size_t count); } 210 SYS_SOCKET = 394 // { int|sys|30|socket(int domain, int type, int protocol); } 211 SYS_GETFH = 395 // { int|sys|30|getfh(const char *fname, void *fhp, size_t *fh_size); } 212 SYS_MOUNT = 410 // { int|sys|50|mount(const char *type, const char *path, int flags, void *data, size_t data_len); } 213 SYS_MREMAP = 411 // { void *|sys||mremap(void *old_address, size_t old_size, void *new_address, size_t new_size, int flags); } 214 SYS_PSET_CREATE = 412 // { int|sys||pset_create(psetid_t *psid); } 215 SYS_PSET_DESTROY = 413 // { int|sys||pset_destroy(psetid_t psid); } 216 SYS_PSET_ASSIGN = 414 // { int|sys||pset_assign(psetid_t psid, cpuid_t cpuid, psetid_t *opsid); } 217 SYS__PSET_BIND = 415 // { int|sys||_pset_bind(idtype_t idtype, id_t first_id, id_t second_id, psetid_t psid, psetid_t *opsid); } 218 SYS_POSIX_FADVISE = 416 // { int|sys|50|posix_fadvise(int fd, int PAD, off_t offset, off_t len, int advice); } 219 SYS_SELECT = 417 // { int|sys|50|select(int nd, fd_set *in, fd_set *ou, fd_set *ex, struct timeval *tv); } 220 SYS_GETTIMEOFDAY = 418 // { int|sys|50|gettimeofday(struct timeval *tp, void *tzp); } 221 SYS_SETTIMEOFDAY = 419 // { int|sys|50|settimeofday(const struct timeval *tv, const void *tzp); } 222 SYS_UTIMES = 420 // { int|sys|50|utimes(const char *path, const struct timeval *tptr); } 223 SYS_ADJTIME = 421 // { int|sys|50|adjtime(const struct timeval *delta, struct timeval *olddelta); } 224 SYS_FUTIMES = 423 // { int|sys|50|futimes(int fd, const struct timeval *tptr); } 225 SYS_LUTIMES = 424 // { int|sys|50|lutimes(const char *path, const struct timeval *tptr); } 226 SYS_SETITIMER = 425 // { int|sys|50|setitimer(int which, const struct itimerval *itv, struct itimerval *oitv); } 227 SYS_GETITIMER = 426 // { int|sys|50|getitimer(int which, struct itimerval *itv); } 228 SYS_CLOCK_GETTIME = 427 // { int|sys|50|clock_gettime(clockid_t clock_id, struct timespec *tp); } 229 SYS_CLOCK_SETTIME = 428 // { int|sys|50|clock_settime(clockid_t clock_id, const struct timespec *tp); } 230 SYS_CLOCK_GETRES = 429 // { int|sys|50|clock_getres(clockid_t clock_id, struct timespec *tp); } 231 SYS_NANOSLEEP = 430 // { int|sys|50|nanosleep(const struct timespec *rqtp, struct timespec *rmtp); } 232 SYS___SIGTIMEDWAIT = 431 // { int|sys|50|__sigtimedwait(const sigset_t *set, siginfo_t *info, struct timespec *timeout); } 233 SYS__LWP_PARK = 434 // { int|sys|50|_lwp_park(const struct timespec *ts, lwpid_t unpark, const void *hint, const void *unparkhint); } 234 SYS_KEVENT = 435 // { int|sys|50|kevent(int fd, const struct kevent *changelist, size_t nchanges, struct kevent *eventlist, size_t nevents, const struct timespec *timeout); } 235 SYS_PSELECT = 436 // { int|sys|50|pselect(int nd, fd_set *in, fd_set *ou, fd_set *ex, const struct timespec *ts, const sigset_t *mask); } 236 SYS_POLLTS = 437 // { int|sys|50|pollts(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *mask); } 237 SYS_STAT = 439 // { int|sys|50|stat(const char *path, struct stat *ub); } 238 SYS_FSTAT = 440 // { int|sys|50|fstat(int fd, struct stat *sb); } 239 SYS_LSTAT = 441 // { int|sys|50|lstat(const char *path, struct stat *ub); } 240 SYS___SEMCTL = 442 // { int|sys|50|__semctl(int semid, int semnum, int cmd, ... union __semun *arg); } 241 SYS_SHMCTL = 443 // { int|sys|50|shmctl(int shmid, int cmd, struct shmid_ds *buf); } 242 SYS_MSGCTL = 444 // { int|sys|50|msgctl(int msqid, int cmd, struct msqid_ds *buf); } 243 SYS_GETRUSAGE = 445 // { int|sys|50|getrusage(int who, struct rusage *rusage); } 244 SYS_TIMER_SETTIME = 446 // { int|sys|50|timer_settime(timer_t timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue); } 245 SYS_TIMER_GETTIME = 447 // { int|sys|50|timer_gettime(timer_t timerid, struct itimerspec *value); } 246 SYS_NTP_GETTIME = 448 // { int|sys|50|ntp_gettime(struct ntptimeval *ntvp); } 247 SYS_WAIT4 = 449 // { int|sys|50|wait4(pid_t pid, int *status, int options, struct rusage *rusage); } 248 SYS_MKNOD = 450 // { int|sys|50|mknod(const char *path, mode_t mode, dev_t dev); } 249 SYS_FHSTAT = 451 // { int|sys|50|fhstat(const void *fhp, size_t fh_size, struct stat *sb); } 250 SYS_PIPE2 = 453 // { int|sys||pipe2(int *fildes, int flags); } 251 SYS_DUP3 = 454 // { int|sys||dup3(int from, int to, int flags); } 252 SYS_KQUEUE1 = 455 // { int|sys||kqueue1(int flags); } 253 SYS_PACCEPT = 456 // { int|sys||paccept(int s, struct sockaddr *name, socklen_t *anamelen, const sigset_t *mask, int flags); } 254 SYS_LINKAT = 457 // { int|sys||linkat(int fd1, const char *name1, int fd2, const char *name2, int flags); } 255 SYS_RENAMEAT = 458 // { int|sys||renameat(int fromfd, const char *from, int tofd, const char *to); } 256 SYS_MKFIFOAT = 459 // { int|sys||mkfifoat(int fd, const char *path, mode_t mode); } 257 SYS_MKNODAT = 460 // { int|sys||mknodat(int fd, const char *path, mode_t mode, uint32_t dev); } 258 SYS_MKDIRAT = 461 // { int|sys||mkdirat(int fd, const char *path, mode_t mode); } 259 SYS_FACCESSAT = 462 // { int|sys||faccessat(int fd, const char *path, int amode, int flag); } 260 SYS_FCHMODAT = 463 // { int|sys||fchmodat(int fd, const char *path, mode_t mode, int flag); } 261 SYS_FCHOWNAT = 464 // { int|sys||fchownat(int fd, const char *path, uid_t owner, gid_t group, int flag); } 262 SYS_FEXECVE = 465 // { int|sys||fexecve(int fd, char * const *argp, char * const *envp); } 263 SYS_FSTATAT = 466 // { int|sys||fstatat(int fd, const char *path, struct stat *buf, int flag); } 264 SYS_UTIMENSAT = 467 // { int|sys||utimensat(int fd, const char *path, const struct timespec *tptr, int flag); } 265 SYS_OPENAT = 468 // { int|sys||openat(int fd, const char *path, int oflags, ... mode_t mode); } 266 SYS_READLINKAT = 469 // { int|sys||readlinkat(int fd, const char *path, char *buf, size_t bufsize); } 267 SYS_SYMLINKAT = 470 // { int|sys||symlinkat(const char *path1, int fd, const char *path2); } 268 SYS_UNLINKAT = 471 // { int|sys||unlinkat(int fd, const char *path, int flag); } 269 SYS_FUTIMENS = 472 // { int|sys||futimens(int fd, const struct timespec *tptr); } 270 SYS___QUOTACTL = 473 // { int|sys||__quotactl(const char *path, struct quotactl_args *args); } 271 SYS_POSIX_SPAWN = 474 // { int|sys||posix_spawn(pid_t *pid, const char *path, const struct posix_spawn_file_actions *file_actions, const struct posix_spawnattr *attrp, char *const *argv, char *const *envp); } 272 SYS_RECVMMSG = 475 // { int|sys||recvmmsg(int s, struct mmsghdr *mmsg, unsigned int vlen, unsigned int flags, struct timespec *timeout); } 273 SYS_SENDMMSG = 476 // { int|sys||sendmmsg(int s, struct mmsghdr *mmsg, unsigned int vlen, unsigned int flags); } 274 ) 275