OLD | NEW |
1 // mksysnum_netbsd.pl | 1 // mksysnum_netbsd.pl |
2 // MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT | 2 // MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT |
3 | 3 |
4 package syscall | 4 package unix |
5 | 5 |
6 const ( | 6 const ( |
7 SYS_EXIT = 1 // { void|sys||exit(int rval); } | 7 SYS_EXIT = 1 // { void|sys||exit(int rval); } |
8 SYS_FORK = 2 // { int|sys||fork(void); } | 8 SYS_FORK = 2 // { int|sys||fork(void); } |
9 SYS_READ = 3 // { ssize_t|sys||read(int fd, void *buf,
size_t nbyte); } | 9 SYS_READ = 3 // { ssize_t|sys||read(int fd, void *buf,
size_t nbyte); } |
10 SYS_WRITE = 4 // { ssize_t|sys||write(int fd, const voi
d *buf, size_t nbyte); } | 10 SYS_WRITE = 4 // { ssize_t|sys||write(int fd, const voi
d *buf, size_t nbyte); } |
11 SYS_OPEN = 5 // { int|sys||open(const char *path, int
flags, ... mode_t mode); } | 11 SYS_OPEN = 5 // { int|sys||open(const char *path, int
flags, ... mode_t mode); } |
12 SYS_CLOSE = 6 // { int|sys||close(int fd); } | 12 SYS_CLOSE = 6 // { int|sys||close(int fd); } |
13 SYS_LINK = 9 // { int|sys||link(const char *path, cons
t char *link); } | 13 SYS_LINK = 9 // { int|sys||link(const char *path, cons
t char *link); } |
14 SYS_UNLINK = 10 // { int|sys||unlink(const char *path); } | 14 SYS_UNLINK = 10 // { int|sys||unlink(const char *path); } |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 SYS_OPENAT = 468 // { int|sys||openat(int fd, const char *
path, int oflags, ... mode_t mode); } | 262 SYS_OPENAT = 468 // { int|sys||openat(int fd, const char *
path, int oflags, ... mode_t mode); } |
263 SYS_READLINKAT = 469 // { int|sys||readlinkat(int fd, const ch
ar *path, char *buf, size_t bufsize); } | 263 SYS_READLINKAT = 469 // { int|sys||readlinkat(int fd, const ch
ar *path, char *buf, size_t bufsize); } |
264 SYS_SYMLINKAT = 470 // { int|sys||symlinkat(const char *path1
, int fd, const char *path2); } | 264 SYS_SYMLINKAT = 470 // { int|sys||symlinkat(const char *path1
, int fd, const char *path2); } |
265 SYS_UNLINKAT = 471 // { int|sys||unlinkat(int fd, const char
*path, int flag); } | 265 SYS_UNLINKAT = 471 // { int|sys||unlinkat(int fd, const char
*path, int flag); } |
266 SYS_FUTIMENS = 472 // { int|sys||futimens(int fd, const stru
ct timespec *tptr); } | 266 SYS_FUTIMENS = 472 // { int|sys||futimens(int fd, const stru
ct timespec *tptr); } |
267 SYS___QUOTACTL = 473 // { int|sys||__quotactl(const char *path
, struct quotactl_args *args); } | 267 SYS___QUOTACTL = 473 // { int|sys||__quotactl(const char *path
, struct quotactl_args *args); } |
268 SYS_POSIX_SPAWN = 474 // { int|sys||posix_spawn(pid_t *pid, con
st char *path, const struct posix_spawn_file_actions *file_actions, const struct
posix_spawnattr *attrp, char *const *argv, char *const *envp); } | 268 SYS_POSIX_SPAWN = 474 // { int|sys||posix_spawn(pid_t *pid, con
st char *path, const struct posix_spawn_file_actions *file_actions, const struct
posix_spawnattr *attrp, char *const *argv, char *const *envp); } |
269 SYS_RECVMMSG = 475 // { int|sys||recvmmsg(int s, struct mmsg
hdr *mmsg, unsigned int vlen, unsigned int flags, struct timespec *timeout); } | 269 SYS_RECVMMSG = 475 // { int|sys||recvmmsg(int s, struct mmsg
hdr *mmsg, unsigned int vlen, unsigned int flags, struct timespec *timeout); } |
270 SYS_SENDMMSG = 476 // { int|sys||sendmmsg(int s, struct mmsg
hdr *mmsg, unsigned int vlen, unsigned int flags); } | 270 SYS_SENDMMSG = 476 // { int|sys||sendmmsg(int s, struct mmsg
hdr *mmsg, unsigned int vlen, unsigned int flags); } |
271 ) | 271 ) |
OLD | NEW |