| ... | @@ -100,210 +100,313 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { | ... | @@ -100,210 +100,313 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { |
| 100 | // int select(int nfds, fd_set *_Nullable restrict readfds, fd_set *_Nullable restrict writefds, fd_set *_Nullable restrict exceptfds, struct timeval *_Nullable restrict timeout); | 100 | // int select(int nfds, fd_set *_Nullable restrict readfds, fd_set *_Nullable restrict writefds, fd_set *_Nullable restrict exceptfds, struct timeval *_Nullable restrict timeout); |
| 101 | | 101 | |
| 102 | // sched_yield | 102 | // sched_yield |
| | 103 | // int sched_yield(void); |
| 103 | | 104 | |
| 104 | // mremap | 105 | // mremap |
| | 106 | // void *mremap(void old_address[.old_size], size_t old_size, size_t new_size, int flags, ... /* void *new_address */); |
| 105 | | 107 | |
| 106 | // msync | 108 | // msync |
| | 109 | // int msync(void addr[.length], size_t length, int flags); |
| 107 | | 110 | |
| 108 | // mincore | 111 | // mincore |
| | 112 | // int mincore(void addr[.length], size_t length, unsigned char *vec); |
| 109 | | 113 | |
| 110 | // madvise | 114 | // madvise |
| | 115 | // int madvise(void addr[.length], size_t length, int advice); |
| 111 | | 116 | |
| 112 | // shmget | 117 | // shmget |
| | 118 | // int shmget(key_t key, size_t size, int shmflg); |
| 113 | | 119 | |
| 114 | // shmat | 120 | // shmat |
| | 121 | // void *shmat(int shmid, const void *_Nullable shmaddr, int shmflg); |
| 115 | | 122 | |
| 116 | // shmctl | 123 | // shmctl |
| | 124 | // int shmctl(int shmid, int op, struct shmid_ds *buf); |
| 117 | | 125 | |
| 118 | // dup | 126 | // dup |
| | 127 | // int dup(int oldfd); |
| 119 | | 128 | |
| 120 | // dup2 | 129 | // dup2 |
| | 130 | // int dup2(int oldfd, int newfd); |
| 121 | | 131 | |
| 122 | // pause | 132 | // pause |
| | 133 | // int pause(void); |
| 123 | | 134 | |
| 124 | // nanosleep | 135 | // nanosleep |
| | 136 | // int nanosleep(const struct timespec *duration, struct timespec *_Nullable rem); |
| 125 | | 137 | |
| 126 | // getitimer | 138 | // getitimer |
| | 139 | // int getitimer(int which, struct itimerval *curr_value); |
| 127 | | 140 | |
| 128 | // alarm | 141 | // alarm |
| | 142 | // unsigned int alarm(unsigned int seconds); |
| 129 | | 143 | |
| 130 | // setitimer | 144 | // setitimer |
| | 145 | // int setitimer(int which, const struct itimerval *restrict new_value, struct itimerval *_Nullable restrict old_value); |
| 131 | | 146 | |
| 132 | // getpid | 147 | // getpid |
| | 148 | // pid_t getpid(void); |
| 133 | | 149 | |
| 134 | // sendfile | 150 | // sendfile |
| | 151 | // ssize_t sendfile(int out_fd, int in_fd, off_t *_Nullable offset, size_t count); |
| 135 | | 152 | |
| 136 | // socket | 153 | // socket |
| | 154 | // int socket(int domain, int type, int protocol); |
| 137 | | 155 | |
| 138 | // connect | 156 | // connect |
| | 157 | // int connect(int sockfd, const struct sockaddr *addr, socklen_t addrlen); |
| 139 | | 158 | |
| 140 | // accept | 159 | // accept |
| | 160 | // int accept(int sockfd, struct sockaddr *_Nullable restrict addr, socklen_t *_Nullable restrict addrlen); |
| 141 | | 161 | |
| 142 | // sendto | 162 | // sendto |
| | 163 | // ssize_t sendto(int sockfd, const void buf[.len], size_t len, int flags, const struct sockaddr *dest_addr, socklen_t addrlen); |
| 143 | | 164 | |
| 144 | // recvfrom | 165 | // recvfrom |
| | 166 | // ssize_t recvfrom(int sockfd, void buf[restrict .len], size_t len, int flags, struct sockaddr *_Nullable restrict src_addr, socklen_t *_Nullable restrict addrlen); |
| 145 | | 167 | |
| 146 | // sendmsg | 168 | // sendmsg |
| | 169 | // ssize_t sendmsg(int sockfd, const struct msghdr *msg, int flags); |
| 147 | | 170 | |
| 148 | // recvmsg | 171 | // recvmsg |
| | 172 | // ssize_t recvmsg(int sockfd, struct msghdr *msg, int flags); |
| 149 | | 173 | |
| 150 | // shutdown | 174 | // shutdown |
| | 175 | // int shutdown(int sockfd, int how); |
| 151 | | 176 | |
| 152 | // bind | 177 | // bind |
| | 178 | // int bind(int sockfd, const struct sockaddr *addr, socklen_t addrlen); |
| 153 | | 179 | |
| 154 | // listen | 180 | // listen |
| | 181 | // int listen(int sockfd, int backlog); |
| 155 | | 182 | |
| 156 | // getsockname | 183 | // getsockname |
| | 184 | // int getsockname(int sockfd, struct sockaddr *restrict addr, socklen_t *restrict addrlen); |
| 157 | | 185 | |
| 158 | // getpeername | 186 | // getpeername |
| | 187 | // int getpeername(int sockfd, struct sockaddr *restrict addr, socklen_t *restrict addrlen); |
| 159 | | 188 | |
| 160 | // socketpair | 189 | // socketpair |
| | 190 | // int socketpair(int domain, int type, int protocol, int sv[2]); |
| 161 | | 191 | |
| 162 | // setsockopt | 192 | // setsockopt |
| | 193 | // int setsockopt(int sockfd, int level, int optname, const void optval[.optlen], socklen_t optlen); |
| 163 | | 194 | |
| 164 | // getsockopt | 195 | // getsockopt |
| | 196 | // int getsockopt(int sockfd, int level, int optname, void optval[restrict *.optlen], socklen_t *restrict optlen); |
| 165 | | 197 | |
| 166 | // clone | 198 | // clone |
| | 199 | // int clone(int (*fn)(void *_Nullable), void *stack, int flags, void *_Nullable arg, ... /* pid_t *_Nullable parent_tid, void *_Nullable tls, pid_t *_Nullable child_tid */ ); |
| 167 | | 200 | |
| 168 | // fork | 201 | // fork |
| | 202 | // pid_t fork(void); |
| 169 | | 203 | |
| 170 | // vfork | 204 | // vfork |
| | 205 | // pid_t vfork(void); |
| 171 | | 206 | |
| 172 | // execve | 207 | // execve |
| | 208 | // int execve(const char *pathname, char *const _Nullable argv[], char *const _Nullable envp[]); |
| 173 | | 209 | |
| 174 | // exit | 210 | // exit |
| | 211 | // [[noreturn]] void _exit(int status); |
| 175 | | 212 | |
| 176 | // wait4 | 213 | // wait4 |
| | 214 | // pid_t wait4(pid_t pid, int *_Nullable wstatus, int options, struct rusage *_Nullable rusage); |
| 177 | | 215 | |
| 178 | // kill | 216 | // kill |
| | 217 | // int kill(pid_t pid, int sig); |
| 179 | | 218 | |
| 180 | // uname | 219 | // uname |
| | 220 | // int uname(struct utsname *buf); |
| 181 | | 221 | |
| 182 | // semget | 222 | // semget |
| | 223 | // int semget(key_t key, int nsems, int semflg); |
| 183 | | 224 | |
| 184 | // semop | 225 | // semop |
| | 226 | // int semop(int semid, struct sembuf *sops, size_t nsops); |
| 185 | | 227 | |
| 186 | // semctl | 228 | // semctl |
| | 229 | // int semctl(int semid, int semnum, int op, ...); |
| 187 | | 230 | |
| 188 | // shmdt | 231 | // shmdt |
| | 232 | // int shmdt(const void *shmaddr); |
| 189 | | 233 | |
| 190 | // msgget | 234 | // msgget |
| | 235 | // int msgget(key_t key, int msgflg); |
| 191 | | 236 | |
| 192 | // msgsnd | 237 | // msgsnd |
| | 238 | // int msgsnd(int msqid, const void msgp[.msgsz], size_t msgsz, int msgflg); |
| 193 | | 239 | |
| 194 | // msgrcv | 240 | // msgrcv |
| | 241 | // ssize_t msgrcv(int msqid, void msgp[.msgsz], size_t msgsz, long msgtyp, int msgflg); |
| 195 | | 242 | |
| 196 | // msgctl | 243 | // msgctl |
| | 244 | // int msgctl(int msqid, int op, struct msqid_ds *buf); |
| 197 | | 245 | |
| 198 | // fcntl | 246 | // fcntl |
| | 247 | // int fcntl(int fd, int op, ... /* arg */ ); |
| 199 | | 248 | |
| 200 | // flock | 249 | // flock |
| | 250 | // int flock(int fd, int op); |
| 201 | | 251 | |
| 202 | // fsync | 252 | // fsync |
| | 253 | // int fsync(int fd); |
| 203 | | 254 | |
| 204 | // fdatasync | 255 | // fdatasync |
| | 256 | // int fdatasync(int fd); |
| 205 | | 257 | |
| 206 | // truncate | 258 | // truncate |
| | 259 | // int truncate(const char *path, off_t length); |
| 207 | | 260 | |
| 208 | // ftruncate | 261 | // ftruncate |
| | 262 | // int ftruncate(int fd, off_t length); |
| 209 | | 263 | |
| 210 | // getdents | 264 | // getdents |
| | 265 | // ssize_t getdents64(int fd, void dirp[.count], size_t count); |
| 211 | | 266 | |
| 212 | // getcwd | 267 | // getcwd |
| | 268 | // char *getcwd(char buf[.size], size_t size); |
| 213 | | 269 | |
| 214 | // chdir | 270 | // chdir |
| | 271 | // int chdir(const char *path); |
| 215 | | 272 | |
| 216 | // fchdir | 273 | // fchdir |
| | 274 | // int fchdir(int fd); |
| 217 | | 275 | |
| 218 | // rename | 276 | // rename |
| | 277 | // int rename(const char *oldpath, const char *newpath); |
| 219 | | 278 | |
| 220 | // mkdir | 279 | // mkdir |
| | 280 | // int mkdir(const char *pathname, mode_t mode); |
| 221 | | 281 | |
| 222 | // rmdir | 282 | // rmdir |
| | 283 | // int rmdir(const char *pathname); |
| 223 | | 284 | |
| 224 | // creat | 285 | // creat |
| | 286 | // int creat(const char *pathname, mode_t mode); |
| 225 | | 287 | |
| 226 | // link | 288 | // link |
| | 289 | // int link(const char *oldpath, const char *newpath); |
| 227 | | 290 | |
| 228 | // unlink | 291 | // unlink |
| | 292 | // int unlink(const char *pathname); |
| 229 | | 293 | |
| 230 | // symlink | 294 | // symlink |
| | 295 | // int symlink(const char *target, const char *linkpath); |
| 231 | | 296 | |
| 232 | // readlink | 297 | // readlink |
| | 298 | // ssize_t readlink(const char *restrict pathname, char *restrict buf, size_t bufsiz); |
| 233 | | 299 | |
| 234 | // chmod | 300 | // chmod |
| | 301 | // int chmod(const char *pathname, mode_t mode); |
| 235 | | 302 | |
| 236 | // fchmod | 303 | // fchmod |
| | 304 | // int fchmod(int fd, mode_t mode); |
| 237 | | 305 | |
| 238 | // chown | 306 | // chown |
| | 307 | // int chown(const char *pathname, uid_t owner, gid_t group); |
| 239 | | 308 | |
| 240 | // fchown | 309 | // fchown |
| | 310 | // int fchown(int fd, uid_t owner, gid_t group); |
| 241 | | 311 | |
| 242 | // lchown | 312 | // lchown |
| | 313 | // int lchown(const char *pathname, uid_t owner, gid_t group); |
| 243 | | 314 | |
| 244 | // umask | 315 | // umask |
| | 316 | // mode_t umask(mode_t mask); |
| 245 | | 317 | |
| 246 | // gettimeofday | 318 | // gettimeofday |
| | 319 | // int gettimeofday(struct timeval *restrict tv, struct timezone *_Nullable restrict tz); |
| 247 | | 320 | |
| 248 | // getrlimit | 321 | // getrlimit |
| | 322 | // int getrlimit(int resource, struct rlimit *rlim); |
| 249 | | 323 | |
| 250 | // getrusage | 324 | // getrusage |
| | 325 | // int getrusage(int who, struct rusage *usage); |
| 251 | | 326 | |
| 252 | // sysinfo | 327 | // sysinfo |
| | 328 | // int sysinfo(struct sysinfo *info); |
| 253 | | 329 | |
| 254 | // times | 330 | // times |
| | 331 | // clock_t times(struct tms *buf); |
| 255 | | 332 | |
| 256 | // ptrace | 333 | // ptrace |
| | 334 | // long ptrace(enum __ptrace_request op, pid_t pid, void *addr, void *data); |
| 257 | | 335 | |
| 258 | // getuid | 336 | // getuid |
| | 337 | // uid_t getuid(void); |
| 259 | | 338 | |
| 260 | // syslog | 339 | // syslog |
| | 340 | // int syscall(SYS_syslog, int type, char *bufp, int len); |
| 261 | | 341 | |
| 262 | // getgid | 342 | // getgid |
| | 343 | // gid_t getgid(void); |
| 263 | | 344 | |
| 264 | // setuid | 345 | // setuid |
| | 346 | // int setuid(uid_t uid); |
| 265 | | 347 | |
| 266 | // setgid | 348 | // setgid |
| | 349 | // int setgid(gid_t gid); |
| 267 | | 350 | |
| 268 | // geteuid | 351 | // geteuid |
| | 352 | // uid_t geteuid(void); |
| 269 | | 353 | |
| 270 | // getegid | 354 | // getegid |
| | 355 | // gid_t getegid(void); |
| 271 | | 356 | |
| 272 | // setpgid | 357 | // setpgid |
| | 358 | // int setpgid(pid_t pid, pid_t pgid); |
| 273 | | 359 | |
| 274 | // getppid | 360 | // getppid |
| | 361 | // pid_t getppid(void); |
| 275 | | 362 | |
| 276 | // getpgrp | 363 | // getpgrp |
| | 364 | // pid_t getpgrp(void); |
| 277 | | 365 | |
| 278 | // setsid | 366 | // setsid |
| | 367 | // pid_t setsid(void); |
| 279 | | 368 | |
| 280 | // setreuid | 369 | // setreuid |
| | 370 | // int setreuid(uid_t ruid, uid_t euid); |
| 281 | | 371 | |
| 282 | // setregid | 372 | // setregid |
| | 373 | // int setregid(gid_t rgid, gid_t egid); |
| 283 | | 374 | |
| 284 | // getgroups | 375 | // getgroups |
| | 376 | // int getgroups(int size, gid_t list[]); |
| 285 | | 377 | |
| 286 | // setgroups | 378 | // setgroups |
| | 379 | // int setgroups(size_t size, const gid_t *_Nullable list); |
| 287 | | 380 | |
| 288 | // setresuid | 381 | // setresuid |
| | 382 | // int setresuid(uid_t ruid, uid_t euid, uid_t suid); |
| 289 | | 383 | |
| 290 | // getresuid | 384 | // getresuid |
| | 385 | // int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); |
| 291 | | 386 | |
| 292 | // setresgid | 387 | // setresgid |
| | 388 | // int setresgid(gid_t rgid, gid_t egid, gid_t sgid); |
| 293 | | 389 | |
| 294 | // getresgid | 390 | // getresgid |
| | 391 | // int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); |
| 295 | | 392 | |
| 296 | // getpgid | 393 | // getpgid |
| | 394 | // pid_t getpgid(pid_t pid); |
| 297 | | 395 | |
| 298 | // setfsuid | 396 | // setfsuid |
| | 397 | // [[deprecated]] int setfsuid(uid_t fsuid); |
| 299 | | 398 | |
| 300 | // setfsgid | 399 | // setfsgid |
| | 400 | // [[deprecated]] int setfsgid(gid_t fsgid); |
| 301 | | 401 | |
| 302 | // getsid | 402 | // getsid |
| | 403 | // pid_t getsid(pid_t pid); |
| 303 | | 404 | |
| 304 | // capget | 405 | // capget |
| | 406 | // int syscall(SYS_capget, cap_user_header_t hdrp, cap_user_data_t datap); |
| 305 | | 407 | |
| 306 | // capset | 408 | // capset |
| | 409 | // int syscall(SYS_capset, cap_user_header_t hdrp, const cap_user_data_t datap); |
| 307 | | 410 | |
| 308 | // rt_sigpending | 411 | // rt_sigpending |
| 309 | | 412 | |
| ... | @@ -314,40 +417,57 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { | ... | @@ -314,40 +417,57 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { |
| 314 | // rt_sigsuspend | 417 | // rt_sigsuspend |
| 315 | | 418 | |
| 316 | // sigaltstack | 419 | // sigaltstack |
| | 420 | // int sigaltstack(const stack_t *_Nullable restrict ss, stack_t *_Nullable restrict old_ss); |
| 317 | | 421 | |
| 318 | // utime | 422 | // utime |
| | 423 | // int utime(const char *filename, const struct utimbuf *_Nullable times); |
| 319 | | 424 | |
| 320 | // mknod | 425 | // mknod |
| | 426 | // int mknod(const char *pathname, mode_t mode, dev_t dev); |
| 321 | | 427 | |
| 322 | // uselib | 428 | // uselib |
| | 429 | // [[deprecated]] int uselib(const char *library); |
| 323 | | 430 | |
| 324 | // personality | 431 | // personality |
| | 432 | // int personality(unsigned long persona); |
| 325 | | 433 | |
| 326 | // ustat | 434 | // ustat |
| | 435 | // [[deprecated]] int ustat(dev_t dev, struct ustat *ubuf); |
| 327 | | 436 | |
| 328 | // statfs | 437 | // statfs |
| | 438 | // int statfs(const char *path, struct statfs *buf); |
| 329 | | 439 | |
| 330 | // fstatfs | 440 | // fstatfs |
| | 441 | // int fstatfs(int fd, struct statfs *buf); |
| 331 | | 442 | |
| 332 | // sysfs | 443 | // sysfs |
| 333 | | 444 | |
| 334 | // getpriority | 445 | // getpriority |
| | 446 | // int getpriority(int which, id_t who); |
| 335 | | 447 | |
| 336 | // setpriority | 448 | // setpriority |
| | 449 | // int setpriority(int which, id_t who, int prio); |
| 337 | | 450 | |
| 338 | // sched_setparam | 451 | // sched_setparam |
| | 452 | // int sched_setparam(pid_t pid, const struct sched_param *param); |
| 339 | | 453 | |
| 340 | // sched_getparam | 454 | // sched_getparam |
| | 455 | // int sched_getparam(pid_t pid, struct sched_param *param); |
| 341 | | 456 | |
| 342 | // sched_setscheduler | 457 | // sched_setscheduler |
| | 458 | // int sched_setscheduler(pid_t pid, int policy, const struct sched_param *param); |
| 343 | | 459 | |
| 344 | // sched_getscheduler | 460 | // sched_getscheduler |
| | 461 | // int sched_getscheduler(pid_t pid); |
| 345 | | 462 | |
| 346 | // sched_get_priority_max | 463 | // sched_get_priority_max |
| | 464 | // int sched_get_priority_max(int policy); |
| 347 | | 465 | |
| 348 | // sched_get_priority_min | 466 | // sched_get_priority_min |
| | 467 | // int sched_get_priority_min(int policy); |
| 349 | | 468 | |
| 350 | // sched_rr_get_interval | 469 | // sched_rr_get_interval |
| | 470 | // int sched_rr_get_interval(pid_t pid, struct timespec *tp); |
| 351 | | 471 | |
| 352 | // mlock | 472 | // mlock |
| 353 | | 473 | |
| ... | @@ -372,6 +492,7 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { | ... | @@ -372,6 +492,7 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { |
| 372 | // adjtimex | 492 | // adjtimex |
| 373 | | 493 | |
| 374 | // setrlimit | 494 | // setrlimit |
| | 495 | // int setrlimit(int resource, const struct rlimit *rlim); |
| 375 | | 496 | |
| 376 | // chroot | 497 | // chroot |
| 377 | | 498 | |
| ... | @@ -380,6 +501,7 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { | ... | @@ -380,6 +501,7 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { |
| 380 | // acct | 501 | // acct |
| 381 | | 502 | |
| 382 | // settimeofday | 503 | // settimeofday |
| | 504 | // int settimeofday(const struct timeval *tv, const struct timezone *_Nullable tz); |
| 383 | | 505 | |
| 384 | // mount | 506 | // mount |
| 385 | | 507 | |
| ... | @@ -522,6 +644,7 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { | ... | @@ -522,6 +644,7 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { |
| 522 | // tgkill | 644 | // tgkill |
| 523 | | 645 | |
| 524 | // utimes | 646 | // utimes |
| | 647 | // int utimes(const char *filename, const struct timeval times[_Nullable 2]); |
| 525 | | 648 | |
| 526 | // vserver | 649 | // vserver |
| 527 | | 650 | |
| ... | @@ -569,8 +692,10 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { | ... | @@ -569,8 +692,10 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { |
| 569 | // int openat(int dirfd, const char *pathname, int flags, ... /* mode_t mode */ ); | 692 | // int openat(int dirfd, const char *pathname, int flags, ... /* mode_t mode */ ); |
| 570 | | 693 | |
| 571 | // mkdirat | 694 | // mkdirat |
| | 695 | // int mkdirat(int dirfd, const char *pathname, mode_t mode); |
| 572 | | 696 | |
| 573 | // mknodat | 697 | // mknodat |
| | 698 | // int mknodat(int dirfd, const char *pathname, mode_t mode, dev_t dev); |
| 574 | | 699 | |
| 575 | // fchownat | 700 | // fchownat |
| 576 | | 701 | |
| ... | @@ -580,16 +705,22 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { | ... | @@ -580,16 +705,22 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { |
| 580 | // int fstatat(int dirfd, const char *restrict pathname, struct stat *restrict statbuf, int flags); | 705 | // int fstatat(int dirfd, const char *restrict pathname, struct stat *restrict statbuf, int flags); |
| 581 | | 706 | |
| 582 | // unlinkat | 707 | // unlinkat |
| | 708 | // int unlinkat(int dirfd, const char *pathname, int flags); |
| 583 | | 709 | |
| 584 | // renameat | 710 | // renameat |
| | 711 | // int renameat(int olddirfd, const char *oldpath, int newdirfd, const char *newpath); |
| 585 | | 712 | |
| 586 | // linkat | 713 | // linkat |
| | 714 | // int linkat(int olddirfd, const char *oldpath, int newdirfd, const char *newpath, int flags); |
| 587 | | 715 | |
| 588 | // symlinkat | 716 | // symlinkat |
| | 717 | // int symlinkat(const char *target, int newdirfd, const char *linkpath); |
| 589 | | 718 | |
| 590 | // readlinkat | 719 | // readlinkat |
| | 720 | // ssize_t readlinkat(int dirfd, const char *restrict pathname, char *restrict buf, size_t bufsiz); |
| 591 | | 721 | |
| 592 | // fchmodat | 722 | // fchmodat |
| | 723 | // int fchmodat(int dirfd, const char *pathname, mode_t mode, int flags); |
| 593 | | 724 | |
| 594 | // faccessat | 725 | // faccessat |
| 595 | // int faccessat(int dirfd, const char *pathname, int mode, int flags); | 726 | // int faccessat(int dirfd, const char *pathname, int mode, int flags); |
| ... | @@ -601,6 +732,7 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { | ... | @@ -601,6 +732,7 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { |
| 601 | // int ppoll(struct pollfd *fds, nfds_t nfds, const struct timespec *_Nullable tmo_p, const sigset_t *_Nullable sigmask); | 732 | // int ppoll(struct pollfd *fds, nfds_t nfds, const struct timespec *_Nullable tmo_p, const sigset_t *_Nullable sigmask); |
| 602 | | 733 | |
| 603 | // unshare | 734 | // unshare |
| | 735 | // int unshare(int flags); |
| 604 | | 736 | |
| 605 | // set_robust_list | 737 | // set_robust_list |
| 606 | | 738 | |
| ... | @@ -633,6 +765,7 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { | ... | @@ -633,6 +765,7 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { |
| 633 | // timerfd_gettime | 765 | // timerfd_gettime |
| 634 | | 766 | |
| 635 | // accept4 | 767 | // accept4 |
| | 768 | // int accept4(int sockfd, struct sockaddr *_Nullable restrict addr, socklen_t *_Nullable restrict addrlen, int flags); |
| 636 | | 769 | |
| 637 | // signalfd4 | 770 | // signalfd4 |
| 638 | | 771 | |
| ... | @@ -641,6 +774,7 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { | ... | @@ -641,6 +774,7 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { |
| 641 | // epoll_create1 | 774 | // epoll_create1 |
| 642 | | 775 | |
| 643 | // dup3 | 776 | // dup3 |
| | 777 | // int dup3(int oldfd, int newfd, int flags); |
| 644 | | 778 | |
| 645 | // pipe2 | 779 | // pipe2 |
| 646 | // int pipe2(int pipefd[2], int flags); | 780 | // int pipe2(int pipefd[2], int flags); |
| ... | @@ -664,6 +798,7 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { | ... | @@ -664,6 +798,7 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { |
| 664 | // fanotify_mark | 798 | // fanotify_mark |
| 665 | | 799 | |
| 666 | // prlimit64 | 800 | // prlimit64 |
| | 801 | // int prlimit(pid_t pid, int resource, const struct rlimit *_Nullable new_limit, struct rlimit *_Nullable old_limit); |
| 667 | | 802 | |
| 668 | // name_to_handle_at | 803 | // name_to_handle_at |
| 669 | | 804 | |
| ... | @@ -692,6 +827,7 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { | ... | @@ -692,6 +827,7 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { |
| 692 | // sched_getattr | 827 | // sched_getattr |
| 693 | | 828 | |
| 694 | // renameat2 | 829 | // renameat2 |
| | 830 | // int renameat2(int olddirfd, const char *oldpath, int newdirfd, const char *newpath, unsigned int flags); |
| 695 | | 831 | |
| 696 | // seccomp | 832 | // seccomp |
| 697 | | 833 | |