aboutsummaryrefslogtreecommitdiffhomepage
path: root/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go')
-rw-r--r--vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go176
1 files changed, 88 insertions, 88 deletions
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go
index b2c9ef8..464c9a9 100644
--- a/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go
+++ b/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go
@@ -1,4 +1,4 @@
1// mksysnum_dragonfly.pl 1// go run mksysnum.go https://gitweb.dragonflybsd.org/dragonfly.git/blob_plain/HEAD:/sys/kern/syscalls.master
2// Code generated by the command above; see README.md. DO NOT EDIT. 2// Code generated by the command above; see README.md. DO NOT EDIT.
3 3
4// +build amd64,dragonfly 4// +build amd64,dragonfly
@@ -13,7 +13,7 @@ const (
13 SYS_WRITE = 4 // { ssize_t write(int fd, const void *buf, size_t nbyte); } 13 SYS_WRITE = 4 // { ssize_t write(int fd, const void *buf, size_t nbyte); }
14 SYS_OPEN = 5 // { int open(char *path, int flags, int mode); } 14 SYS_OPEN = 5 // { int open(char *path, int flags, int mode); }
15 SYS_CLOSE = 6 // { int close(int fd); } 15 SYS_CLOSE = 6 // { int close(int fd); }
16 SYS_WAIT4 = 7 // { int wait4(int pid, int *status, int options, \ 16 SYS_WAIT4 = 7 // { int wait4(int pid, int *status, int options, struct rusage *rusage); } wait4 wait_args int
17 SYS_LINK = 9 // { int link(char *path, char *link); } 17 SYS_LINK = 9 // { int link(char *path, char *link); }
18 SYS_UNLINK = 10 // { int unlink(char *path); } 18 SYS_UNLINK = 10 // { int unlink(char *path); }
19 SYS_CHDIR = 12 // { int chdir(char *path); } 19 SYS_CHDIR = 12 // { int chdir(char *path); }
@@ -22,17 +22,17 @@ const (
22 SYS_CHMOD = 15 // { int chmod(char *path, int mode); } 22 SYS_CHMOD = 15 // { int chmod(char *path, int mode); }
23 SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); } 23 SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); }
24 SYS_OBREAK = 17 // { int obreak(char *nsize); } break obreak_args int 24 SYS_OBREAK = 17 // { int obreak(char *nsize); } break obreak_args int
25 SYS_GETFSSTAT = 18 // { int getfsstat(struct statfs *buf, long bufsize, \ 25 SYS_GETFSSTAT = 18 // { int getfsstat(struct statfs *buf, long bufsize, int flags); }
26 SYS_GETPID = 20 // { pid_t getpid(void); } 26 SYS_GETPID = 20 // { pid_t getpid(void); }
27 SYS_MOUNT = 21 // { int mount(char *type, char *path, int flags, \ 27 SYS_MOUNT = 21 // { int mount(char *type, char *path, int flags, caddr_t data); }
28 SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); } 28 SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); }
29 SYS_SETUID = 23 // { int setuid(uid_t uid); } 29 SYS_SETUID = 23 // { int setuid(uid_t uid); }
30 SYS_GETUID = 24 // { uid_t getuid(void); } 30 SYS_GETUID = 24 // { uid_t getuid(void); }
31 SYS_GETEUID = 25 // { uid_t geteuid(void); } 31 SYS_GETEUID = 25 // { uid_t geteuid(void); }
32 SYS_PTRACE = 26 // { int ptrace(int req, pid_t pid, caddr_t addr, \ 32 SYS_PTRACE = 26 // { int ptrace(int req, pid_t pid, caddr_t addr, int data); }
33 SYS_RECVMSG = 27 // { int recvmsg(int s, struct msghdr *msg, int flags); } 33 SYS_RECVMSG = 27 // { int recvmsg(int s, struct msghdr *msg, int flags); }
34 SYS_SENDMSG = 28 // { int sendmsg(int s, caddr_t msg, int flags); } 34 SYS_SENDMSG = 28 // { int sendmsg(int s, caddr_t msg, int flags); }
35 SYS_RECVFROM = 29 // { int recvfrom(int s, caddr_t buf, size_t len, \ 35 SYS_RECVFROM = 29 // { int recvfrom(int s, caddr_t buf, size_t len, int flags, caddr_t from, int *fromlenaddr); }
36 SYS_ACCEPT = 30 // { int accept(int s, caddr_t name, int *anamelen); } 36 SYS_ACCEPT = 30 // { int accept(int s, caddr_t name, int *anamelen); }
37 SYS_GETPEERNAME = 31 // { int getpeername(int fdes, caddr_t asa, int *alen); } 37 SYS_GETPEERNAME = 31 // { int getpeername(int fdes, caddr_t asa, int *alen); }
38 SYS_GETSOCKNAME = 32 // { int getsockname(int fdes, caddr_t asa, int *alen); } 38 SYS_GETSOCKNAME = 32 // { int getsockname(int fdes, caddr_t asa, int *alen); }
@@ -45,8 +45,8 @@ const (
45 SYS_DUP = 41 // { int dup(int fd); } 45 SYS_DUP = 41 // { int dup(int fd); }
46 SYS_PIPE = 42 // { int pipe(void); } 46 SYS_PIPE = 42 // { int pipe(void); }
47 SYS_GETEGID = 43 // { gid_t getegid(void); } 47 SYS_GETEGID = 43 // { gid_t getegid(void); }
48 SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, \ 48 SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, size_t offset, u_int scale); }
49 SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, int facs, \ 49 SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, int facs, int pid); }
50 SYS_GETGID = 47 // { gid_t getgid(void); } 50 SYS_GETGID = 47 // { gid_t getgid(void); }
51 SYS_GETLOGIN = 49 // { int getlogin(char *namebuf, u_int namelen); } 51 SYS_GETLOGIN = 49 // { int getlogin(char *namebuf, u_int namelen); }
52 SYS_SETLOGIN = 50 // { int setlogin(char *namebuf); } 52 SYS_SETLOGIN = 50 // { int setlogin(char *namebuf); }
@@ -67,32 +67,32 @@ const (
67 SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); } 67 SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); }
68 SYS_MPROTECT = 74 // { int mprotect(void *addr, size_t len, int prot); } 68 SYS_MPROTECT = 74 // { int mprotect(void *addr, size_t len, int prot); }
69 SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, int behav); } 69 SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, int behav); }
70 SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, \ 70 SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, char *vec); }
71 SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, gid_t *gidset); } 71 SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, gid_t *gidset); }
72 SYS_SETGROUPS = 80 // { int setgroups(u_int gidsetsize, gid_t *gidset); } 72 SYS_SETGROUPS = 80 // { int setgroups(u_int gidsetsize, gid_t *gidset); }
73 SYS_GETPGRP = 81 // { int getpgrp(void); } 73 SYS_GETPGRP = 81 // { int getpgrp(void); }
74 SYS_SETPGID = 82 // { int setpgid(int pid, int pgid); } 74 SYS_SETPGID = 82 // { int setpgid(int pid, int pgid); }
75 SYS_SETITIMER = 83 // { int setitimer(u_int which, struct itimerval *itv, \ 75 SYS_SETITIMER = 83 // { int setitimer(u_int which, struct itimerval *itv, struct itimerval *oitv); }
76 SYS_SWAPON = 85 // { int swapon(char *name); } 76 SYS_SWAPON = 85 // { int swapon(char *name); }
77 SYS_GETITIMER = 86 // { int getitimer(u_int which, struct itimerval *itv); } 77 SYS_GETITIMER = 86 // { int getitimer(u_int which, struct itimerval *itv); }
78 SYS_GETDTABLESIZE = 89 // { int getdtablesize(void); } 78 SYS_GETDTABLESIZE = 89 // { int getdtablesize(void); }
79 SYS_DUP2 = 90 // { int dup2(int from, int to); } 79 SYS_DUP2 = 90 // { int dup2(int from, int to); }
80 SYS_FCNTL = 92 // { int fcntl(int fd, int cmd, long arg); } 80 SYS_FCNTL = 92 // { int fcntl(int fd, int cmd, long arg); }
81 SYS_SELECT = 93 // { int select(int nd, fd_set *in, fd_set *ou, \ 81 SYS_SELECT = 93 // { int select(int nd, fd_set *in, fd_set *ou, fd_set *ex, struct timeval *tv); }
82 SYS_FSYNC = 95 // { int fsync(int fd); } 82 SYS_FSYNC = 95 // { int fsync(int fd); }
83 SYS_SETPRIORITY = 96 // { int setpriority(int which, int who, int prio); } 83 SYS_SETPRIORITY = 96 // { int setpriority(int which, int who, int prio); }
84 SYS_SOCKET = 97 // { int socket(int domain, int type, int protocol); } 84 SYS_SOCKET = 97 // { int socket(int domain, int type, int protocol); }
85 SYS_CONNECT = 98 // { int connect(int s, caddr_t name, int namelen); } 85 SYS_CONNECT = 98 // { int connect(int s, caddr_t name, int namelen); }
86 SYS_GETPRIORITY = 100 // { int getpriority(int which, int who); } 86 SYS_GETPRIORITY = 100 // { int getpriority(int which, int who); }
87 SYS_BIND = 104 // { int bind(int s, caddr_t name, int namelen); } 87 SYS_BIND = 104 // { int bind(int s, caddr_t name, int namelen); }
88 SYS_SETSOCKOPT = 105 // { int setsockopt(int s, int level, int name, \ 88 SYS_SETSOCKOPT = 105 // { int setsockopt(int s, int level, int name, caddr_t val, int valsize); }
89 SYS_LISTEN = 106 // { int listen(int s, int backlog); } 89 SYS_LISTEN = 106 // { int listen(int s, int backlog); }
90 SYS_GETTIMEOFDAY = 116 // { int gettimeofday(struct timeval *tp, \ 90 SYS_GETTIMEOFDAY = 116 // { int gettimeofday(struct timeval *tp, struct timezone *tzp); }
91 SYS_GETRUSAGE = 117 // { int getrusage(int who, struct rusage *rusage); } 91 SYS_GETRUSAGE = 117 // { int getrusage(int who, struct rusage *rusage); }
92 SYS_GETSOCKOPT = 118 // { int getsockopt(int s, int level, int name, \ 92 SYS_GETSOCKOPT = 118 // { int getsockopt(int s, int level, int name, caddr_t val, int *avalsize); }
93 SYS_READV = 120 // { int readv(int fd, struct iovec *iovp, u_int iovcnt); } 93 SYS_READV = 120 // { int readv(int fd, struct iovec *iovp, u_int iovcnt); }
94 SYS_WRITEV = 121 // { int writev(int fd, struct iovec *iovp, \ 94 SYS_WRITEV = 121 // { int writev(int fd, struct iovec *iovp, u_int iovcnt); }
95 SYS_SETTIMEOFDAY = 122 // { int settimeofday(struct timeval *tv, \ 95 SYS_SETTIMEOFDAY = 122 // { int settimeofday(struct timeval *tv, struct timezone *tzp); }
96 SYS_FCHOWN = 123 // { int fchown(int fd, int uid, int gid); } 96 SYS_FCHOWN = 123 // { int fchown(int fd, int uid, int gid); }
97 SYS_FCHMOD = 124 // { int fchmod(int fd, int mode); } 97 SYS_FCHMOD = 124 // { int fchmod(int fd, int mode); }
98 SYS_SETREUID = 126 // { int setreuid(int ruid, int euid); } 98 SYS_SETREUID = 126 // { int setreuid(int ruid, int euid); }
@@ -100,15 +100,15 @@ const (
100 SYS_RENAME = 128 // { int rename(char *from, char *to); } 100 SYS_RENAME = 128 // { int rename(char *from, char *to); }
101 SYS_FLOCK = 131 // { int flock(int fd, int how); } 101 SYS_FLOCK = 131 // { int flock(int fd, int how); }
102 SYS_MKFIFO = 132 // { int mkfifo(char *path, int mode); } 102 SYS_MKFIFO = 132 // { int mkfifo(char *path, int mode); }
103 SYS_SENDTO = 133 // { int sendto(int s, caddr_t buf, size_t len, \ 103 SYS_SENDTO = 133 // { int sendto(int s, caddr_t buf, size_t len, int flags, caddr_t to, int tolen); }
104 SYS_SHUTDOWN = 134 // { int shutdown(int s, int how); } 104 SYS_SHUTDOWN = 134 // { int shutdown(int s, int how); }
105 SYS_SOCKETPAIR = 135 // { int socketpair(int domain, int type, int protocol, \ 105 SYS_SOCKETPAIR = 135 // { int socketpair(int domain, int type, int protocol, int *rsv); }
106 SYS_MKDIR = 136 // { int mkdir(char *path, int mode); } 106 SYS_MKDIR = 136 // { int mkdir(char *path, int mode); }
107 SYS_RMDIR = 137 // { int rmdir(char *path); } 107 SYS_RMDIR = 137 // { int rmdir(char *path); }
108 SYS_UTIMES = 138 // { int utimes(char *path, struct timeval *tptr); } 108 SYS_UTIMES = 138 // { int utimes(char *path, struct timeval *tptr); }
109 SYS_ADJTIME = 140 // { int adjtime(struct timeval *delta, \ 109 SYS_ADJTIME = 140 // { int adjtime(struct timeval *delta, struct timeval *olddelta); }
110 SYS_SETSID = 147 // { int setsid(void); } 110 SYS_SETSID = 147 // { int setsid(void); }
111 SYS_QUOTACTL = 148 // { int quotactl(char *path, int cmd, int uid, \ 111 SYS_QUOTACTL = 148 // { int quotactl(char *path, int cmd, int uid, caddr_t arg); }
112 SYS_STATFS = 157 // { int statfs(char *path, struct statfs *buf); } 112 SYS_STATFS = 157 // { int statfs(char *path, struct statfs *buf); }
113 SYS_FSTATFS = 158 // { int fstatfs(int fd, struct statfs *buf); } 113 SYS_FSTATFS = 158 // { int fstatfs(int fd, struct statfs *buf); }
114 SYS_GETFH = 161 // { int getfh(char *fname, struct fhandle *fhp); } 114 SYS_GETFH = 161 // { int getfh(char *fname, struct fhandle *fhp); }
@@ -116,53 +116,53 @@ const (
116 SYS_SETDOMAINNAME = 163 // { int setdomainname(char *domainname, int len); } 116 SYS_SETDOMAINNAME = 163 // { int setdomainname(char *domainname, int len); }
117 SYS_UNAME = 164 // { int uname(struct utsname *name); } 117 SYS_UNAME = 164 // { int uname(struct utsname *name); }
118 SYS_SYSARCH = 165 // { int sysarch(int op, char *parms); } 118 SYS_SYSARCH = 165 // { int sysarch(int op, char *parms); }
119 SYS_RTPRIO = 166 // { int rtprio(int function, pid_t pid, \ 119 SYS_RTPRIO = 166 // { int rtprio(int function, pid_t pid, struct rtprio *rtp); }
120 SYS_EXTPREAD = 173 // { ssize_t extpread(int fd, void *buf, \ 120 SYS_EXTPREAD = 173 // { ssize_t extpread(int fd, void *buf, size_t nbyte, int flags, off_t offset); }
121 SYS_EXTPWRITE = 174 // { ssize_t extpwrite(int fd, const void *buf, \ 121 SYS_EXTPWRITE = 174 // { ssize_t extpwrite(int fd, const void *buf, size_t nbyte, int flags, off_t offset); }
122 SYS_NTP_ADJTIME = 176 // { int ntp_adjtime(struct timex *tp); } 122 SYS_NTP_ADJTIME = 176 // { int ntp_adjtime(struct timex *tp); }
123 SYS_SETGID = 181 // { int setgid(gid_t gid); } 123 SYS_SETGID = 181 // { int setgid(gid_t gid); }
124 SYS_SETEGID = 182 // { int setegid(gid_t egid); } 124 SYS_SETEGID = 182 // { int setegid(gid_t egid); }
125 SYS_SETEUID = 183 // { int seteuid(uid_t euid); } 125 SYS_SETEUID = 183 // { int seteuid(uid_t euid); }
126 SYS_PATHCONF = 191 // { int pathconf(char *path, int name); } 126 SYS_PATHCONF = 191 // { int pathconf(char *path, int name); }
127 SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); } 127 SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); }
128 SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, \ 128 SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, struct rlimit *rlp); } getrlimit __getrlimit_args int
129 SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, \ 129 SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, struct rlimit *rlp); } setrlimit __setrlimit_args int
130 SYS_MMAP = 197 // { caddr_t mmap(caddr_t addr, size_t len, int prot, \ 130 SYS_MMAP = 197 // { caddr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fd, int pad, off_t pos); }
131 // SYS_NOSYS = 198; // { int nosys(void); } __syscall __syscall_args int 131 // SYS_NOSYS = 198; // { int nosys(void); } __syscall __syscall_args int
132 SYS_LSEEK = 199 // { off_t lseek(int fd, int pad, off_t offset, \ 132 SYS_LSEEK = 199 // { off_t lseek(int fd, int pad, off_t offset, int whence); }
133 SYS_TRUNCATE = 200 // { int truncate(char *path, int pad, off_t length); } 133 SYS_TRUNCATE = 200 // { int truncate(char *path, int pad, off_t length); }
134 SYS_FTRUNCATE = 201 // { int ftruncate(int fd, int pad, off_t length); } 134 SYS_FTRUNCATE = 201 // { int ftruncate(int fd, int pad, off_t length); }
135 SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, void *old, \ 135 SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } __sysctl sysctl_args int
136 SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); } 136 SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); }
137 SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); } 137 SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); }
138 SYS_UNDELETE = 205 // { int undelete(char *path); } 138 SYS_UNDELETE = 205 // { int undelete(char *path); }
139 SYS_FUTIMES = 206 // { int futimes(int fd, struct timeval *tptr); } 139 SYS_FUTIMES = 206 // { int futimes(int fd, struct timeval *tptr); }
140 SYS_GETPGID = 207 // { int getpgid(pid_t pid); } 140 SYS_GETPGID = 207 // { int getpgid(pid_t pid); }
141 SYS_POLL = 209 // { int poll(struct pollfd *fds, u_int nfds, \ 141 SYS_POLL = 209 // { int poll(struct pollfd *fds, u_int nfds, int timeout); }
142 SYS___SEMCTL = 220 // { int __semctl(int semid, int semnum, int cmd, \ 142 SYS___SEMCTL = 220 // { int __semctl(int semid, int semnum, int cmd, union semun *arg); }
143 SYS_SEMGET = 221 // { int semget(key_t key, int nsems, int semflg); } 143 SYS_SEMGET = 221 // { int semget(key_t key, int nsems, int semflg); }
144 SYS_SEMOP = 222 // { int semop(int semid, struct sembuf *sops, \ 144 SYS_SEMOP = 222 // { int semop(int semid, struct sembuf *sops, u_int nsops); }
145 SYS_MSGCTL = 224 // { int msgctl(int msqid, int cmd, \ 145 SYS_MSGCTL = 224 // { int msgctl(int msqid, int cmd, struct msqid_ds *buf); }
146 SYS_MSGGET = 225 // { int msgget(key_t key, int msgflg); } 146 SYS_MSGGET = 225 // { int msgget(key_t key, int msgflg); }
147 SYS_MSGSND = 226 // { int msgsnd(int msqid, const void *msgp, size_t msgsz, \ 147 SYS_MSGSND = 226 // { int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); }
148 SYS_MSGRCV = 227 // { int msgrcv(int msqid, void *msgp, size_t msgsz, \ 148 SYS_MSGRCV = 227 // { int msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
149 SYS_SHMAT = 228 // { caddr_t shmat(int shmid, const void *shmaddr, \ 149 SYS_SHMAT = 228 // { caddr_t shmat(int shmid, const void *shmaddr, int shmflg); }
150 SYS_SHMCTL = 229 // { int shmctl(int shmid, int cmd, \ 150 SYS_SHMCTL = 229 // { int shmctl(int shmid, int cmd, struct shmid_ds *buf); }
151 SYS_SHMDT = 230 // { int shmdt(const void *shmaddr); } 151 SYS_SHMDT = 230 // { int shmdt(const void *shmaddr); }
152 SYS_SHMGET = 231 // { int shmget(key_t key, size_t size, int shmflg); } 152 SYS_SHMGET = 231 // { int shmget(key_t key, size_t size, int shmflg); }
153 SYS_CLOCK_GETTIME = 232 // { int clock_gettime(clockid_t clock_id, \ 153 SYS_CLOCK_GETTIME = 232 // { int clock_gettime(clockid_t clock_id, struct timespec *tp); }
154 SYS_CLOCK_SETTIME = 233 // { int clock_settime(clockid_t clock_id, \ 154 SYS_CLOCK_SETTIME = 233 // { int clock_settime(clockid_t clock_id, const struct timespec *tp); }
155 SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, \ 155 SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, struct timespec *tp); }
156 SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, \ 156 SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, struct timespec *rmtp); }
157 SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, int inherit); } 157 SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, int inherit); }
158 SYS_RFORK = 251 // { int rfork(int flags); } 158 SYS_RFORK = 251 // { int rfork(int flags); }
159 SYS_OPENBSD_POLL = 252 // { int openbsd_poll(struct pollfd *fds, u_int nfds, \ 159 SYS_OPENBSD_POLL = 252 // { int openbsd_poll(struct pollfd *fds, u_int nfds, int timeout); }
160 SYS_ISSETUGID = 253 // { int issetugid(void); } 160 SYS_ISSETUGID = 253 // { int issetugid(void); }
161 SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); } 161 SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); }
162 SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); } 162 SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); }
163 SYS_LUTIMES = 276 // { int lutimes(char *path, struct timeval *tptr); } 163 SYS_LUTIMES = 276 // { int lutimes(char *path, struct timeval *tptr); }
164 SYS_EXTPREADV = 289 // { ssize_t extpreadv(int fd, struct iovec *iovp, \ 164 SYS_EXTPREADV = 289 // { ssize_t extpreadv(int fd, struct iovec *iovp, u_int iovcnt, int flags, off_t offset); }
165 SYS_EXTPWRITEV = 290 // { ssize_t extpwritev(int fd, struct iovec *iovp,\ 165 SYS_EXTPWRITEV = 290 // { ssize_t extpwritev(int fd, struct iovec *iovp,u_int iovcnt, int flags, off_t offset); }
166 SYS_FHSTATFS = 297 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); } 166 SYS_FHSTATFS = 297 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); }
167 SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); } 167 SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); }
168 SYS_MODNEXT = 300 // { int modnext(int modid); } 168 SYS_MODNEXT = 300 // { int modnext(int modid); }
@@ -200,34 +200,34 @@ const (
200 SYS_UTRACE = 335 // { int utrace(const void *addr, size_t len); } 200 SYS_UTRACE = 335 // { int utrace(const void *addr, size_t len); }
201 SYS_KLDSYM = 337 // { int kldsym(int fileid, int cmd, void *data); } 201 SYS_KLDSYM = 337 // { int kldsym(int fileid, int cmd, void *data); }
202 SYS_JAIL = 338 // { int jail(struct jail *jail); } 202 SYS_JAIL = 338 // { int jail(struct jail *jail); }
203 SYS_SIGPROCMASK = 340 // { int sigprocmask(int how, const sigset_t *set, \ 203 SYS_SIGPROCMASK = 340 // { int sigprocmask(int how, const sigset_t *set, sigset_t *oset); }
204 SYS_SIGSUSPEND = 341 // { int sigsuspend(const sigset_t *sigmask); } 204 SYS_SIGSUSPEND = 341 // { int sigsuspend(const sigset_t *sigmask); }
205 SYS_SIGACTION = 342 // { int sigaction(int sig, const struct sigaction *act, \ 205 SYS_SIGACTION = 342 // { int sigaction(int sig, const struct sigaction *act, struct sigaction *oact); }
206 SYS_SIGPENDING = 343 // { int sigpending(sigset_t *set); } 206 SYS_SIGPENDING = 343 // { int sigpending(sigset_t *set); }
207 SYS_SIGRETURN = 344 // { int sigreturn(ucontext_t *sigcntxp); } 207 SYS_SIGRETURN = 344 // { int sigreturn(ucontext_t *sigcntxp); }
208 SYS_SIGTIMEDWAIT = 345 // { int sigtimedwait(const sigset_t *set,\ 208 SYS_SIGTIMEDWAIT = 345 // { int sigtimedwait(const sigset_t *set,siginfo_t *info, const struct timespec *timeout); }
209 SYS_SIGWAITINFO = 346 // { int sigwaitinfo(const sigset_t *set,\ 209 SYS_SIGWAITINFO = 346 // { int sigwaitinfo(const sigset_t *set,siginfo_t *info); }
210 SYS___ACL_GET_FILE = 347 // { int __acl_get_file(const char *path, \ 210 SYS___ACL_GET_FILE = 347 // { int __acl_get_file(const char *path, acl_type_t type, struct acl *aclp); }
211 SYS___ACL_SET_FILE = 348 // { int __acl_set_file(const char *path, \ 211 SYS___ACL_SET_FILE = 348 // { int __acl_set_file(const char *path, acl_type_t type, struct acl *aclp); }
212 SYS___ACL_GET_FD = 349 // { int __acl_get_fd(int filedes, acl_type_t type, \ 212 SYS___ACL_GET_FD = 349 // { int __acl_get_fd(int filedes, acl_type_t type, struct acl *aclp); }
213 SYS___ACL_SET_FD = 350 // { int __acl_set_fd(int filedes, acl_type_t type, \ 213 SYS___ACL_SET_FD = 350 // { int __acl_set_fd(int filedes, acl_type_t type, struct acl *aclp); }
214 SYS___ACL_DELETE_FILE = 351 // { int __acl_delete_file(const char *path, \ 214 SYS___ACL_DELETE_FILE = 351 // { int __acl_delete_file(const char *path, acl_type_t type); }
215 SYS___ACL_DELETE_FD = 352 // { int __acl_delete_fd(int filedes, acl_type_t type); } 215 SYS___ACL_DELETE_FD = 352 // { int __acl_delete_fd(int filedes, acl_type_t type); }
216 SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, \ 216 SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, acl_type_t type, struct acl *aclp); }
217 SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, acl_type_t type, \ 217 SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, acl_type_t type, struct acl *aclp); }
218 SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, \ 218 SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, const char *filename, int attrnamespace, const char *attrname); }
219 SYS_EXTATTR_SET_FILE = 356 // { int extattr_set_file(const char *path, \ 219 SYS_EXTATTR_SET_FILE = 356 // { int extattr_set_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
220 SYS_EXTATTR_GET_FILE = 357 // { int extattr_get_file(const char *path, \ 220 SYS_EXTATTR_GET_FILE = 357 // { int extattr_get_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
221 SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, \ 221 SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, int attrnamespace, const char *attrname); }
222 SYS_AIO_WAITCOMPLETE = 359 // { int aio_waitcomplete(struct aiocb **aiocbp, struct timespec *timeout); } 222 SYS_AIO_WAITCOMPLETE = 359 // { int aio_waitcomplete(struct aiocb **aiocbp, struct timespec *timeout); }
223 SYS_GETRESUID = 360 // { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); } 223 SYS_GETRESUID = 360 // { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); }
224 SYS_GETRESGID = 361 // { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); } 224 SYS_GETRESGID = 361 // { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); }
225 SYS_KQUEUE = 362 // { int kqueue(void); } 225 SYS_KQUEUE = 362 // { int kqueue(void); }
226 SYS_KEVENT = 363 // { int kevent(int fd, \ 226 SYS_KEVENT = 363 // { int kevent(int fd, const struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); }
227 SYS_KENV = 390 // { int kenv(int what, const char *name, char *value, int len); } 227 SYS_KENV = 390 // { int kenv(int what, const char *name, char *value, int len); }
228 SYS_LCHFLAGS = 391 // { int lchflags(char *path, int flags); } 228 SYS_LCHFLAGS = 391 // { int lchflags(char *path, int flags); }
229 SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, int count); } 229 SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, int count); }
230 SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, size_t nbytes, \ 230 SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, size_t nbytes, struct sf_hdtr *hdtr, off_t *sbytes, int flags); }
231 SYS_VARSYM_SET = 450 // { int varsym_set(int level, const char *name, const char *data); } 231 SYS_VARSYM_SET = 450 // { int varsym_set(int level, const char *name, const char *data); }
232 SYS_VARSYM_GET = 451 // { int varsym_get(int mask, const char *wild, char *buf, int bufsize); } 232 SYS_VARSYM_GET = 451 // { int varsym_get(int mask, const char *wild, char *buf, int bufsize); }
233 SYS_VARSYM_LIST = 452 // { int varsym_list(int level, char *buf, int maxsize, int *marker); } 233 SYS_VARSYM_LIST = 452 // { int varsym_list(int level, char *buf, int maxsize, int *marker); }
@@ -245,58 +245,58 @@ const (
245 SYS_FSTAT = 476 // { int fstat(int fd, struct stat *sb); } 245 SYS_FSTAT = 476 // { int fstat(int fd, struct stat *sb); }
246 SYS_LSTAT = 477 // { int lstat(const char *path, struct stat *ub); } 246 SYS_LSTAT = 477 // { int lstat(const char *path, struct stat *ub); }
247 SYS_FHSTAT = 478 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); } 247 SYS_FHSTAT = 478 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); }
248 SYS_GETDIRENTRIES = 479 // { int getdirentries(int fd, char *buf, u_int count, \ 248 SYS_GETDIRENTRIES = 479 // { int getdirentries(int fd, char *buf, u_int count, long *basep); }
249 SYS_GETDENTS = 480 // { int getdents(int fd, char *buf, size_t count); } 249 SYS_GETDENTS = 480 // { int getdents(int fd, char *buf, size_t count); }
250 SYS_USCHED_SET = 481 // { int usched_set(pid_t pid, int cmd, void *data, \ 250 SYS_USCHED_SET = 481 // { int usched_set(pid_t pid, int cmd, void *data, int bytes); }
251 SYS_EXTACCEPT = 482 // { int extaccept(int s, int flags, caddr_t name, int *anamelen); } 251 SYS_EXTACCEPT = 482 // { int extaccept(int s, int flags, caddr_t name, int *anamelen); }
252 SYS_EXTCONNECT = 483 // { int extconnect(int s, int flags, caddr_t name, int namelen); } 252 SYS_EXTCONNECT = 483 // { int extconnect(int s, int flags, caddr_t name, int namelen); }
253 SYS_MCONTROL = 485 // { int mcontrol(void *addr, size_t len, int behav, off_t value); } 253 SYS_MCONTROL = 485 // { int mcontrol(void *addr, size_t len, int behav, off_t value); }
254 SYS_VMSPACE_CREATE = 486 // { int vmspace_create(void *id, int type, void *data); } 254 SYS_VMSPACE_CREATE = 486 // { int vmspace_create(void *id, int type, void *data); }
255 SYS_VMSPACE_DESTROY = 487 // { int vmspace_destroy(void *id); } 255 SYS_VMSPACE_DESTROY = 487 // { int vmspace_destroy(void *id); }
256 SYS_VMSPACE_CTL = 488 // { int vmspace_ctl(void *id, int cmd, \ 256 SYS_VMSPACE_CTL = 488 // { int vmspace_ctl(void *id, int cmd, struct trapframe *tframe, struct vextframe *vframe); }
257 SYS_VMSPACE_MMAP = 489 // { int vmspace_mmap(void *id, void *addr, size_t len, \ 257 SYS_VMSPACE_MMAP = 489 // { int vmspace_mmap(void *id, void *addr, size_t len, int prot, int flags, int fd, off_t offset); }
258 SYS_VMSPACE_MUNMAP = 490 // { int vmspace_munmap(void *id, void *addr, \ 258 SYS_VMSPACE_MUNMAP = 490 // { int vmspace_munmap(void *id, void *addr, size_t len); }
259 SYS_VMSPACE_MCONTROL = 491 // { int vmspace_mcontrol(void *id, void *addr, \ 259 SYS_VMSPACE_MCONTROL = 491 // { int vmspace_mcontrol(void *id, void *addr, size_t len, int behav, off_t value); }
260 SYS_VMSPACE_PREAD = 492 // { ssize_t vmspace_pread(void *id, void *buf, \ 260 SYS_VMSPACE_PREAD = 492 // { ssize_t vmspace_pread(void *id, void *buf, size_t nbyte, int flags, off_t offset); }
261 SYS_VMSPACE_PWRITE = 493 // { ssize_t vmspace_pwrite(void *id, const void *buf, \ 261 SYS_VMSPACE_PWRITE = 493 // { ssize_t vmspace_pwrite(void *id, const void *buf, size_t nbyte, int flags, off_t offset); }
262 SYS_EXTEXIT = 494 // { void extexit(int how, int status, void *addr); } 262 SYS_EXTEXIT = 494 // { void extexit(int how, int status, void *addr); }
263 SYS_LWP_CREATE = 495 // { int lwp_create(struct lwp_params *params); } 263 SYS_LWP_CREATE = 495 // { int lwp_create(struct lwp_params *params); }
264 SYS_LWP_GETTID = 496 // { lwpid_t lwp_gettid(void); } 264 SYS_LWP_GETTID = 496 // { lwpid_t lwp_gettid(void); }
265 SYS_LWP_KILL = 497 // { int lwp_kill(pid_t pid, lwpid_t tid, int signum); } 265 SYS_LWP_KILL = 497 // { int lwp_kill(pid_t pid, lwpid_t tid, int signum); }
266 SYS_LWP_RTPRIO = 498 // { int lwp_rtprio(int function, pid_t pid, lwpid_t tid, struct rtprio *rtp); } 266 SYS_LWP_RTPRIO = 498 // { int lwp_rtprio(int function, pid_t pid, lwpid_t tid, struct rtprio *rtp); }
267 SYS_PSELECT = 499 // { int pselect(int nd, fd_set *in, fd_set *ou, \ 267 SYS_PSELECT = 499 // { int pselect(int nd, fd_set *in, fd_set *ou, fd_set *ex, const struct timespec *ts, const sigset_t *sigmask); }
268 SYS_STATVFS = 500 // { int statvfs(const char *path, struct statvfs *buf); } 268 SYS_STATVFS = 500 // { int statvfs(const char *path, struct statvfs *buf); }
269 SYS_FSTATVFS = 501 // { int fstatvfs(int fd, struct statvfs *buf); } 269 SYS_FSTATVFS = 501 // { int fstatvfs(int fd, struct statvfs *buf); }
270 SYS_FHSTATVFS = 502 // { int fhstatvfs(const struct fhandle *u_fhp, struct statvfs *buf); } 270 SYS_FHSTATVFS = 502 // { int fhstatvfs(const struct fhandle *u_fhp, struct statvfs *buf); }
271 SYS_GETVFSSTAT = 503 // { int getvfsstat(struct statfs *buf, \ 271 SYS_GETVFSSTAT = 503 // { int getvfsstat(struct statfs *buf, struct statvfs *vbuf, long vbufsize, int flags); }
272 SYS_OPENAT = 504 // { int openat(int fd, char *path, int flags, int mode); } 272 SYS_OPENAT = 504 // { int openat(int fd, char *path, int flags, int mode); }
273 SYS_FSTATAT = 505 // { int fstatat(int fd, char *path, \ 273 SYS_FSTATAT = 505 // { int fstatat(int fd, char *path, struct stat *sb, int flags); }
274 SYS_FCHMODAT = 506 // { int fchmodat(int fd, char *path, int mode, \ 274 SYS_FCHMODAT = 506 // { int fchmodat(int fd, char *path, int mode, int flags); }
275 SYS_FCHOWNAT = 507 // { int fchownat(int fd, char *path, int uid, int gid, \ 275 SYS_FCHOWNAT = 507 // { int fchownat(int fd, char *path, int uid, int gid, int flags); }
276 SYS_UNLINKAT = 508 // { int unlinkat(int fd, char *path, int flags); } 276 SYS_UNLINKAT = 508 // { int unlinkat(int fd, char *path, int flags); }
277 SYS_FACCESSAT = 509 // { int faccessat(int fd, char *path, int amode, \ 277 SYS_FACCESSAT = 509 // { int faccessat(int fd, char *path, int amode, int flags); }
278 SYS_MQ_OPEN = 510 // { mqd_t mq_open(const char * name, int oflag, \ 278 SYS_MQ_OPEN = 510 // { mqd_t mq_open(const char * name, int oflag, mode_t mode, struct mq_attr *attr); }
279 SYS_MQ_CLOSE = 511 // { int mq_close(mqd_t mqdes); } 279 SYS_MQ_CLOSE = 511 // { int mq_close(mqd_t mqdes); }
280 SYS_MQ_UNLINK = 512 // { int mq_unlink(const char *name); } 280 SYS_MQ_UNLINK = 512 // { int mq_unlink(const char *name); }
281 SYS_MQ_GETATTR = 513 // { int mq_getattr(mqd_t mqdes, \ 281 SYS_MQ_GETATTR = 513 // { int mq_getattr(mqd_t mqdes, struct mq_attr *mqstat); }
282 SYS_MQ_SETATTR = 514 // { int mq_setattr(mqd_t mqdes, \ 282 SYS_MQ_SETATTR = 514 // { int mq_setattr(mqd_t mqdes, const struct mq_attr *mqstat, struct mq_attr *omqstat); }
283 SYS_MQ_NOTIFY = 515 // { int mq_notify(mqd_t mqdes, \ 283 SYS_MQ_NOTIFY = 515 // { int mq_notify(mqd_t mqdes, const struct sigevent *notification); }
284 SYS_MQ_SEND = 516 // { int mq_send(mqd_t mqdes, const char *msg_ptr, \ 284 SYS_MQ_SEND = 516 // { int mq_send(mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned msg_prio); }
285 SYS_MQ_RECEIVE = 517 // { ssize_t mq_receive(mqd_t mqdes, char *msg_ptr, \ 285 SYS_MQ_RECEIVE = 517 // { ssize_t mq_receive(mqd_t mqdes, char *msg_ptr, size_t msg_len, unsigned *msg_prio); }
286 SYS_MQ_TIMEDSEND = 518 // { int mq_timedsend(mqd_t mqdes, \ 286 SYS_MQ_TIMEDSEND = 518 // { int mq_timedsend(mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned msg_prio, const struct timespec *abs_timeout); }
287 SYS_MQ_TIMEDRECEIVE = 519 // { ssize_t mq_timedreceive(mqd_t mqdes, \ 287 SYS_MQ_TIMEDRECEIVE = 519 // { ssize_t mq_timedreceive(mqd_t mqdes, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); }
288 SYS_IOPRIO_SET = 520 // { int ioprio_set(int which, int who, int prio); } 288 SYS_IOPRIO_SET = 520 // { int ioprio_set(int which, int who, int prio); }
289 SYS_IOPRIO_GET = 521 // { int ioprio_get(int which, int who); } 289 SYS_IOPRIO_GET = 521 // { int ioprio_get(int which, int who); }
290 SYS_CHROOT_KERNEL = 522 // { int chroot_kernel(char *path); } 290 SYS_CHROOT_KERNEL = 522 // { int chroot_kernel(char *path); }
291 SYS_RENAMEAT = 523 // { int renameat(int oldfd, char *old, int newfd, \ 291 SYS_RENAMEAT = 523 // { int renameat(int oldfd, char *old, int newfd, char *new); }
292 SYS_MKDIRAT = 524 // { int mkdirat(int fd, char *path, mode_t mode); } 292 SYS_MKDIRAT = 524 // { int mkdirat(int fd, char *path, mode_t mode); }
293 SYS_MKFIFOAT = 525 // { int mkfifoat(int fd, char *path, mode_t mode); } 293 SYS_MKFIFOAT = 525 // { int mkfifoat(int fd, char *path, mode_t mode); }
294 SYS_MKNODAT = 526 // { int mknodat(int fd, char *path, mode_t mode, \ 294 SYS_MKNODAT = 526 // { int mknodat(int fd, char *path, mode_t mode, dev_t dev); }
295 SYS_READLINKAT = 527 // { int readlinkat(int fd, char *path, char *buf, \ 295 SYS_READLINKAT = 527 // { int readlinkat(int fd, char *path, char *buf, size_t bufsize); }
296 SYS_SYMLINKAT = 528 // { int symlinkat(char *path1, int fd, char *path2); } 296 SYS_SYMLINKAT = 528 // { int symlinkat(char *path1, int fd, char *path2); }
297 SYS_SWAPOFF = 529 // { int swapoff(char *name); } 297 SYS_SWAPOFF = 529 // { int swapoff(char *name); }
298 SYS_VQUOTACTL = 530 // { int vquotactl(const char *path, \ 298 SYS_VQUOTACTL = 530 // { int vquotactl(const char *path, struct plistref *pref); }
299 SYS_LINKAT = 531 // { int linkat(int fd1, char *path1, int fd2, \ 299 SYS_LINKAT = 531 // { int linkat(int fd1, char *path1, int fd2, char *path2, int flags); }
300 SYS_EACCESS = 532 // { int eaccess(char *path, int flags); } 300 SYS_EACCESS = 532 // { int eaccess(char *path, int flags); }
301 SYS_LPATHCONF = 533 // { int lpathconf(char *path, int name); } 301 SYS_LPATHCONF = 533 // { int lpathconf(char *path, int name); }
302 SYS_VMM_GUEST_CTL = 534 // { int vmm_guest_ctl(int op, struct vmm_guest_options *options); } 302 SYS_VMM_GUEST_CTL = 534 // { int vmm_guest_ctl(int op, struct vmm_guest_options *options); }
@@ -308,7 +308,7 @@ const (
308 SYS_FUTIMENS = 540 // { int futimens(int fd, const struct timespec *ts); } 308 SYS_FUTIMENS = 540 // { int futimens(int fd, const struct timespec *ts); }
309 SYS_ACCEPT4 = 541 // { int accept4(int s, caddr_t name, int *anamelen, int flags); } 309 SYS_ACCEPT4 = 541 // { int accept4(int s, caddr_t name, int *anamelen, int flags); }
310 SYS_LWP_SETNAME = 542 // { int lwp_setname(lwpid_t tid, const char *name); } 310 SYS_LWP_SETNAME = 542 // { int lwp_setname(lwpid_t tid, const char *name); }
311 SYS_PPOLL = 543 // { int ppoll(struct pollfd *fds, u_int nfds, \ 311 SYS_PPOLL = 543 // { int ppoll(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *sigmask); }
312 SYS_LWP_SETAFFINITY = 544 // { int lwp_setaffinity(pid_t pid, lwpid_t tid, const cpumask_t *mask); } 312 SYS_LWP_SETAFFINITY = 544 // { int lwp_setaffinity(pid_t pid, lwpid_t tid, const cpumask_t *mask); }
313 SYS_LWP_GETAFFINITY = 545 // { int lwp_getaffinity(pid_t pid, lwpid_t tid, cpumask_t *mask); } 313 SYS_LWP_GETAFFINITY = 545 // { int lwp_getaffinity(pid_t pid, lwpid_t tid, cpumask_t *mask); }
314 SYS_LWP_CREATE2 = 546 // { int lwp_create2(struct lwp_params *params, const cpumask_t *mask); } 314 SYS_LWP_CREATE2 = 546 // { int lwp_create2(struct lwp_params *params, const cpumask_t *mask); }