1 //===-- Linux like sys
/syscall.h
------------------------------------------===//
3 // Part of the LLVM Project
, under the Apache License v2.0 with LLVM Exceptions.
4 // See https
://llvm.org
/LICENSE.txt for license information.
5 // SPDX
-License
-Identifier
: Apache
-2.0 WITH LLVM
-exception
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_LIBC_SYS_SYSCALL_H
10 #define LLVM_LIBC_SYS_SYSCALL_H
12 //TODO
: Handle non
-linux syscalls
14 #include
<asm
/unistd.h
>
16 #ifdef __NR_FAST_atomic_update
17 #define SYS_FAST_atomic_update __NR_FAST_atomic_update
20 #ifdef __NR_FAST_cmpxchg
21 #define SYS_FAST_cmpxchg __NR_FAST_cmpxchg
24 #ifdef __NR_FAST_cmpxchg64
25 #define SYS_FAST_cmpxchg64 __NR_FAST_cmpxchg64
29 #define SYS__llseek __NR__llseek
32 #ifdef __NR__newselect
33 #define SYS__newselect __NR__newselect
37 #define SYS__sysctl __NR__sysctl
41 #define SYS_accept __NR_accept
45 #define SYS_accept4 __NR_accept4
49 #define SYS_access __NR_access
53 #define SYS_acct __NR_acct
57 #define SYS_acl_get __NR_acl_get
61 #define SYS_acl_set __NR_acl_set
65 #define SYS_add_key __NR_add_key
69 #define SYS_adjtimex __NR_adjtimex
72 #ifdef __NR_afs_syscall
73 #define SYS_afs_syscall __NR_afs_syscall
77 #define SYS_alarm __NR_alarm
80 #ifdef __NR_alloc_hugepages
81 #define SYS_alloc_hugepages __NR_alloc_hugepages
84 #ifdef __NR_arch_prctl
85 #define SYS_arch_prctl __NR_arch_prctl
88 #ifdef __NR_arm_fadvise64_64
89 #define SYS_arm_fadvise64_64 __NR_arm_fadvise64_64
92 #ifdef __NR_arm_sync_file_range
93 #define SYS_arm_sync_file_range __NR_arm_sync_file_range
96 #ifdef __NR_atomic_barrier
97 #define SYS_atomic_barrier __NR_atomic_barrier
100 #ifdef __NR_atomic_cmpxchg_32
101 #define SYS_atomic_cmpxchg_32 __NR_atomic_cmpxchg_32
105 #define SYS_attrctl __NR_attrctl
109 #define SYS_bdflush __NR_bdflush
113 #define SYS_bind __NR_bind
117 #define SYS_bpf __NR_bpf
121 #define SYS_break __NR_break
125 #define SYS_brk __NR_brk
129 #define SYS_cachectl __NR_cachectl
132 #ifdef __NR_cacheflush
133 #define SYS_cacheflush __NR_cacheflush
137 #define SYS_capget __NR_capget
141 #define SYS_capset __NR_capset
145 #define SYS_chdir __NR_chdir
149 #define SYS_chmod __NR_chmod
153 #define SYS_chown __NR_chown
157 #define SYS_chown32 __NR_chown32
161 #define SYS_chroot __NR_chroot
164 #ifdef __NR_clock_adjtime
165 #define SYS_clock_adjtime __NR_clock_adjtime
168 #ifdef __NR_clock_getres
169 #define SYS_clock_getres __NR_clock_getres
172 #ifdef __NR_clock_gettime
173 #define SYS_clock_gettime __NR_clock_gettime
176 #ifdef __NR_clock_gettime64
177 #define SYS_clock_gettime64 __NR_clock_gettime64
180 #ifdef __NR_clock_nanosleep
181 #define SYS_clock_nanosleep __NR_clock_nanosleep
184 #ifdef __NR_clock_nanosleep_time64
185 #define SYS_clock_nanosleep_time64 __NR_clock_nanosleep_time64
188 #ifdef __NR_clock_settime
189 #define SYS_clock_settime __NR_clock_settime
193 #define SYS_clone __NR_clone
197 #define SYS_clone2 __NR_clone2
201 #define SYS_close __NR_close
204 #ifdef __NR_cmpxchg_badaddr
205 #define SYS_cmpxchg_badaddr __NR_cmpxchg_badaddr
209 #define SYS_connect __NR_connect
212 #ifdef __NR_copy_file_range
213 #define SYS_copy_file_range __NR_copy_file_range
217 #define SYS_creat __NR_creat
220 #ifdef __NR_create_module
221 #define SYS_create_module __NR_create_module
224 #ifdef __NR_delete_module
225 #define SYS_delete_module __NR_delete_module
229 #define SYS_dipc __NR_dipc
233 #define SYS_dup __NR_dup
237 #define SYS_dup2 __NR_dup2
241 #define SYS_dup3 __NR_dup3
244 #ifdef __NR_epoll_create
245 #define SYS_epoll_create __NR_epoll_create
248 #ifdef __NR_epoll_create1
249 #define SYS_epoll_create1 __NR_epoll_create1
252 #ifdef __NR_epoll_ctl
253 #define SYS_epoll_ctl __NR_epoll_ctl
256 #ifdef __NR_epoll_ctl_old
257 #define SYS_epoll_ctl_old __NR_epoll_ctl_old
260 #ifdef __NR_epoll_pwait
261 #define SYS_epoll_pwait __NR_epoll_pwait
264 #ifdef __NR_epoll_pwait2
265 #define SYS_epoll_pwait2 __NR_epoll_pwait2
268 #ifdef __NR_epoll_wait
269 #define SYS_epoll_wait __NR_epoll_wait
272 #ifdef __NR_epoll_wait_old
273 #define SYS_epoll_wait_old __NR_epoll_wait_old
277 #define SYS_eventfd __NR_eventfd
281 #define SYS_eventfd2 __NR_eventfd2
284 #ifdef __NR_exec_with_loader
285 #define SYS_exec_with_loader __NR_exec_with_loader
289 #define SYS_execv __NR_execv
293 #define SYS_execve __NR_execve
297 #define SYS_execveat __NR_execveat
301 #define SYS_exit __NR_exit
304 #ifdef __NR_exit_group
305 #define SYS_exit_group __NR_exit_group
308 #ifdef __NR_faccessat
309 #define SYS_faccessat __NR_faccessat
312 #ifdef __NR_fadvise64
313 #define SYS_fadvise64 __NR_fadvise64
316 #ifdef __NR_fadvise64_64
317 #define SYS_fadvise64_64 __NR_fadvise64_64
320 #ifdef __NR_fallocate
321 #define SYS_fallocate __NR_fallocate
324 #ifdef __NR_fanotify_init
325 #define SYS_fanotify_init __NR_fanotify_init
328 #ifdef __NR_fanotify_mark
329 #define SYS_fanotify_mark __NR_fanotify_mark
333 #define SYS_fchdir __NR_fchdir
337 #define SYS_fchmod __NR_fchmod
341 #define SYS_fchmodat __NR_fchmodat
344 #ifdef __NR_fchmodat2
345 #define SYS_fchmodat2 __NR_fchmodat2
349 #define SYS_fchown __NR_fchown
353 #define SYS_fchown32 __NR_fchown32
357 #define SYS_fchownat __NR_fchownat
361 #define SYS_fcntl __NR_fcntl
365 #define SYS_fcntl64 __NR_fcntl64
368 #ifdef __NR_fdatasync
369 #define SYS_fdatasync __NR_fdatasync
372 #ifdef __NR_fgetxattr
373 #define SYS_fgetxattr __NR_fgetxattr
376 #ifdef __NR_finit_module
377 #define SYS_finit_module __NR_finit_module
380 #ifdef __NR_flistxattr
381 #define SYS_flistxattr __NR_flistxattr
385 #define SYS_flock __NR_flock
389 #define SYS_fork __NR_fork
392 #ifdef __NR_free_hugepages
393 #define SYS_free_hugepages __NR_free_hugepages
396 #ifdef __NR_fremovexattr
397 #define SYS_fremovexattr __NR_fremovexattr
400 #ifdef __NR_fsetxattr
401 #define SYS_fsetxattr __NR_fsetxattr
405 #define SYS_fstat __NR_fstat
409 #define SYS_fstat64 __NR_fstat64
412 #ifdef __NR_fstatat64
413 #define SYS_fstatat64 __NR_fstatat64
417 #define SYS_fstatfs __NR_fstatfs
420 #ifdef __NR_fstatfs64
421 #define SYS_fstatfs64 __NR_fstatfs64
425 #define SYS_fsync __NR_fsync
429 #define SYS_ftime __NR_ftime
432 #ifdef __NR_ftruncate
433 #define SYS_ftruncate __NR_ftruncate
436 #ifdef __NR_ftruncate64
437 #define SYS_ftruncate64 __NR_ftruncate64
441 #define SYS_futex __NR_futex
444 #ifdef __NR_futex_time64
445 #define SYS_futex_time64 __NR_futex_time64
448 #ifdef __NR_futimesat
449 #define SYS_futimesat __NR_futimesat
452 #ifdef __NR_get_kernel_syms
453 #define SYS_get_kernel_syms __NR_get_kernel_syms
456 #ifdef __NR_get_mempolicy
457 #define SYS_get_mempolicy __NR_get_mempolicy
460 #ifdef __NR_get_robust_list
461 #define SYS_get_robust_list __NR_get_robust_list
464 #ifdef __NR_get_thread_area
465 #define SYS_get_thread_area __NR_get_thread_area
469 #define SYS_getcpu __NR_getcpu
473 #define SYS_getcwd __NR_getcwd
477 #define SYS_getdents __NR_getdents
480 #ifdef __NR_getdents64
481 #define SYS_getdents64 __NR_getdents64
484 #ifdef __NR_getdomainname
485 #define SYS_getdomainname __NR_getdomainname
488 #ifdef __NR_getdtablesize
489 #define SYS_getdtablesize __NR_getdtablesize
493 #define SYS_getegid __NR_getegid
496 #ifdef __NR_getegid32
497 #define SYS_getegid32 __NR_getegid32
501 #define SYS_geteuid __NR_geteuid
504 #ifdef __NR_geteuid32
505 #define SYS_geteuid32 __NR_geteuid32
509 #define SYS_getgid __NR_getgid
513 #define SYS_getgid32 __NR_getgid32
516 #ifdef __NR_getgroups
517 #define SYS_getgroups __NR_getgroups
520 #ifdef __NR_getgroups32
521 #define SYS_getgroups32 __NR_getgroups32
524 #ifdef __NR_gethostname
525 #define SYS_gethostname __NR_gethostname
528 #ifdef __NR_getitimer
529 #define SYS_getitimer __NR_getitimer
532 #ifdef __NR_getpagesize
533 #define SYS_getpagesize __NR_getpagesize
536 #ifdef __NR_getpeername
537 #define SYS_getpeername __NR_getpeername
541 #define SYS_getpgid __NR_getpgid
545 #define SYS_getpgrp __NR_getpgrp
549 #define SYS_getpid __NR_getpid
553 #define SYS_getpmsg __NR_getpmsg
557 #define SYS_getppid __NR_getppid
560 #ifdef __NR_getpriority
561 #define SYS_getpriority __NR_getpriority
564 #ifdef __NR_getrandom
565 #define SYS_getrandom __NR_getrandom
568 #ifdef __NR_getresgid
569 #define SYS_getresgid __NR_getresgid
572 #ifdef __NR_getresgid32
573 #define SYS_getresgid32 __NR_getresgid32
576 #ifdef __NR_getresuid
577 #define SYS_getresuid __NR_getresuid
580 #ifdef __NR_getresuid32
581 #define SYS_getresuid32 __NR_getresuid32
584 #ifdef __NR_getrlimit
585 #define SYS_getrlimit __NR_getrlimit
588 #ifdef __NR_getrusage
589 #define SYS_getrusage __NR_getrusage
593 #define SYS_getsid __NR_getsid
596 #ifdef __NR_getsockname
597 #define SYS_getsockname __NR_getsockname
600 #ifdef __NR_getsockopt
601 #define SYS_getsockopt __NR_getsockopt
605 #define SYS_gettid __NR_gettid
608 #ifdef __NR_gettimeofday
609 #define SYS_gettimeofday __NR_gettimeofday
613 #define SYS_getuid __NR_getuid
617 #define SYS_getuid32 __NR_getuid32
620 #ifdef __NR_getunwind
621 #define SYS_getunwind __NR_getunwind
625 #define SYS_getxattr __NR_getxattr
629 #define SYS_getxgid __NR_getxgid
633 #define SYS_getxpid __NR_getxpid
637 #define SYS_getxuid __NR_getxuid
641 #define SYS_gtty __NR_gtty
645 #define SYS_idle __NR_idle
648 #ifdef __NR_init_module
649 #define SYS_init_module __NR_init_module
652 #ifdef __NR_inotify_add_watch
653 #define SYS_inotify_add_watch __NR_inotify_add_watch
656 #ifdef __NR_inotify_init
657 #define SYS_inotify_init __NR_inotify_init
660 #ifdef __NR_inotify_init1
661 #define SYS_inotify_init1 __NR_inotify_init1
664 #ifdef __NR_inotify_rm_watch
665 #define SYS_inotify_rm_watch __NR_inotify_rm_watch
668 #ifdef __NR_io_cancel
669 #define SYS_io_cancel __NR_io_cancel
672 #ifdef __NR_io_destroy
673 #define SYS_io_destroy __NR_io_destroy
676 #ifdef __NR_io_getevents
677 #define SYS_io_getevents __NR_io_getevents
680 #ifdef __NR_io_pgetevents
681 #define SYS_io_pgetevents __NR_io_pgetevents
685 #define SYS_io_setup __NR_io_setup
688 #ifdef __NR_io_submit
689 #define SYS_io_submit __NR_io_submit
693 #define SYS_ioctl __NR_ioctl
697 #define SYS_ioperm __NR_ioperm
701 #define SYS_iopl __NR_iopl
704 #ifdef __NR_ioprio_get
705 #define SYS_ioprio_get __NR_ioprio_get
708 #ifdef __NR_ioprio_set
709 #define SYS_ioprio_set __NR_ioprio_set
713 #define SYS_ipc __NR_ipc
717 #define SYS_kcmp __NR_kcmp
720 #ifdef __NR_kern_features
721 #define SYS_kern_features __NR_kern_features
724 #ifdef __NR_kexec_file_load
725 #define SYS_kexec_file_load __NR_kexec_file_load
728 #ifdef __NR_kexec_load
729 #define SYS_kexec_load __NR_kexec_load
733 #define SYS_keyctl __NR_keyctl
737 #define SYS_kill __NR_kill
741 #define SYS_lchown __NR_lchown
745 #define SYS_lchown32 __NR_lchown32
748 #ifdef __NR_lgetxattr
749 #define SYS_lgetxattr __NR_lgetxattr
753 #define SYS_link __NR_link
757 #define SYS_linkat __NR_linkat
761 #define SYS_listen __NR_listen
764 #ifdef __NR_listxattr
765 #define SYS_listxattr __NR_listxattr
768 #ifdef __NR_llistxattr
769 #define SYS_llistxattr __NR_llistxattr
773 #define SYS_llseek __NR_llseek
777 #define SYS_lock __NR_lock
780 #ifdef __NR_lookup_dcookie
781 #define SYS_lookup_dcookie __NR_lookup_dcookie
784 #ifdef __NR_lremovexattr
785 #define SYS_lremovexattr __NR_lremovexattr
789 #define SYS_lseek __NR_lseek
792 #ifdef __NR_lsetxattr
793 #define SYS_lsetxattr __NR_lsetxattr
797 #define SYS_lstat __NR_lstat
801 #define SYS_lstat64 __NR_lstat64
805 #define SYS_madvise __NR_madvise
809 #define SYS_mbind __NR_mbind
812 #ifdef __NR_membarrier
813 #define SYS_membarrier __NR_membarrier
816 #ifdef __NR_memfd_create
817 #define SYS_memfd_create __NR_memfd_create
820 #ifdef __NR_memory_ordering
821 #define SYS_memory_ordering __NR_memory_ordering
824 #ifdef __NR_migrate_pages
825 #define SYS_migrate_pages __NR_migrate_pages
829 #define SYS_mincore __NR_mincore
833 #define SYS_mkdir __NR_mkdir
837 #define SYS_mkdirat __NR_mkdirat
841 #define SYS_mknod __NR_mknod
845 #define SYS_mknodat __NR_mknodat
849 #define SYS_mlock __NR_mlock
853 #define SYS_mlock2 __NR_mlock2
857 #define SYS_mlockall __NR_mlockall
861 #define SYS_mmap __NR_mmap
865 #define SYS_mmap2 __NR_mmap2
868 #ifdef __NR_modify_ldt
869 #define SYS_modify_ldt __NR_modify_ldt
873 #define SYS_mount __NR_mount
876 #ifdef __NR_move_pages
877 #define SYS_move_pages __NR_move_pages
881 #define SYS_mprotect __NR_mprotect
885 #define SYS_mpx __NR_mpx
888 #ifdef __NR_mq_getsetattr
889 #define SYS_mq_getsetattr __NR_mq_getsetattr
892 #ifdef __NR_mq_notify
893 #define SYS_mq_notify __NR_mq_notify
897 #define SYS_mq_open __NR_mq_open
900 #ifdef __NR_mq_timedreceive
901 #define SYS_mq_timedreceive __NR_mq_timedreceive
904 #ifdef __NR_mq_timedsend
905 #define SYS_mq_timedsend __NR_mq_timedsend
908 #ifdef __NR_mq_unlink
909 #define SYS_mq_unlink __NR_mq_unlink
913 #define SYS_mremap __NR_mremap
917 #define SYS_msgctl __NR_msgctl
921 #define SYS_msgget __NR_msgget
925 #define SYS_msgrcv __NR_msgrcv
929 #define SYS_msgsnd __NR_msgsnd
933 #define SYS_msync __NR_msync
936 #ifdef __NR_multiplexer
937 #define SYS_multiplexer __NR_multiplexer
941 #define SYS_munlock __NR_munlock
944 #ifdef __NR_munlockall
945 #define SYS_munlockall __NR_munlockall
949 #define SYS_munmap __NR_munmap
952 #ifdef __NR_name_to_handle_at
953 #define SYS_name_to_handle_at __NR_name_to_handle_at
956 #ifdef __NR_nanosleep
957 #define SYS_nanosleep __NR_nanosleep
960 #ifdef __NR_newfstatat
961 #define SYS_newfstatat __NR_newfstatat
964 #ifdef __NR_nfsservctl
965 #define SYS_nfsservctl __NR_nfsservctl
968 #ifdef __NR_ni_syscall
969 #define SYS_ni_syscall __NR_ni_syscall
973 #define SYS_nice __NR_nice
976 #ifdef __NR_old_adjtimex
977 #define SYS_old_adjtimex __NR_old_adjtimex
981 #define SYS_oldfstat __NR_oldfstat
985 #define SYS_oldlstat __NR_oldlstat
988 #ifdef __NR_oldolduname
989 #define SYS_oldolduname __NR_oldolduname
993 #define SYS_oldstat __NR_oldstat
996 #ifdef __NR_oldumount
997 #define SYS_oldumount __NR_oldumount
1000 #ifdef __NR_olduname
1001 #define SYS_olduname __NR_olduname
1005 #define SYS_open __NR_open
1008 #ifdef __NR_open_by_handle_at
1009 #define SYS_open_by_handle_at __NR_open_by_handle_at
1013 #define SYS_openat __NR_openat
1016 #ifdef __NR_osf_adjtime
1017 #define SYS_osf_adjtime __NR_osf_adjtime
1020 #ifdef __NR_osf_afs_syscall
1021 #define SYS_osf_afs_syscall __NR_osf_afs_syscall
1024 #ifdef __NR_osf_alt_plock
1025 #define SYS_osf_alt_plock __NR_osf_alt_plock
1028 #ifdef __NR_osf_alt_setsid
1029 #define SYS_osf_alt_setsid __NR_osf_alt_setsid
1032 #ifdef __NR_osf_alt_sigpending
1033 #define SYS_osf_alt_sigpending __NR_osf_alt_sigpending
1036 #ifdef __NR_osf_asynch_daemon
1037 #define SYS_osf_asynch_daemon __NR_osf_asynch_daemon
1040 #ifdef __NR_osf_audcntl
1041 #define SYS_osf_audcntl __NR_osf_audcntl
1044 #ifdef __NR_osf_audgen
1045 #define SYS_osf_audgen __NR_osf_audgen
1048 #ifdef __NR_osf_chflags
1049 #define SYS_osf_chflags __NR_osf_chflags
1052 #ifdef __NR_osf_execve
1053 #define SYS_osf_execve __NR_osf_execve
1056 #ifdef __NR_osf_exportfs
1057 #define SYS_osf_exportfs __NR_osf_exportfs
1060 #ifdef __NR_osf_fchflags
1061 #define SYS_osf_fchflags __NR_osf_fchflags
1064 #ifdef __NR_osf_fdatasync
1065 #define SYS_osf_fdatasync __NR_osf_fdatasync
1068 #ifdef __NR_osf_fpathconf
1069 #define SYS_osf_fpathconf __NR_osf_fpathconf
1072 #ifdef __NR_osf_fstat
1073 #define SYS_osf_fstat __NR_osf_fstat
1076 #ifdef __NR_osf_fstatfs
1077 #define SYS_osf_fstatfs __NR_osf_fstatfs
1080 #ifdef __NR_osf_fstatfs64
1081 #define SYS_osf_fstatfs64 __NR_osf_fstatfs64
1084 #ifdef __NR_osf_fuser
1085 #define SYS_osf_fuser __NR_osf_fuser
1088 #ifdef __NR_osf_getaddressconf
1089 #define SYS_osf_getaddressconf __NR_osf_getaddressconf
1092 #ifdef __NR_osf_getdirentries
1093 #define SYS_osf_getdirentries __NR_osf_getdirentries
1096 #ifdef __NR_osf_getdomainname
1097 #define SYS_osf_getdomainname __NR_osf_getdomainname
1100 #ifdef __NR_osf_getfh
1101 #define SYS_osf_getfh __NR_osf_getfh
1104 #ifdef __NR_osf_getfsstat
1105 #define SYS_osf_getfsstat __NR_osf_getfsstat
1108 #ifdef __NR_osf_gethostid
1109 #define SYS_osf_gethostid __NR_osf_gethostid
1112 #ifdef __NR_osf_getitimer
1113 #define SYS_osf_getitimer __NR_osf_getitimer
1116 #ifdef __NR_osf_getlogin
1117 #define SYS_osf_getlogin __NR_osf_getlogin
1120 #ifdef __NR_osf_getmnt
1121 #define SYS_osf_getmnt __NR_osf_getmnt
1124 #ifdef __NR_osf_getrusage
1125 #define SYS_osf_getrusage __NR_osf_getrusage
1128 #ifdef __NR_osf_getsysinfo
1129 #define SYS_osf_getsysinfo __NR_osf_getsysinfo
1132 #ifdef __NR_osf_gettimeofday
1133 #define SYS_osf_gettimeofday __NR_osf_gettimeofday
1136 #ifdef __NR_osf_kloadcall
1137 #define SYS_osf_kloadcall __NR_osf_kloadcall
1140 #ifdef __NR_osf_kmodcall
1141 #define SYS_osf_kmodcall __NR_osf_kmodcall
1144 #ifdef __NR_osf_lstat
1145 #define SYS_osf_lstat __NR_osf_lstat
1148 #ifdef __NR_osf_memcntl
1149 #define SYS_osf_memcntl __NR_osf_memcntl
1152 #ifdef __NR_osf_mincore
1153 #define SYS_osf_mincore __NR_osf_mincore
1156 #ifdef __NR_osf_mount
1157 #define SYS_osf_mount __NR_osf_mount
1160 #ifdef __NR_osf_mremap
1161 #define SYS_osf_mremap __NR_osf_mremap
1164 #ifdef __NR_osf_msfs_syscall
1165 #define SYS_osf_msfs_syscall __NR_osf_msfs_syscall
1168 #ifdef __NR_osf_msleep
1169 #define SYS_osf_msleep __NR_osf_msleep
1172 #ifdef __NR_osf_mvalid
1173 #define SYS_osf_mvalid __NR_osf_mvalid
1176 #ifdef __NR_osf_mwakeup
1177 #define SYS_osf_mwakeup __NR_osf_mwakeup
1180 #ifdef __NR_osf_naccept
1181 #define SYS_osf_naccept __NR_osf_naccept
1184 #ifdef __NR_osf_nfssvc
1185 #define SYS_osf_nfssvc __NR_osf_nfssvc
1188 #ifdef __NR_osf_ngetpeername
1189 #define SYS_osf_ngetpeername __NR_osf_ngetpeername
1192 #ifdef __NR_osf_ngetsockname
1193 #define SYS_osf_ngetsockname __NR_osf_ngetsockname
1196 #ifdef __NR_osf_nrecvfrom
1197 #define SYS_osf_nrecvfrom __NR_osf_nrecvfrom
1200 #ifdef __NR_osf_nrecvmsg
1201 #define SYS_osf_nrecvmsg __NR_osf_nrecvmsg
1204 #ifdef __NR_osf_nsendmsg
1205 #define SYS_osf_nsendmsg __NR_osf_nsendmsg
1208 #ifdef __NR_osf_ntp_adjtime
1209 #define SYS_osf_ntp_adjtime __NR_osf_ntp_adjtime
1212 #ifdef __NR_osf_ntp_gettime
1213 #define SYS_osf_ntp_gettime __NR_osf_ntp_gettime
1216 #ifdef __NR_osf_old_creat
1217 #define SYS_osf_old_creat __NR_osf_old_creat
1220 #ifdef __NR_osf_old_fstat
1221 #define SYS_osf_old_fstat __NR_osf_old_fstat
1224 #ifdef __NR_osf_old_getpgrp
1225 #define SYS_osf_old_getpgrp __NR_osf_old_getpgrp
1228 #ifdef __NR_osf_old_killpg
1229 #define SYS_osf_old_killpg __NR_osf_old_killpg
1232 #ifdef __NR_osf_old_lstat
1233 #define SYS_osf_old_lstat __NR_osf_old_lstat
1236 #ifdef __NR_osf_old_open
1237 #define SYS_osf_old_open __NR_osf_old_open
1240 #ifdef __NR_osf_old_sigaction
1241 #define SYS_osf_old_sigaction __NR_osf_old_sigaction
1244 #ifdef __NR_osf_old_sigblock
1245 #define SYS_osf_old_sigblock __NR_osf_old_sigblock
1248 #ifdef __NR_osf_old_sigreturn
1249 #define SYS_osf_old_sigreturn __NR_osf_old_sigreturn
1252 #ifdef __NR_osf_old_sigsetmask
1253 #define SYS_osf_old_sigsetmask __NR_osf_old_sigsetmask
1256 #ifdef __NR_osf_old_sigvec
1257 #define SYS_osf_old_sigvec __NR_osf_old_sigvec
1260 #ifdef __NR_osf_old_stat
1261 #define SYS_osf_old_stat __NR_osf_old_stat
1264 #ifdef __NR_osf_old_vadvise
1265 #define SYS_osf_old_vadvise __NR_osf_old_vadvise
1268 #ifdef __NR_osf_old_vtrace
1269 #define SYS_osf_old_vtrace __NR_osf_old_vtrace
1272 #ifdef __NR_osf_old_wait
1273 #define SYS_osf_old_wait __NR_osf_old_wait
1276 #ifdef __NR_osf_oldquota
1277 #define SYS_osf_oldquota __NR_osf_oldquota
1280 #ifdef __NR_osf_pathconf
1281 #define SYS_osf_pathconf __NR_osf_pathconf
1284 #ifdef __NR_osf_pid_block
1285 #define SYS_osf_pid_block __NR_osf_pid_block
1288 #ifdef __NR_osf_pid_unblock
1289 #define SYS_osf_pid_unblock __NR_osf_pid_unblock
1292 #ifdef __NR_osf_plock
1293 #define SYS_osf_plock __NR_osf_plock
1296 #ifdef __NR_osf_priocntlset
1297 #define SYS_osf_priocntlset __NR_osf_priocntlset
1300 #ifdef __NR_osf_profil
1301 #define SYS_osf_profil __NR_osf_profil
1304 #ifdef __NR_osf_proplist_syscall
1305 #define SYS_osf_proplist_syscall __NR_osf_proplist_syscall
1308 #ifdef __NR_osf_reboot
1309 #define SYS_osf_reboot __NR_osf_reboot
1312 #ifdef __NR_osf_revoke
1313 #define SYS_osf_revoke __NR_osf_revoke
1316 #ifdef __NR_osf_sbrk
1317 #define SYS_osf_sbrk __NR_osf_sbrk
1320 #ifdef __NR_osf_security
1321 #define SYS_osf_security __NR_osf_security
1324 #ifdef __NR_osf_select
1325 #define SYS_osf_select __NR_osf_select
1328 #ifdef __NR_osf_set_program_attributes
1329 #define SYS_osf_set_program_attributes __NR_osf_set_program_attributes
1332 #ifdef __NR_osf_set_speculative
1333 #define SYS_osf_set_speculative __NR_osf_set_speculative
1336 #ifdef __NR_osf_sethostid
1337 #define SYS_osf_sethostid __NR_osf_sethostid
1340 #ifdef __NR_osf_setitimer
1341 #define SYS_osf_setitimer __NR_osf_setitimer
1344 #ifdef __NR_osf_setlogin
1345 #define SYS_osf_setlogin __NR_osf_setlogin
1348 #ifdef __NR_osf_setsysinfo
1349 #define SYS_osf_setsysinfo __NR_osf_setsysinfo
1352 #ifdef __NR_osf_settimeofday
1353 #define SYS_osf_settimeofday __NR_osf_settimeofday
1356 #ifdef __NR_osf_shmat
1357 #define SYS_osf_shmat __NR_osf_shmat
1360 #ifdef __NR_osf_signal
1361 #define SYS_osf_signal __NR_osf_signal
1364 #ifdef __NR_osf_sigprocmask
1365 #define SYS_osf_sigprocmask __NR_osf_sigprocmask
1368 #ifdef __NR_osf_sigsendset
1369 #define SYS_osf_sigsendset __NR_osf_sigsendset
1372 #ifdef __NR_osf_sigstack
1373 #define SYS_osf_sigstack __NR_osf_sigstack
1376 #ifdef __NR_osf_sigwaitprim
1377 #define SYS_osf_sigwaitprim __NR_osf_sigwaitprim
1380 #ifdef __NR_osf_sstk
1381 #define SYS_osf_sstk __NR_osf_sstk
1384 #ifdef __NR_osf_stat
1385 #define SYS_osf_stat __NR_osf_stat
1388 #ifdef __NR_osf_statfs
1389 #define SYS_osf_statfs __NR_osf_statfs
1392 #ifdef __NR_osf_statfs64
1393 #define SYS_osf_statfs64 __NR_osf_statfs64
1396 #ifdef __NR_osf_subsys_info
1397 #define SYS_osf_subsys_info __NR_osf_subsys_info
1400 #ifdef __NR_osf_swapctl
1401 #define SYS_osf_swapctl __NR_osf_swapctl
1404 #ifdef __NR_osf_swapon
1405 #define SYS_osf_swapon __NR_osf_swapon
1408 #ifdef __NR_osf_syscall
1409 #define SYS_osf_syscall __NR_osf_syscall
1412 #ifdef __NR_osf_sysinfo
1413 #define SYS_osf_sysinfo __NR_osf_sysinfo
1416 #ifdef __NR_osf_table
1417 #define SYS_osf_table __NR_osf_table
1420 #ifdef __NR_osf_uadmin
1421 #define SYS_osf_uadmin __NR_osf_uadmin
1424 #ifdef __NR_osf_usleep_thread
1425 #define SYS_osf_usleep_thread __NR_osf_usleep_thread
1428 #ifdef __NR_osf_uswitch
1429 #define SYS_osf_uswitch __NR_osf_uswitch
1432 #ifdef __NR_osf_utc_adjtime
1433 #define SYS_osf_utc_adjtime __NR_osf_utc_adjtime
1436 #ifdef __NR_osf_utc_gettime
1437 #define SYS_osf_utc_gettime __NR_osf_utc_gettime
1440 #ifdef __NR_osf_utimes
1441 #define SYS_osf_utimes __NR_osf_utimes
1444 #ifdef __NR_osf_utsname
1445 #define SYS_osf_utsname __NR_osf_utsname
1448 #ifdef __NR_osf_wait4
1449 #define SYS_osf_wait4 __NR_osf_wait4
1452 #ifdef __NR_osf_waitid
1453 #define SYS_osf_waitid __NR_osf_waitid
1457 #define SYS_pause __NR_pause
1460 #ifdef __NR_pciconfig_iobase
1461 #define SYS_pciconfig_iobase __NR_pciconfig_iobase
1464 #ifdef __NR_pciconfig_read
1465 #define SYS_pciconfig_read __NR_pciconfig_read
1468 #ifdef __NR_pciconfig_write
1469 #define SYS_pciconfig_write __NR_pciconfig_write
1472 #ifdef __NR_perf_event_open
1473 #define SYS_perf_event_open __NR_perf_event_open
1477 #define SYS_perfctr __NR_perfctr
1480 #ifdef __NR_perfmonctl
1481 #define SYS_perfmonctl __NR_perfmonctl
1484 #ifdef __NR_personality
1485 #define SYS_personality __NR_personality
1489 #define SYS_pipe __NR_pipe
1493 #define SYS_pipe2 __NR_pipe2
1496 #ifdef __NR_pivot_root
1497 #define SYS_pivot_root __NR_pivot_root
1500 #ifdef __NR_pkey_alloc
1501 #define SYS_pkey_alloc __NR_pkey_alloc
1504 #ifdef __NR_pkey_free
1505 #define SYS_pkey_free __NR_pkey_free
1508 #ifdef __NR_pkey_mprotect
1509 #define SYS_pkey_mprotect __NR_pkey_mprotect
1513 #define SYS_poll __NR_poll
1517 #define SYS_ppoll __NR_ppoll
1521 #define SYS_prctl __NR_prctl
1525 #define SYS_pread64 __NR_pread64
1529 #define SYS_preadv __NR_preadv
1533 #define SYS_preadv2 __NR_preadv2
1536 #ifdef __NR_prlimit64
1537 #define SYS_prlimit64 __NR_prlimit64
1540 #ifdef __NR_process_vm_readv
1541 #define SYS_process_vm_readv __NR_process_vm_readv
1544 #ifdef __NR_process_vm_writev
1545 #define SYS_process_vm_writev __NR_process_vm_writev
1549 #define SYS_prof __NR_prof
1553 #define SYS_profil __NR_profil
1556 #ifdef __NR_pselect6
1557 #define SYS_pselect6 __NR_pselect6
1560 #ifdef __NR_pselect6_time64
1561 #define SYS_pselect6_time64 __NR_pselect6_time64
1565 #define SYS_ptrace __NR_ptrace
1569 #define SYS_putpmsg __NR_putpmsg
1572 #ifdef __NR_pwrite64
1573 #define SYS_pwrite64 __NR_pwrite64
1577 #define SYS_pwritev __NR_pwritev
1580 #ifdef __NR_pwritev2
1581 #define SYS_pwritev2 __NR_pwritev2
1584 #ifdef __NR_query_module
1585 #define SYS_query_module __NR_query_module
1588 #ifdef __NR_quotactl
1589 #define SYS_quotactl __NR_quotactl
1593 #define SYS_read __NR_read
1596 #ifdef __NR_readahead
1597 #define SYS_readahead __NR_readahead
1601 #define SYS_readdir __NR_readdir
1604 #ifdef __NR_readlink
1605 #define SYS_readlink __NR_readlink
1608 #ifdef __NR_readlinkat
1609 #define SYS_readlinkat __NR_readlinkat
1613 #define SYS_readv __NR_readv
1617 #define SYS_reboot __NR_reboot
1621 #define SYS_recv __NR_recv
1624 #ifdef __NR_recvfrom
1625 #define SYS_recvfrom __NR_recvfrom
1628 #ifdef __NR_recvmmsg
1629 #define SYS_recvmmsg __NR_recvmmsg
1633 #define SYS_recvmsg __NR_recvmsg
1636 #ifdef __NR_remap_file_pages
1637 #define SYS_remap_file_pages __NR_remap_file_pages
1640 #ifdef __NR_removexattr
1641 #define SYS_removexattr __NR_removexattr
1645 #define SYS_rename __NR_rename
1648 #ifdef __NR_renameat
1649 #define SYS_renameat __NR_renameat
1652 #ifdef __NR_renameat2
1653 #define SYS_renameat2 __NR_renameat2
1656 #ifdef __NR_request_key
1657 #define SYS_request_key __NR_request_key
1660 #ifdef __NR_restart_syscall
1661 #define SYS_restart_syscall __NR_restart_syscall
1665 #define SYS_rmdir __NR_rmdir
1669 #define SYS_rseq __NR_rseq
1672 #ifdef __NR_rt_sigaction
1673 #define SYS_rt_sigaction __NR_rt_sigaction
1676 #ifdef __NR_rt_sigpending
1677 #define SYS_rt_sigpending __NR_rt_sigpending
1680 #ifdef __NR_rt_sigprocmask
1681 #define SYS_rt_sigprocmask __NR_rt_sigprocmask
1684 #ifdef __NR_rt_sigqueueinfo
1685 #define SYS_rt_sigqueueinfo __NR_rt_sigqueueinfo
1688 #ifdef __NR_rt_sigreturn
1689 #define SYS_rt_sigreturn __NR_rt_sigreturn
1692 #ifdef __NR_rt_sigsuspend
1693 #define SYS_rt_sigsuspend __NR_rt_sigsuspend
1696 #ifdef __NR_rt_sigtimedwait
1697 #define SYS_rt_sigtimedwait __NR_rt_sigtimedwait
1700 #ifdef __NR_rt_tgsigqueueinfo
1701 #define SYS_rt_tgsigqueueinfo __NR_rt_tgsigqueueinfo
1705 #define SYS_rtas __NR_rtas
1708 #ifdef __NR_s390_guarded_storage
1709 #define SYS_s390_guarded_storage __NR_s390_guarded_storage
1712 #ifdef __NR_s390_pci_mmio_read
1713 #define SYS_s390_pci_mmio_read __NR_s390_pci_mmio_read
1716 #ifdef __NR_s390_pci_mmio_write
1717 #define SYS_s390_pci_mmio_write __NR_s390_pci_mmio_write
1720 #ifdef __NR_s390_runtime_instr
1721 #define SYS_s390_runtime_instr __NR_s390_runtime_instr
1724 #ifdef __NR_s390_sthyi
1725 #define SYS_s390_sthyi __NR_s390_sthyi
1728 #ifdef __NR_sched_get_affinity
1729 #define SYS_sched_get_affinity __NR_sched_get_affinity
1732 #ifdef __NR_sched_get_priority_max
1733 #define SYS_sched_get_priority_max __NR_sched_get_priority_max
1736 #ifdef __NR_sched_get_priority_min
1737 #define SYS_sched_get_priority_min __NR_sched_get_priority_min
1740 #ifdef __NR_sched_getaffinity
1741 #define SYS_sched_getaffinity __NR_sched_getaffinity
1744 #ifdef __NR_sched_getattr
1745 #define SYS_sched_getattr __NR_sched_getattr
1748 #ifdef __NR_sched_getparam
1749 #define SYS_sched_getparam __NR_sched_getparam
1752 #ifdef __NR_sched_getscheduler
1753 #define SYS_sched_getscheduler __NR_sched_getscheduler
1756 #ifdef __NR_sched_rr_get_interval
1757 #define SYS_sched_rr_get_interval __NR_sched_rr_get_interval
1760 #ifdef __NR_sched_rr_get_interval_time64
1761 #define SYS_sched_rr_get_interval_time64 __NR_sched_rr_get_interval_time64
1764 #ifdef __NR_sched_set_affinity
1765 #define SYS_sched_set_affinity __NR_sched_set_affinity
1768 #ifdef __NR_sched_setaffinity
1769 #define SYS_sched_setaffinity __NR_sched_setaffinity
1772 #ifdef __NR_sched_setattr
1773 #define SYS_sched_setattr __NR_sched_setattr
1776 #ifdef __NR_sched_setparam
1777 #define SYS_sched_setparam __NR_sched_setparam
1780 #ifdef __NR_sched_setscheduler
1781 #define SYS_sched_setscheduler __NR_sched_setscheduler
1784 #ifdef __NR_sched_yield
1785 #define SYS_sched_yield __NR_sched_yield
1789 #define SYS_seccomp __NR_seccomp
1792 #ifdef __NR_security
1793 #define SYS_security __NR_security
1797 #define SYS_select __NR_select
1801 #define SYS_semctl __NR_semctl
1805 #define SYS_semget __NR_semget
1809 #define SYS_semop __NR_semop
1812 #ifdef __NR_semtimedop
1813 #define SYS_semtimedop __NR_semtimedop
1817 #define SYS_send __NR_send
1820 #ifdef __NR_sendfile
1821 #define SYS_sendfile __NR_sendfile
1824 #ifdef __NR_sendfile64
1825 #define SYS_sendfile64 __NR_sendfile64
1828 #ifdef __NR_sendmmsg
1829 #define SYS_sendmmsg __NR_sendmmsg
1833 #define SYS_sendmsg __NR_sendmsg
1837 #define SYS_sendto __NR_sendto
1840 #ifdef __NR_set_mempolicy
1841 #define SYS_set_mempolicy __NR_set_mempolicy
1844 #ifdef __NR_set_robust_list
1845 #define SYS_set_robust_list __NR_set_robust_list
1848 #ifdef __NR_set_thread_area
1849 #define SYS_set_thread_area __NR_set_thread_area
1852 #ifdef __NR_set_tid_address
1853 #define SYS_set_tid_address __NR_set_tid_address
1856 #ifdef __NR_setdomainname
1857 #define SYS_setdomainname __NR_setdomainname
1860 #ifdef __NR_setfsgid
1861 #define SYS_setfsgid __NR_setfsgid
1864 #ifdef __NR_setfsgid32
1865 #define SYS_setfsgid32 __NR_setfsgid32
1868 #ifdef __NR_setfsuid
1869 #define SYS_setfsuid __NR_setfsuid
1872 #ifdef __NR_setfsuid32
1873 #define SYS_setfsuid32 __NR_setfsuid32
1877 #define SYS_setgid __NR_setgid
1880 #ifdef __NR_setgid32
1881 #define SYS_setgid32 __NR_setgid32
1884 #ifdef __NR_setgroups
1885 #define SYS_setgroups __NR_setgroups
1888 #ifdef __NR_setgroups32
1889 #define SYS_setgroups32 __NR_setgroups32
1893 #define SYS_sethae __NR_sethae
1896 #ifdef __NR_sethostname
1897 #define SYS_sethostname __NR_sethostname
1900 #ifdef __NR_setitimer
1901 #define SYS_setitimer __NR_setitimer
1905 #define SYS_setns __NR_setns
1909 #define SYS_setpgid __NR_setpgid
1913 #define SYS_setpgrp __NR_setpgrp
1916 #ifdef __NR_setpriority
1917 #define SYS_setpriority __NR_setpriority
1920 #ifdef __NR_setregid
1921 #define SYS_setregid __NR_setregid
1924 #ifdef __NR_setregid32
1925 #define SYS_setregid32 __NR_setregid32
1928 #ifdef __NR_setresgid
1929 #define SYS_setresgid __NR_setresgid
1932 #ifdef __NR_setresgid32
1933 #define SYS_setresgid32 __NR_setresgid32
1936 #ifdef __NR_setresuid
1937 #define SYS_setresuid __NR_setresuid
1940 #ifdef __NR_setresuid32
1941 #define SYS_setresuid32 __NR_setresuid32
1944 #ifdef __NR_setreuid
1945 #define SYS_setreuid __NR_setreuid
1948 #ifdef __NR_setreuid32
1949 #define SYS_setreuid32 __NR_setreuid32
1952 #ifdef __NR_setrlimit
1953 #define SYS_setrlimit __NR_setrlimit
1957 #define SYS_setsid __NR_setsid
1960 #ifdef __NR_setsockopt
1961 #define SYS_setsockopt __NR_setsockopt
1964 #ifdef __NR_settimeofday
1965 #define SYS_settimeofday __NR_settimeofday
1969 #define SYS_setuid __NR_setuid
1972 #ifdef __NR_setuid32
1973 #define SYS_setuid32 __NR_setuid32
1976 #ifdef __NR_setxattr
1977 #define SYS_setxattr __NR_setxattr
1980 #ifdef __NR_sgetmask
1981 #define SYS_sgetmask __NR_sgetmask
1985 #define SYS_shmat __NR_shmat
1989 #define SYS_shmctl __NR_shmctl
1993 #define SYS_shmdt __NR_shmdt
1997 #define SYS_shmget __NR_shmget
2000 #ifdef __NR_shutdown
2001 #define SYS_shutdown __NR_shutdown
2004 #ifdef __NR_sigaction
2005 #define SYS_sigaction __NR_sigaction
2008 #ifdef __NR_sigaltstack
2009 #define SYS_sigaltstack __NR_sigaltstack
2013 #define SYS_signal __NR_signal
2016 #ifdef __NR_signalfd
2017 #define SYS_signalfd __NR_signalfd
2020 #ifdef __NR_signalfd4
2021 #define SYS_signalfd4 __NR_signalfd4
2024 #ifdef __NR_sigpending
2025 #define SYS_sigpending __NR_sigpending
2028 #ifdef __NR_sigprocmask
2029 #define SYS_sigprocmask __NR_sigprocmask
2032 #ifdef __NR_sigreturn
2033 #define SYS_sigreturn __NR_sigreturn
2036 #ifdef __NR_sigsuspend
2037 #define SYS_sigsuspend __NR_sigsuspend
2041 #define SYS_socket __NR_socket
2044 #ifdef __NR_socketcall
2045 #define SYS_socketcall __NR_socketcall
2048 #ifdef __NR_socketpair
2049 #define SYS_socketpair __NR_socketpair
2053 #define SYS_splice __NR_splice
2056 #ifdef __NR_spu_create
2057 #define SYS_spu_create __NR_spu_create
2061 #define SYS_spu_run __NR_spu_run
2064 #ifdef __NR_ssetmask
2065 #define SYS_ssetmask __NR_ssetmask
2069 #define SYS_stat __NR_stat
2073 #define SYS_stat64 __NR_stat64
2077 #define SYS_statfs __NR_statfs
2080 #ifdef __NR_statfs64
2081 #define SYS_statfs64 __NR_statfs64
2085 #define SYS_statx __NR_statx
2089 #define SYS_stime __NR_stime
2093 #define SYS_stty __NR_stty
2096 #ifdef __NR_subpage_prot
2097 #define SYS_subpage_prot __NR_subpage_prot
2100 #ifdef __NR_swapcontext
2101 #define SYS_swapcontext __NR_swapcontext
2105 #define SYS_swapoff __NR_swapoff
2109 #define SYS_swapon __NR_swapon
2112 #ifdef __NR_switch_endian
2113 #define SYS_switch_endian __NR_switch_endian
2117 #define SYS_symlink __NR_symlink
2120 #ifdef __NR_symlinkat
2121 #define SYS_symlinkat __NR_symlinkat
2125 #define SYS_sync __NR_sync
2128 #ifdef __NR_sync_file_range
2129 #define SYS_sync_file_range __NR_sync_file_range
2132 #ifdef __NR_sync_file_range2
2133 #define SYS_sync_file_range2 __NR_sync_file_range2
2137 #define SYS_syncfs __NR_syncfs
2140 #ifdef __NR_sys_debug_setcontext
2141 #define SYS_sys_debug_setcontext __NR_sys_debug_setcontext
2144 #ifdef __NR_sys_epoll_create
2145 #define SYS_sys_epoll_create __NR_sys_epoll_create
2148 #ifdef __NR_sys_epoll_ctl
2149 #define SYS_sys_epoll_ctl __NR_sys_epoll_ctl
2152 #ifdef __NR_sys_epoll_wait
2153 #define SYS_sys_epoll_wait __NR_sys_epoll_wait
2157 #define SYS_syscall __NR_syscall
2161 #define SYS_sysfs __NR_sysfs
2165 #define SYS_sysinfo __NR_sysinfo
2169 #define SYS_syslog __NR_syslog
2173 #define SYS_sysmips __NR_sysmips
2177 #define SYS_tee __NR_tee
2181 #define SYS_tgkill __NR_tgkill
2185 #define SYS_time __NR_time
2188 #ifdef __NR_timer_create
2189 #define SYS_timer_create __NR_timer_create
2192 #ifdef __NR_timer_delete
2193 #define SYS_timer_delete __NR_timer_delete
2196 #ifdef __NR_timer_getoverrun
2197 #define SYS_timer_getoverrun __NR_timer_getoverrun
2200 #ifdef __NR_timer_gettime
2201 #define SYS_timer_gettime __NR_timer_gettime
2204 #ifdef __NR_timer_settime
2205 #define SYS_timer_settime __NR_timer_settime
2209 #define SYS_timerfd __NR_timerfd
2212 #ifdef __NR_timerfd_create
2213 #define SYS_timerfd_create __NR_timerfd_create
2216 #ifdef __NR_timerfd_gettime
2217 #define SYS_timerfd_gettime __NR_timerfd_gettime
2220 #ifdef __NR_timerfd_settime
2221 #define SYS_timerfd_settime __NR_timerfd_settime
2225 #define SYS_times __NR_times
2229 #define SYS_tkill __NR_tkill
2232 #ifdef __NR_truncate
2233 #define SYS_truncate __NR_truncate
2236 #ifdef __NR_truncate64
2237 #define SYS_truncate64 __NR_truncate64
2241 #define SYS_tuxcall __NR_tuxcall
2244 #ifdef __NR_ugetrlimit
2245 #define SYS_ugetrlimit __NR_ugetrlimit
2249 #define SYS_ulimit __NR_ulimit
2253 #define SYS_umask __NR_umask
2257 #define SYS_umount __NR_umount
2261 #define SYS_umount2 __NR_umount2
2265 #define SYS_uname __NR_uname
2269 #define SYS_unlink __NR_unlink
2272 #ifdef __NR_unlinkat
2273 #define SYS_unlinkat __NR_unlinkat
2277 #define SYS_unshare __NR_unshare
2281 #define SYS_uselib __NR_uselib
2284 #ifdef __NR_userfaultfd
2285 #define SYS_userfaultfd __NR_userfaultfd
2289 #define SYS_ustat __NR_ustat
2293 #define SYS_utime __NR_utime
2296 #ifdef __NR_utimensat
2297 #define SYS_utimensat __NR_utimensat
2301 #define SYS_utimes __NR_utimes
2304 #ifdef __NR_utrap_install
2305 #define SYS_utrap_install __NR_utrap_install
2309 #define SYS_vfork __NR_vfork
2313 #define SYS_vhangup __NR_vhangup
2317 #define SYS_vm86 __NR_vm86
2321 #define SYS_vm86old __NR_vm86old
2324 #ifdef __NR_vmsplice
2325 #define SYS_vmsplice __NR_vmsplice
2329 #define SYS_vserver __NR_vserver
2333 #define SYS_wait4 __NR_wait4
2337 #define SYS_waitid __NR_waitid
2341 #define SYS_waitpid __NR_waitpid
2345 #define SYS_write __NR_write
2349 #define SYS_writev __NR_writev
2353 #endif
// LLVM_LIBC_SYS_SYSCALL_H