| ... | @@ -470,70 +470,99 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { | ... | @@ -470,70 +470,99 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { |
| 470 | // int sched_rr_get_interval(pid_t pid, struct timespec *tp); | 470 | // int sched_rr_get_interval(pid_t pid, struct timespec *tp); |
| 471 | | 471 | |
| 472 | // mlock | 472 | // mlock |
| | 473 | // int mlock(const void addr[.len], size_t len); |
| 473 | | 474 | |
| 474 | // munlock | 475 | // munlock |
| | 476 | // int munlock(const void addr[.len], size_t len); |
| 475 | | 477 | |
| 476 | // mlockall | 478 | // mlockall |
| | 479 | // int mlockall(int flags); |
| 477 | | 480 | |
| 478 | // munlockall | 481 | // munlockall |
| | 482 | // int munlockall(void); |
| 479 | | 483 | |
| 480 | // vhangup | 484 | // vhangup |
| | 485 | // int vhangup(void); |
| 481 | | 486 | |
| 482 | // modify_ldt | 487 | // modify_ldt |
| | 488 | // int syscall(SYS_modify_ldt, int func, void ptr[.bytecount], unsigned long bytecount); |
| 483 | | 489 | |
| 484 | // pivot_root | 490 | // pivot_root |
| | 491 | // int syscall(SYS_pivot_root, const char *new_root, const char *put_old); |
| 485 | | 492 | |
| 486 | // _sysctl | 493 | // _sysctl |
| | 494 | // [[deprecated]] int _sysctl(struct __sysctl_args *args); |
| 487 | | 495 | |
| 488 | // prctl | 496 | // prctl |
| | 497 | // int prctl(int op, ... /* unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5 */ ); |
| 489 | | 498 | |
| 490 | // arch_prctl | 499 | // arch_prctl |
| 491 | | 500 | |
| 492 | // adjtimex | 501 | // adjtimex |
| | 502 | // int adjtimex(struct timex *buf); |
| 493 | | 503 | |
| 494 | // setrlimit | 504 | // setrlimit |
| 495 | // int setrlimit(int resource, const struct rlimit *rlim); | 505 | // int setrlimit(int resource, const struct rlimit *rlim); |
| 496 | | 506 | |
| 497 | // chroot | 507 | // chroot |
| | 508 | // int chroot(const char *path); |
| 498 | | 509 | |
| 499 | // sync | 510 | // sync |
| | 511 | // void sync(void); |
| 500 | | 512 | |
| 501 | // acct | 513 | // acct |
| | 514 | // int acct(const char *_Nullable filename); |
| 502 | | 515 | |
| 503 | // settimeofday | 516 | // settimeofday |
| 504 | // int settimeofday(const struct timeval *tv, const struct timezone *_Nullable tz); | 517 | // int settimeofday(const struct timeval *tv, const struct timezone *_Nullable tz); |
| 505 | | 518 | |
| 506 | // mount | 519 | // mount |
| | 520 | // int mount(const char *source, const char *target, const char *filesystemtype, unsigned long mountflags, const void *_Nullable data); |
| 507 | | 521 | |
| 508 | // umount2 | 522 | // umount2 |
| | 523 | // int umount2(const char *target, int flags); |
| 509 | | 524 | |
| 510 | // swapon | 525 | // swapon |
| | 526 | // int swapon(const char *path, int swapflags); |
| 511 | | 527 | |
| 512 | // swapoff | 528 | // swapoff |
| | 529 | // int swapoff(const char *path); |
| 513 | | 530 | |
| 514 | // reboot | 531 | // reboot |
| | 532 | // int reboot(int op); |
| 515 | | 533 | |
| 516 | // sethostname | 534 | // sethostname |
| | 535 | // int sethostname(const char *name, size_t len); |
| 517 | | 536 | |
| 518 | // setdomainname | 537 | // setdomainname |
| | 538 | // int setdomainname(const char *name, size_t len); |
| 519 | | 539 | |
| 520 | // iopl | 540 | // iopl |
| | 541 | // [[deprecated]] int iopl(int level); |
| 521 | | 542 | |
| 522 | // ioperm | 543 | // ioperm |
| | 544 | // int ioperm(unsigned long from, unsigned long num, int turn_on); |
| 523 | | 545 | |
| 524 | // create_module | 546 | // create_module |
| | 547 | // [[deprecated]] caddr_t create_module(const char *name, size_t size); |
| 525 | | 548 | |
| 526 | // init_module | 549 | // init_module |
| | 550 | // int syscall(SYS_init_module, void module_image[.len], unsigned long len, const char *param_values); |
| 527 | | 551 | |
| 528 | // delete_module | 552 | // delete_module |
| | 553 | // int syscall(SYS_delete_module, const char *name, unsigned int flags); |
| 529 | | 554 | |
| 530 | // get_kernel_syms | 555 | // get_kernel_syms |
| | 556 | // [[deprecated]] int get_kernel_syms(struct kernel_sym *table); |
| 531 | | 557 | |
| 532 | // query_module | 558 | // query_module |
| | 559 | // [[deprecated]] int query_module(const char *name, int which, void buf[.bufsize], size_t bufsize, size_t *ret); |
| 533 | | 560 | |
| 534 | // quotactl | 561 | // quotactl |
| | 562 | // int quotactl(int op, const char *_Nullable special, int id, caddr_t addr); |
| 535 | | 563 | |
| 536 | // nfsservctl | 564 | // nfsservctl |
| | 565 | // long nfsservctl(int cmd, struct nfsctl_arg *argp, union nfsctl_res *resp); |
| 537 | | 566 | |
| 538 | // getpmsg | 567 | // getpmsg |
| 539 | | 568 | |
| ... | @@ -546,102 +575,147 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { | ... | @@ -546,102 +575,147 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { |
| 546 | // security | 575 | // security |
| 547 | | 576 | |
| 548 | // gettid | 577 | // gettid |
| | 578 | // pid_t gettid(void); |
| 549 | | 579 | |
| 550 | // readahead | 580 | // readahead |
| | 581 | // ssize_t readahead(int fd, off_t offset, size_t count); |
| 551 | | 582 | |
| 552 | // setxattr | 583 | // setxattr |
| | 584 | // int setxattr(const char *path, const char *name, const void value[.size], size_t size, int flags); |
| 553 | | 585 | |
| 554 | // lsetxattr | 586 | // lsetxattr |
| | 587 | // int lsetxattr(const char *path, const char *name, const void value[.size], size_t size, int flags); |
| 555 | | 588 | |
| 556 | // fsetxattr | 589 | // fsetxattr |
| | 590 | // int fsetxattr(int fd, const char *name, const void value[.size], size_t size, int flags); |
| 557 | | 591 | |
| 558 | // getxattr | 592 | // getxattr |
| | 593 | // ssize_t getxattr(const char *path, const char *name, void value[.size], size_t size); |
| 559 | | 594 | |
| 560 | // lgetxattr | 595 | // lgetxattr |
| | 596 | // ssize_t lgetxattr(const char *path, const char *name, void value[.size], size_t size); |
| 561 | | 597 | |
| 562 | // fgetxattr | 598 | // fgetxattr |
| | 599 | // ssize_t fgetxattr(int fd, const char *name, void value[.size], size_t size); |
| 563 | | 600 | |
| 564 | // listxattr | 601 | // listxattr |
| | 602 | // ssize_t listxattr(const char *path, char *_Nullable list, size_t size); |
| 565 | | 603 | |
| 566 | // llistxattr | 604 | // llistxattr |
| | 605 | // ssize_t llistxattr(const char *path, char *_Nullable list, size_t size); |
| 567 | | 606 | |
| 568 | // flistxattr | 607 | // flistxattr |
| | 608 | // ssize_t flistxattr(int fd, char *_Nullable list, size_t size); |
| 569 | | 609 | |
| 570 | // removexattr | 610 | // removexattr |
| | 611 | // int removexattr(const char *path, const char *name); |
| 571 | | 612 | |
| 572 | // lremovexattr | 613 | // lremovexattr |
| | 614 | // int lremovexattr(const char *path, const char *name); |
| 573 | | 615 | |
| 574 | // fremovexattr | 616 | // fremovexattr |
| | 617 | // int fremovexattr(int fd, const char *name); |
| 575 | | 618 | |
| 576 | // tkill | 619 | // tkill |
| | 620 | // [[deprecated]] int syscall(SYS_tkill, pid_t tid, int sig); |
| 577 | | 621 | |
| 578 | // time | 622 | // time |
| | 623 | // time_t time(time_t *_Nullable tloc); |
| 579 | | 624 | |
| 580 | // futex | 625 | // futex |
| | 626 | // long syscall(SYS_futex, uint32_t *uaddr, int futex_op, uint32_t val, const struct timespec *timeout, /* or: uint32_t val2 */ uint32_t *uaddr2, uint32_t val3); |
| 581 | | 627 | |
| 582 | // sched_setaffinity | 628 | // sched_setaffinity |
| | 629 | // int sched_setaffinity(pid_t pid, size_t cpusetsize, const cpu_set_t *mask); |
| 583 | | 630 | |
| 584 | // sched_getaffinity | 631 | // sched_getaffinity |
| | 632 | // int sched_getaffinity(pid_t pid, size_t cpusetsize, cpu_set_t *mask); |
| 585 | | 633 | |
| 586 | // set_thread_area | 634 | // set_thread_area |
| 587 | | 635 | |
| 588 | // io_setup | 636 | // io_setup |
| | 637 | // long io_setup(unsigned int nr_events, aio_context_t *ctx_idp); |
| 589 | | 638 | |
| 590 | // io_destroy | 639 | // io_destroy |
| | 640 | // int syscall(SYS_io_destroy, aio_context_t ctx_id); |
| 591 | | 641 | |
| 592 | // io_getevents | 642 | // io_getevents |
| | 643 | // int syscall(SYS_io_getevents, aio_context_t ctx_id, long min_nr, long nr, struct io_event *events, struct timespec *timeout); |
| 593 | | 644 | |
| 594 | // io_submit | 645 | // io_submit |
| | 646 | // int io_submit(aio_context_t ctx_id, long nr, struct iocb **iocbpp); |
| 595 | | 647 | |
| 596 | // io_cancel | 648 | // io_cancel |
| | 649 | // int syscall(SYS_io_cancel, aio_context_t ctx_id, struct iocb *iocb, struct io_event *result); |
| 597 | | 650 | |
| 598 | // get_thread_area | 651 | // get_thread_area |
| 599 | | 652 | |
| 600 | // lookup_dcookie | 653 | // lookup_dcookie |
| | 654 | // int syscall(SYS_lookup_dcookie, uint64_t cookie, char *buffer, size_t len); |
| 601 | | 655 | |
| 602 | // epoll_create | 656 | // epoll_create |
| | 657 | // int epoll_create(int size); |
| 603 | | 658 | |
| 604 | // epoll_ctl_old | 659 | // epoll_ctl_old |
| | 660 | // int epoll_ctl(int epfd, int op, int fd, struct epoll_event *_Nullable event); |
| 605 | | 661 | |
| 606 | // epoll_wait_old | 662 | // epoll_wait_old |
| | 663 | // int epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout); |
| 607 | | 664 | |
| 608 | // remap_file_pages | 665 | // remap_file_pages |
| | 666 | // [[deprecated]] int remap_file_pages(void addr[.size], size_t size, int prot, size_t pgoff, int flags); |
| 609 | | 667 | |
| 610 | // getdents64 | 668 | // getdents64 |
| | 669 | // ssize_t getdents64(int fd, void dirp[.count], size_t count); |
| 611 | | 670 | |
| 612 | // set_tid_address | 671 | // set_tid_address |
| | 672 | // pid_t syscall(SYS_set_tid_address, int *tidptr); |
| 613 | | 673 | |
| 614 | // restart_syscall | 674 | // restart_syscall |
| 615 | | 675 | |
| 616 | // semtimedop | 676 | // semtimedop |
| | 677 | // int semtimedop(int semid, struct sembuf *sops, size_t nsops, const struct timespec *_Nullable timeout); |
| 617 | | 678 | |
| 618 | // fadvise64 | 679 | // fadvise64 |
| 619 | | 680 | |
| 620 | // timer_create | 681 | // timer_create |
| | 682 | // int timer_create(clockid_t clockid, struct sigevent *_Nullable restrict sevp, timer_t *restrict timerid); |
| 621 | | 683 | |
| 622 | // timer_settime | 684 | // timer_settime |
| | 685 | // int timer_settime(timer_t timerid, int flags, const struct itimerspec *restrict new_value, struct itimerspec *_Nullable restrict old_value); |
| 623 | | 686 | |
| 624 | // timer_gettime | 687 | // timer_gettime |
| | 688 | // int timer_gettime(timer_t timerid, struct itimerspec *curr_value); |
| 625 | | 689 | |
| 626 | // timer_getoverrun | 690 | // timer_getoverrun |
| | 691 | // int timer_getoverrun(timer_t timerid); |
| 627 | | 692 | |
| 628 | // timer_delete | 693 | // timer_delete |
| | 694 | // int timer_delete(timer_t timerid); |
| 629 | | 695 | |
| 630 | // clock_settime | 696 | // clock_settime |
| | 697 | // int clock_settime(clockid_t clockid, const struct timespec *tp); |
| 631 | | 698 | |
| 632 | // clock_gettime | 699 | // clock_gettime |
| | 700 | // int clock_gettime(clockid_t clockid, struct timespec *tp); |
| 633 | | 701 | |
| 634 | // clock_getres | 702 | // clock_getres |
| | 703 | // int clock_getres(clockid_t clockid, struct timespec *_Nullable res); |
| 635 | | 704 | |
| 636 | // clock_nanosleep | 705 | // clock_nanosleep |
| | 706 | // int clock_nanosleep(clockid_t clockid, int flags, const struct timespec *t, struct timespec *_Nullable remain); |
| 637 | | 707 | |
| 638 | // exit_group | 708 | // exit_group |
| | 709 | // [[noreturn]] void syscall(SYS_exit_group, int status); |
| 639 | | 710 | |
| 640 | // epoll_wait | 711 | // epoll_wait |
| | 712 | // int epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout); |
| 641 | | 713 | |
| 642 | // epoll_ctl | 714 | // epoll_ctl |
| | 715 | // int epoll_ctl(int epfd, int op, int fd, struct epoll_event *_Nullable event); |
| 643 | | 716 | |
| 644 | // tgkill | 717 | // tgkill |
| | 718 | // int tgkill(pid_t tgid, pid_t tid, int sig); |
| 645 | | 719 | |
| 646 | // utimes | 720 | // utimes |
| 647 | // int utimes(const char *filename, const struct timeval times[_Nullable 2]); | 721 | // int utimes(const char *filename, const struct timeval times[_Nullable 2]); |
| ... | @@ -649,44 +723,64 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { | ... | @@ -649,44 +723,64 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { |
| 649 | // vserver | 723 | // vserver |
| 650 | | 724 | |
| 651 | // mbind | 725 | // mbind |
| | 726 | // long mbind(void addr[.len], unsigned long len, int mode, const unsigned long nodemask[(.maxnode + ULONG_WIDTH - 1) / ULONG_WIDTH], unsigned long maxnode, unsigned int flags); |
| 652 | | 727 | |
| 653 | // set_mempolicy | 728 | // set_mempolicy |
| | 729 | // long set_mempolicy(int mode, const unsigned long *nodemask, unsigned long maxnode); |
| 654 | | 730 | |
| 655 | // get_mempolicy | 731 | // get_mempolicy |
| | 732 | // long get_mempolicy(int *mode, unsigned long nodemask[(.maxnode + ULONG_WIDTH - 1) / ULONG_WIDTH], unsigned long maxnode, void *addr, unsigned long flags); |
| 656 | | 733 | |
| 657 | // mq_open | 734 | // mq_open |
| | 735 | // mqd_t mq_open(const char *name, int oflag, mode_t mode, struct mq_attr *attr); |
| 658 | | 736 | |
| 659 | // mq_unlink | 737 | // mq_unlink |
| | 738 | // int mq_unlink(const char *name); |
| 660 | | 739 | |
| 661 | // mq_timedsend | 740 | // mq_timedsend |
| | 741 | // int mq_timedsend(mqd_t mqdes, const char msg_ptr[.msg_len], size_t msg_len, unsigned int msg_prio, const struct timespec *abs_timeout); |
| 662 | | 742 | |
| 663 | // mq_timedreceive | 743 | // mq_timedreceive |
| | 744 | // ssize_t mq_timedreceive(mqd_t mqdes, char *restrict msg_ptr[.msg_len], size_t msg_len, unsigned int *restrict msg_prio, const struct timespec *restrict abs_timeout); |
| 664 | | 745 | |
| 665 | // mq_notify | 746 | // mq_notify |
| | 747 | // int mq_notify(mqd_t mqdes, const struct sigevent *sevp); |
| 666 | | 748 | |
| 667 | // mq_getsetattr | 749 | // mq_getsetattr |
| | 750 | // int syscall(SYS_mq_getsetattr, mqd_t mqdes, const struct mq_attr *newattr, struct mq_attr *oldattr); |
| 668 | | 751 | |
| 669 | // kexec_load | 752 | // kexec_load |
| | 753 | // long syscall(SYS_kexec_load, unsigned long entry, unsigned long nr_segments, struct kexec_segment *segments, unsigned long flags); |
| 670 | | 754 | |
| 671 | // waitid | 755 | // waitid |
| | 756 | // int waitid(idtype_t idtype, id_t id, siginfo_t *infop, int options); |
| 672 | | 757 | |
| 673 | // add_key | 758 | // add_key |
| | 759 | // key_serial_t add_key(const char *type, const char *description, const void payload[.plen], size_t plen, key_serial_t keyring); |
| 674 | | 760 | |
| 675 | // request_key | 761 | // request_key |
| | 762 | // key_serial_t request_key(const char *type, const char *description, const char *_Nullable callout_info, key_serial_t dest_keyring); |
| 676 | | 763 | |
| 677 | // keyctl | 764 | // keyctl |
| | 765 | // long syscall(SYS_keyctl, int operation, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5); |
| 678 | | 766 | |
| 679 | // ioprio_set | 767 | // ioprio_set |
| | 768 | // int syscall(SYS_ioprio_set, int which, int who, int ioprio); |
| 680 | | 769 | |
| 681 | // ioprio_get | 770 | // ioprio_get |
| | 771 | // int syscall(SYS_ioprio_set, int which, int who, int ioprio); |
| 682 | | 772 | |
| 683 | // inotify_init | 773 | // inotify_init |
| | 774 | // int inotify_init(void); |
| 684 | | 775 | |
| 685 | // inotify_add_watch | 776 | // inotify_add_watch |
| | 777 | // int inotify_add_watch(int fd, const char *pathname, uint32_t mask); |
| 686 | | 778 | |
| 687 | // inotify_rm_watch | 779 | // inotify_rm_watch |
| | 780 | // int inotify_rm_watch(int fd, int wd); |
| 688 | | 781 | |
| 689 | // migrate_pages | 782 | // migrate_pages |
| | 783 | // long migrate_pages(int pid, unsigned long maxnode, const unsigned long *old_nodes, const unsigned long *new_nodes); |
| 690 | | 784 | |
| 691 | // openat | 785 | // openat |
| 692 | // int openat(int dirfd, const char *pathname, int flags, ... /* mode_t mode */ ); | 786 | // int openat(int dirfd, const char *pathname, int flags, ... /* mode_t mode */ ); |
| ... | @@ -698,8 +792,10 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { | ... | @@ -698,8 +792,10 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { |
| 698 | // int mknodat(int dirfd, const char *pathname, mode_t mode, dev_t dev); | 792 | // int mknodat(int dirfd, const char *pathname, mode_t mode, dev_t dev); |
| 699 | | 793 | |
| 700 | // fchownat | 794 | // fchownat |
| | 795 | // int fchownat(int dirfd, const char *pathname, uid_t owner, gid_t group, int flags); |
| 701 | | 796 | |
| 702 | // futimesat | 797 | // futimesat |
| | 798 | // [[deprecated]] int futimesat(int dirfd, const char *pathname, const struct timeval times[2]); |
| 703 | | 799 | |
| 704 | // fstatat64 | 800 | // fstatat64 |
| 705 | // int fstatat(int dirfd, const char *restrict pathname, struct stat *restrict statbuf, int flags); | 801 | // int fstatat(int dirfd, const char *restrict pathname, struct stat *restrict statbuf, int flags); |
| ... | @@ -735,22 +831,31 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { | ... | @@ -735,22 +831,31 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { |
| 735 | // int unshare(int flags); | 831 | // int unshare(int flags); |
| 736 | | 832 | |
| 737 | // set_robust_list | 833 | // set_robust_list |
| | 834 | // long syscall(SYS_set_robust_list, struct robust_list_head *head, size_t len); |
| 738 | | 835 | |
| 739 | // get_robust_list | 836 | // get_robust_list |
| | 837 | // long syscall(SYS_get_robust_list, int pid, struct robust_list_head **head_ptr, size_t *len_ptr); |
| 740 | | 838 | |
| 741 | // splice | 839 | // splice |
| | 840 | // ssize_t splice(int fd_in, off_t *_Nullable off_in, int fd_out, off_t *_Nullable off_out, size_t len, unsigned int flags); |
| 742 | | 841 | |
| 743 | // tee | 842 | // tee |
| | 843 | // ssize_t tee(int fd_in, int fd_out, size_t len, unsigned int flags); |
| 744 | | 844 | |
| 745 | // sync_file_range | 845 | // sync_file_range |
| | 846 | // int sync_file_range(int fd, off_t offset, off_t nbytes, unsigned int flags); |
| 746 | | 847 | |
| 747 | // vmsplice | 848 | // vmsplice |
| | 849 | // ssize_t vmsplice(int fd, const struct iovec *iov, size_t nr_segs, unsigned int flags); |
| 748 | | 850 | |
| 749 | // move_pages | 851 | // move_pages |
| | 852 | // long move_pages(int pid, unsigned long count, void *pages[.count], const int nodes[.count], int status[.count], int flags); |
| 750 | | 853 | |
| 751 | // utimensat | 854 | // utimensat |
| | 855 | // int utimensat(int dirfd, const char *pathname, const struct timespec times[_Nullable 2], int flags); |
| 752 | | 856 | |
| 753 | // epoll_pwait | 857 | // epoll_pwait |
| | 858 | // int epoll_pwait(int epfd, struct epoll_event *events, int maxevents, int timeout, const sigset_t *_Nullable sigmask); |
| 754 | | 859 | |
| 755 | // signalfd | 860 | // signalfd |
| 756 | | 861 | |
| ... | @@ -772,6 +877,7 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { | ... | @@ -772,6 +877,7 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { |
| 772 | // eventfd2 | 877 | // eventfd2 |
| 773 | | 878 | |
| 774 | // epoll_create1 | 879 | // epoll_create1 |
| | 880 | // int epoll_create1(int flags); |
| 775 | | 881 | |
| 776 | // dup3 | 882 | // dup3 |
| 777 | // int dup3(int oldfd, int newfd, int flags); | 883 | // int dup3(int oldfd, int newfd, int flags); |
| ... | @@ -780,6 +886,7 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { | ... | @@ -780,6 +886,7 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { |
| 780 | // int pipe2(int pipefd[2], int flags); | 886 | // int pipe2(int pipefd[2], int flags); |
| 781 | | 887 | |
| 782 | // inotify_init1 | 888 | // inotify_init1 |
| | 889 | // int inotify_init1(int flags); |
| 783 | | 890 | |
| 784 | // preadv | 891 | // preadv |
| 785 | // ssize_t preadv(int fd, const struct iovec *iov, int iovcnt, off_t offset); | 892 | // ssize_t preadv(int fd, const struct iovec *iov, int iovcnt, off_t offset); |
| ... | @@ -805,8 +912,10 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { | ... | @@ -805,8 +912,10 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { |
| 805 | // open_by_handle_at | 912 | // open_by_handle_at |
| 806 | | 913 | |
| 807 | // clock_adjtime | 914 | // clock_adjtime |
| | 915 | // int clock_adjtime(clockid_t clk_id, struct timex *buf); |
| 808 | | 916 | |
| 809 | // syncfs | 917 | // syncfs |
| | 918 | // int syncfs(int fd); |
| 810 | | 919 | |
| 811 | // sendmmsg | 920 | // sendmmsg |
| 812 | | 921 | |
| ... | @@ -821,6 +930,7 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { | ... | @@ -821,6 +930,7 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { |
| 821 | // kcmp | 930 | // kcmp |
| 822 | | 931 | |
| 823 | // finit_module | 932 | // finit_module |
| | 933 | // int syscall(SYS_finit_module, int fd, const char *param_values, int flags); |
| 824 | | 934 | |
| 825 | // sched_setattr | 935 | // sched_setattr |
| 826 | | 936 | |
| ... | @@ -846,6 +956,7 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { | ... | @@ -846,6 +956,7 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { |
| 846 | // membarrier | 956 | // membarrier |
| 847 | | 957 | |
| 848 | // mlock2 | 958 | // mlock2 |
| | 959 | // int mlock2(const void addr[.len], size_t len, unsigned int flags); |
| 849 | | 960 | |
| 850 | // copy_file_range | 961 | // copy_file_range |
| 851 | | 962 | |
| ... | @@ -904,6 +1015,7 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { | ... | @@ -904,6 +1015,7 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { |
| 904 | // process_madvise | 1015 | // process_madvise |
| 905 | | 1016 | |
| 906 | // epoll_pwait2 | 1017 | // epoll_pwait2 |
| | 1018 | // int epoll_pwait2(int epfd, struct epoll_event *events, int maxevents, const struct timespec *_Nullable timeout, const sigset_t *_Nullable sigmask); |
| 907 | | 1019 | |
| 908 | // mount_setattr | 1020 | // mount_setattr |
| 909 | | 1021 | |