diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-11-14 07:41:08 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-11-14 07:41:08 +0000 |
commit | a5cc55111f77315fc7e04613772237b52a3dbfdf (patch) | |
tree | ea62d66b343dbc91de8ab529c8983021a18eda7d /libc/sysdeps/linux/sparc/bits/syscall.h | |
parent | c4990c6859a4caab9710a07a0c9052c57a1d11d4 (diff) |
Sync up sparc headers
Diffstat (limited to 'libc/sysdeps/linux/sparc/bits/syscall.h')
-rw-r--r-- | libc/sysdeps/linux/sparc/bits/syscall.h | 366 |
1 files changed, 203 insertions, 163 deletions
diff --git a/libc/sysdeps/linux/sparc/bits/syscall.h b/libc/sysdeps/linux/sparc/bits/syscall.h index 7c1951f90..710402958 100644 --- a/libc/sysdeps/linux/sparc/bits/syscall.h +++ b/libc/sysdeps/linux/sparc/bits/syscall.h @@ -4,189 +4,229 @@ # error "Never use <bits/syscall.h> directly; include <sys/syscall.h> instead." #endif -#define SYS_write __NR_write -#define SYS_setrlimit __NR_setrlimit -#define SYS_getdents __NR_getdents -#define SYS_umount __NR_umount -#define SYS_munlock __NR_munlock +#include <bits/wordsize.h> + +#define SYS__llseek __NR__llseek +#define SYS__newselect __NR__newselect +#define SYS__sysctl __NR__sysctl +#define SYS_accept __NR_accept +#define SYS_access __NR_access +#define SYS_acct __NR_acct +#define SYS_adjtimex __NR_adjtimex +#define SYS_afs_syscall __NR_afs_syscall +#define SYS_alarm __NR_alarm +#define SYS_aplib __NR_aplib +#define SYS_bdflush __NR_bdflush +#define SYS_brk __NR_brk +#define SYS_capget __NR_capget +#define SYS_capset __NR_capset +#define SYS_chdir __NR_chdir +#define SYS_chmod __NR_chmod +#define SYS_chown __NR_chown +#define SYS_chroot __NR_chroot +#define SYS_clone __NR_clone +#define SYS_close __NR_close +#define SYS_connect __NR_connect +#define SYS_creat __NR_creat +#define SYS_create_module __NR_create_module #define SYS_delete_module __NR_delete_module +#define SYS_dup __NR_dup +#define SYS_dup2 __NR_dup2 +#define SYS_execv __NR_execv +#define SYS_execve __NR_execve +#define SYS_exit __NR_exit +#define SYS_fchdir __NR_fchdir +#define SYS_fchmod __NR_fchmod +#define SYS_fchown __NR_fchown +#define SYS_fcntl __NR_fcntl +#define SYS_fdatasync __NR_fdatasync +#define SYS_flock __NR_flock +#define SYS_fork __NR_fork #define SYS_fstat __NR_fstat +#define SYS_fstatfs __NR_fstatfs +#define SYS_fsync __NR_fsync +#define SYS_ftruncate __NR_ftruncate +#define SYS_get_kernel_syms __NR_get_kernel_syms +#define SYS_getcwd __NR_getcwd +#define SYS_getdents __NR_getdents +#define SYS_getdents64 __NR_getdents64 +#define SYS_getdomainname __NR_getdomainname +#define SYS_getegid __NR_getegid +#define SYS_geteuid __NR_geteuid +#define SYS_getgid __NR_getgid +#define SYS_getgroups __NR_getgroups +#define SYS_getitimer __NR_getitimer +#define SYS_getpagesize __NR_getpagesize +#define SYS_getpeername __NR_getpeername #define SYS_getpgid __NR_getpgid -#define SYS_rt_sigaction __NR_rt_sigaction -#define SYS_setfsgid __NR_setfsgid -#define SYS_chroot __NR_chroot -#define SYS_times __NR_times -#define SYS_rt_sigsuspend __NR_rt_sigsuspend -#define SYS_setpgid __NR_setpgid #define SYS_getpgrp __NR_getpgrp -#define SYS_getsockopt __NR_getsockopt -#define SYS_query_module __NR_query_module -#define SYS_pause __NR_pause -#define SYS_writev __NR_writev -#define SYS_rename __NR_rename -#define SYS_truncate __NR_truncate -#define SYS_waitpid __NR_waitpid -#define SYS_sigreturn __NR_sigreturn -#define SYS_readdir __NR_readdir -#define SYS_fsync __NR_fsync -#define SYS_sigaltstack __NR_sigaltstack -#define SYS_lstat __NR_lstat -#define SYS_dup2 __NR_dup2 -#define SYS_clone __NR_clone +#define SYS_getpid __NR_getpid #define SYS_getppid __NR_getppid -#define SYS_umount2 __NR_umount2 -#define SYS_close __NR_close -#define SYS_setgid __NR_setgid -#define SYS_bdflush __NR_bdflush -#define SYS_statfs __NR_statfs -#define SYS_mount __NR_mount -#define SYS_sgetmask __NR_sgetmask -#define SYS_idle __NR_idle -#define SYS_sigaction __NR_sigaction -#define SYS_wait4 __NR_wait4 -#define SYS_fork __NR_fork -#define SYS_setfsuid __NR_setfsuid -#define SYS_settimeofday __NR_settimeofday -#define SYS_pwrite __NR_pwrite -#define SYS_ssetmask __NR_ssetmask -#define SYS_rt_sigpending __NR_rt_sigpending -#define SYS_afs_syscall __NR_afs_syscall -#define SYS_exit __NR_exit -#define SYS_sysinfo __NR_sysinfo +#define SYS_getpriority __NR_getpriority +#define SYS_getrlimit __NR_getrlimit +#define SYS_getrusage __NR_getrusage +#define SYS_getsid __NR_getsid #define SYS_getsockname __NR_getsockname -#define SYS_socket __NR_socket -#define SYS_symlink __NR_symlink +#define SYS_getsockopt __NR_getsockopt +#define SYS_gettimeofday __NR_gettimeofday +#define SYS_getuid __NR_getuid +#define SYS_init_module __NR_init_module #define SYS_ioctl __NR_ioctl -#define SYS_ftruncate __NR_ftruncate -#define SYS_sched_getparam __NR_sched_getparam -#define SYS_creat __NR_creat -#define SYS_lchown __NR_lchown -#define SYS_sched_rr_get_interval __NR_sched_rr_get_interval -#define SYS_fcntl __NR_fcntl -#define SYS_setsid __NR_setsid -#define SYS_mprotect __NR_mprotect -#define SYS_setuid __NR_setuid -#define SYS_socketpair __NR_socketpair -#define SYS_oldlstat __NR_oldlstat -#define SYS_umask __NR_umask +#define SYS_ipc __NR_ipc #define SYS_kill __NR_kill -#define SYS_vfork __NR_vfork -#define SYS_nanosleep __NR_nanosleep -#define SYS_stime __NR_stime -#define SYS_uname __NR_uname -#define SYS_signal __NR_signal -#define SYS_getitimer __NR_getitimer -#define SYS_getdomainname __NR_getdomainname -#define SYS_readv __NR_readv -#define SYS_getcwd __NR_getcwd -#define SYS_getpriority __NR_getpriority -#define SYS_msync __NR_msync +#define SYS_lchown __NR_lchown #define SYS_link __NR_link -#define SYS_sched_setparam __NR_sched_setparam -#define SYS_getgid __NR_getgid -#define SYS__newselect __NR__newselect -#define SYS_recvmsg __NR_recvmsg -#define SYS_getrusage __NR_getrusage -#define SYS_recvfrom __NR_recvfrom -#define SYS__llseek __NR__llseek -#define SYS_sched_yield __NR_sched_yield -#define SYS_connect __NR_connect -#define SYS_nice __NR_nice +#define SYS_lseek __NR_lseek +#define SYS_lstat __NR_lstat +#define SYS_madvise __NR_madvise +#define SYS_mincore __NR_mincore +#define SYS_mkdir __NR_mkdir +#define SYS_mknod __NR_mknod +#define SYS_mlock __NR_mlock +#define SYS_mlockall __NR_mlockall #define SYS_mmap __NR_mmap -#define SYS_get_kernel_syms __NR_get_kernel_syms -#define SYS_setgroups __NR_setgroups +#define SYS_mount __NR_mount +#define SYS_mprotect __NR_mprotect +#define SYS_mremap __NR_mremap +#define SYS_msync __NR_msync +#define SYS_munlock __NR_munlock +#define SYS_munlockall __NR_munlockall #define SYS_munmap __NR_munmap -#define SYS_quotactl __NR_quotactl -#define SYS_getrlimit __NR_getrlimit +#define SYS_nanosleep __NR_nanosleep +#define SYS_nfsservctl __NR_nfsservctl +#define SYS_nice __NR_nice +#define SYS_oldlstat __NR_oldlstat +#define SYS_open __NR_open +#define SYS_pause __NR_pause +#define SYS_pciconfig_read __NR_pciconfig_read +#define SYS_pciconfig_write __NR_pciconfig_write #define SYS_perfctr __NR_perfctr -#define SYS_brk __NR_brk -#define SYS_sched_getscheduler __NR_sched_getscheduler #define SYS_personality __NR_personality -#define SYS_getpid __NR_getpid -#define SYS_vhangup __NR_vhangup -#define SYS_mremap __NR_mremap -#define SYS_getpagesize __NR_getpagesize -#define SYS_ptrace __NR_ptrace -#define SYS_sendmsg __NR_sendmsg -#define SYS_dup __NR_dup -#define SYS_getsid __NR_getsid -#define SYS_getegid __NR_getegid -#define SYS_uselib __NR_uselib -#define SYS_rt_sigprocmask __NR_rt_sigprocmask -#define SYS_shutdown __NR_shutdown -#define SYS_getuid __NR_getuid -#define SYS_init_module __NR_init_module -#define SYS_ipc __NR_ipc -#define SYS_capget __NR_capget #define SYS_pipe __NR_pipe -#define SYS_read __NR_read -#define SYS_open __NR_open -#define SYS_setdomainname __NR_setdomainname -#define SYS_setregid __NR_setregid -#define SYS_alarm __NR_alarm -#define SYS_pread __NR_pread +#define SYS_pivot_root __NR_pivot_root #define SYS_poll __NR_poll -#define SYS_flock __NR_flock -#define SYS_sigsuspend __NR_sigsuspend -#define SYS_fdatasync __NR_fdatasync #define SYS_prctl __NR_prctl -#define SYS_sysfs __NR_sysfs -#define SYS_sethostname __NR_sethostname -#define SYS_geteuid __NR_geteuid -#define SYS_swapon __NR_swapon -#define SYS_capset __NR_capset -#define SYS_create_module __NR_create_module -#define SYS_execve __NR_execve -#define SYS_utime __NR_utime +#define SYS_pread __NR_pread +#define SYS_ptrace __NR_ptrace +#define SYS_pwrite __NR_pwrite +#define SYS_query_module __NR_query_module +#define SYS_quotactl __NR_quotactl +#define SYS_read __NR_read +#define SYS_readdir __NR_readdir +#define SYS_readlink __NR_readlink +#define SYS_readv __NR_readv #define SYS_reboot __NR_reboot -#define SYS_socketcall __NR_socketcall -#define SYS_fchdir __NR_fchdir -#define SYS_sendfile __NR_sendfile -#define SYS_time __NR_time -#define SYS_setreuid __NR_setreuid -#define SYS_getpeername __NR_getpeername -#define SYS_select __NR_select -#define SYS_ustat __NR_ustat -#define SYS_mkdir __NR_mkdir +#define SYS_recvfrom __NR_recvfrom +#define SYS_recvmsg __NR_recvmsg +#define SYS_rename __NR_rename #define SYS_rmdir __NR_rmdir -#define SYS_adjtimex __NR_adjtimex -#define SYS_acct __NR_acct +#define SYS_rt_sigaction __NR_rt_sigaction +#define SYS_rt_sigpending __NR_rt_sigpending +#define SYS_rt_sigprocmask __NR_rt_sigprocmask +#define SYS_rt_sigqueueinfo __NR_rt_sigqueueinfo +#define SYS_rt_sigreturn __NR_rt_sigreturn +#define SYS_rt_sigsuspend __NR_rt_sigsuspend +#define SYS_rt_sigtimedwait __NR_rt_sigtimedwait +#define SYS_sched_get_priority_max __NR_sched_get_priority_max +#define SYS_sched_get_priority_min __NR_sched_get_priority_min +#define SYS_sched_getparam __NR_sched_getparam +#define SYS_sched_getscheduler __NR_sched_getscheduler +#define SYS_sched_rr_get_interval __NR_sched_rr_get_interval +#define SYS_sched_setparam __NR_sched_setparam #define SYS_sched_setscheduler __NR_sched_setscheduler -#define SYS_mlockall __NR_mlockall -#define SYS_fstatfs __NR_fstatfs -#define SYS_stat __NR_stat -#define SYS_pciconfig_read __NR_pciconfig_read +#define SYS_sched_yield __NR_sched_yield +#define SYS_select __NR_select +#define SYS_sendfile __NR_sendfile +#define SYS_sendmsg __NR_sendmsg +#define SYS_sendto __NR_sendto +#define SYS_setdomainname __NR_setdomainname +#define SYS_setfsgid __NR_setfsgid +#define SYS_setfsuid __NR_setfsuid +#define SYS_setgid __NR_setgid +#define SYS_setgroups __NR_setgroups +#define SYS_sethostname __NR_sethostname +#define SYS_setitimer __NR_setitimer +#define SYS_setpgid __NR_setpgid +#define SYS_setpriority __NR_setpriority +#define SYS_setregid __NR_setregid +#define SYS_setreuid __NR_setreuid +#define SYS_setrlimit __NR_setrlimit +#define SYS_setsid __NR_setsid +#define SYS_settimeofday __NR_settimeofday +#define SYS_setuid __NR_setuid +#define SYS_sgetmask __NR_sgetmask +#define SYS_shutdown __NR_shutdown +#define SYS_sigaction __NR_sigaction +#define SYS_sigaltstack __NR_sigaltstack +#define SYS_signal __NR_signal #define SYS_sigpending __NR_sigpending -#define SYS_chdir __NR_chdir +#define SYS_sigprocmask __NR_sigprocmask +#define SYS_sigreturn __NR_sigreturn +#define SYS_sigsuspend __NR_sigsuspend +#define SYS_socket __NR_socket +#define SYS_socketcall __NR_socketcall +#define SYS_socketpair __NR_socketpair +#define SYS_ssetmask __NR_ssetmask +#define SYS_stat __NR_stat +#define SYS_statfs __NR_statfs +#define SYS_stime __NR_stime #define SYS_swapoff __NR_swapoff -#define SYS_rt_sigtimedwait __NR_rt_sigtimedwait -#define SYS_rt_sigqueueinfo __NR_rt_sigqueueinfo -#define SYS_syslog __NR_syslog -#define SYS_fchmod __NR_fchmod -#define SYS_nfsservctl __NR_nfsservctl -#define SYS_readlink __NR_readlink -#define SYS_munlockall __NR_munlockall -#define SYS_accept __NR_accept -#define SYS_sendto __NR_sendto +#define SYS_swapon __NR_swapon +#define SYS_symlink __NR_symlink #define SYS_sync __NR_sync -#define SYS_setitimer __NR_setitimer -#define SYS_fchown __NR_fchown -#define SYS_access __NR_access -#define SYS_aplib __NR_aplib -#define SYS_sched_get_priority_max __NR_sched_get_priority_max -#define SYS_gettimeofday __NR_gettimeofday -#define SYS_mknod __NR_mknod -#define SYS_execv __NR_execv -#define SYS_utimes __NR_utimes -#define SYS_sched_get_priority_min __NR_sched_get_priority_min -#define SYS_getgroups __NR_getgroups -#define SYS_chmod __NR_chmod -#define SYS_mlock __NR_mlock +#define SYS_sysfs __NR_sysfs +#define SYS_sysinfo __NR_sysinfo +#define SYS_syslog __NR_syslog +#define SYS_times __NR_times +#define SYS_truncate __NR_truncate +#define SYS_umask __NR_umask +#define SYS_umount __NR_umount +#define SYS_umount2 __NR_umount2 +#define SYS_uname __NR_uname #define SYS_unlink __NR_unlink -#define SYS__sysctl __NR__sysctl -#define SYS_sigprocmask __NR_sigprocmask -#define SYS_rt_sigreturn __NR_rt_sigreturn -#define SYS_lseek __NR_lseek -#define SYS_setpriority __NR_setpriority -#define SYS_pciconfig_write __NR_pciconfig_write -#define SYS_chown __NR_chown +#define SYS_uselib __NR_uselib +#define SYS_ustat __NR_ustat +#define SYS_utime __NR_utime +#define SYS_utimes __NR_utimes +#define SYS_vfork __NR_vfork +#define SYS_vhangup __NR_vhangup +#define SYS_wait4 __NR_wait4 +#define SYS_waitpid __NR_waitpid +#define SYS_write __NR_write +#define SYS_writev __NR_writev +#if __WORDSIZE == 64 +#define SYS_getresgid __NR_getresgid +#define SYS_getresuid __NR_getresuid +#define SYS_memory_ordering __NR_memory_ordering +#define SYS_setresgid __NR_setresgid +#define SYS_setresuid __NR_setresuid +#define SYS_utrap_install __NR_utrap_install +#else +#define SYS_chown32 __NR_chown32 +#define SYS_fchown32 __NR_fchown32 +#define SYS_fcntl64 __NR_fcntl64 +#define SYS_fstat64 __NR_fstat64 +#define SYS_ftruncate64 __NR_ftruncate64 +#define SYS_getegid32 __NR_getegid32 +#define SYS_geteuid32 __NR_geteuid32 +#define SYS_getgid32 __NR_getgid32 +#define SYS_getgroups32 __NR_getgroups32 +#define SYS_getresgid32 __NR_getresgid32 +#define SYS_getresuid32 __NR_getresuid32 +#define SYS_getuid32 __NR_getuid32 +#define SYS_lchown32 __NR_lchown32 +#define SYS_lstat64 __NR_lstat64 +#define SYS_mmap2 __NR_mmap2 +#define SYS_setfsgid32 __NR_setfsgid32 +#define SYS_setfsuid32 __NR_setfsuid32 +#define SYS_setgid32 __NR_setgid32 +#define SYS_setgroups32 __NR_setgroups32 +#define SYS_setregid32 __NR_setregid32 +#define SYS_setresgid32 __NR_setresgid32 +#define SYS_setresuid32 __NR_setresuid32 +#define SYS_setreuid32 __NR_setreuid32 +#define SYS_setuid32 __NR_setuid32 +#define SYS_stat64 __NR_stat64 +#define SYS_time __NR_time +#define SYS_truncate64 __NR_truncate64 +#endif |