riscos-syscall.h
来自「this SRC packet is the headfiles that MI」· C头文件 代码 · 共 980 行 · 第 1/3 页
H
980 行
#define __NR_SYSV_chroot (__NR_SYSV + 61)#define __NR_SYSV_fcntl (__NR_SYSV + 62)#define __NR_SYSV_ulimit (__NR_SYSV + 63)#define __NR_SYSV_SAFARI4_reserved1 (__NR_SYSV + 64)#define __NR_SYSV_SAFARI4_reserved2 (__NR_SYSV + 65)#define __NR_SYSV_SAFARI4_reserved3 (__NR_SYSV + 66)#define __NR_SYSV_SAFARI4_reserved4 (__NR_SYSV + 67)#define __NR_SYSV_SAFARI4_reserved5 (__NR_SYSV + 68)#define __NR_SYSV_SAFARI4_reserved6 (__NR_SYSV + 69)#define __NR_SYSV_advfs (__NR_SYSV + 70)#define __NR_SYSV_unadvfs (__NR_SYSV + 71)#define __NR_SYSV_rmount (__NR_SYSV + 72)#define __NR_SYSV_rumount (__NR_SYSV + 73)#define __NR_SYSV_rfstart (__NR_SYSV + 74)#define __NR_SYSV_getrlimit64 (__NR_SYSV + 75)#define __NR_SYSV_setrlimit64 (__NR_SYSV + 76)#define __NR_SYSV_nanosleep (__NR_SYSV + 77)#define __NR_SYSV_lseek64 (__NR_SYSV + 78)#define __NR_SYSV_rmdir (__NR_SYSV + 79)#define __NR_SYSV_mkdir (__NR_SYSV + 80)#define __NR_SYSV_getdents (__NR_SYSV + 81)#define __NR_SYSV_sginap (__NR_SYSV + 82)#define __NR_SYSV_sgikopt (__NR_SYSV + 83)#define __NR_SYSV_sysfs (__NR_SYSV + 84)#define __NR_SYSV_getmsg (__NR_SYSV + 85)#define __NR_SYSV_putmsg (__NR_SYSV + 86)#define __NR_SYSV_poll (__NR_SYSV + 87)#define __NR_SYSV_sigreturn (__NR_SYSV + 88)#define __NR_SYSV_accept (__NR_SYSV + 89)#define __NR_SYSV_bind (__NR_SYSV + 90)#define __NR_SYSV_connect (__NR_SYSV + 91)#define __NR_SYSV_gethostid (__NR_SYSV + 92)#define __NR_SYSV_getpeername (__NR_SYSV + 93)#define __NR_SYSV_getsockname (__NR_SYSV + 94)#define __NR_SYSV_getsockopt (__NR_SYSV + 95)#define __NR_SYSV_listen (__NR_SYSV + 96)#define __NR_SYSV_recv (__NR_SYSV + 97)#define __NR_SYSV_recvfrom (__NR_SYSV + 98)#define __NR_SYSV_recvmsg (__NR_SYSV + 99)#define __NR_SYSV_select (__NR_SYSV + 100)#define __NR_SYSV_send (__NR_SYSV + 101)#define __NR_SYSV_sendmsg (__NR_SYSV + 102)#define __NR_SYSV_sendto (__NR_SYSV + 103)#define __NR_SYSV_sethostid (__NR_SYSV + 104)#define __NR_SYSV_setsockopt (__NR_SYSV + 105)#define __NR_SYSV_shutdown (__NR_SYSV + 106)#define __NR_SYSV_socket (__NR_SYSV + 107)#define __NR_SYSV_gethostname (__NR_SYSV + 108)#define __NR_SYSV_sethostname (__NR_SYSV + 109)#define __NR_SYSV_getdomainname (__NR_SYSV + 110)#define __NR_SYSV_setdomainname (__NR_SYSV + 111)#define __NR_SYSV_truncate (__NR_SYSV + 112)#define __NR_SYSV_ftruncate (__NR_SYSV + 113)#define __NR_SYSV_rename (__NR_SYSV + 114)#define __NR_SYSV_symlink (__NR_SYSV + 115)#define __NR_SYSV_readlink (__NR_SYSV + 116)#define __NR_SYSV_lstat (__NR_SYSV + 117)#define __NR_SYSV_nfsmount (__NR_SYSV + 118)#define __NR_SYSV_nfssvc (__NR_SYSV + 119)#define __NR_SYSV_getfh (__NR_SYSV + 120)#define __NR_SYSV_async_daemon (__NR_SYSV + 121)#define __NR_SYSV_exportfs (__NR_SYSV + 122)#define __NR_SYSV_setregid (__NR_SYSV + 123)#define __NR_SYSV_setreuid (__NR_SYSV + 124)#define __NR_SYSV_getitimer (__NR_SYSV + 125)#define __NR_SYSV_setitimer (__NR_SYSV + 126)#define __NR_SYSV_adjtime (__NR_SYSV + 127)#define __NR_SYSV_BSD_getime (__NR_SYSV + 128)#define __NR_SYSV_sproc (__NR_SYSV + 129)#define __NR_SYSV_prctl (__NR_SYSV + 130)#define __NR_SYSV_procblk (__NR_SYSV + 131)#define __NR_SYSV_sprocsp (__NR_SYSV + 132)#define __NR_SYSV_sgigsc (__NR_SYSV + 133)#define __NR_SYSV_mmap (__NR_SYSV + 134)#define __NR_SYSV_munmap (__NR_SYSV + 135)#define __NR_SYSV_mprotect (__NR_SYSV + 136)#define __NR_SYSV_msync (__NR_SYSV + 137)#define __NR_SYSV_madvise (__NR_SYSV + 138)#define __NR_SYSV_pagelock (__NR_SYSV + 139)#define __NR_SYSV_getpagesize (__NR_SYSV + 140)#define __NR_SYSV_quotactl (__NR_SYSV + 141)#define __NR_SYSV_libdetach (__NR_SYSV + 142)#define __NR_SYSV_BSDgetpgrp (__NR_SYSV + 143)#define __NR_SYSV_BSDsetpgrp (__NR_SYSV + 144)#define __NR_SYSV_vhangup (__NR_SYSV + 145)#define __NR_SYSV_fsync (__NR_SYSV + 146)#define __NR_SYSV_fchdir (__NR_SYSV + 147)#define __NR_SYSV_getrlimit (__NR_SYSV + 148)#define __NR_SYSV_setrlimit (__NR_SYSV + 149)#define __NR_SYSV_cacheflush (__NR_SYSV + 150)#define __NR_SYSV_cachectl (__NR_SYSV + 151)#define __NR_SYSV_fchown (__NR_SYSV + 152)#define __NR_SYSV_fchmod (__NR_SYSV + 153)#define __NR_SYSV_wait3 (__NR_SYSV + 154)#define __NR_SYSV_socketpair (__NR_SYSV + 155)#define __NR_SYSV_sysinfo (__NR_SYSV + 156)#define __NR_SYSV_nuname (__NR_SYSV + 157)#define __NR_SYSV_xstat (__NR_SYSV + 158)#define __NR_SYSV_lxstat (__NR_SYSV + 159)#define __NR_SYSV_fxstat (__NR_SYSV + 160)#define __NR_SYSV_xmknod (__NR_SYSV + 161)#define __NR_SYSV_ksigaction (__NR_SYSV + 162)#define __NR_SYSV_sigpending (__NR_SYSV + 163)#define __NR_SYSV_sigprocmask (__NR_SYSV + 164)#define __NR_SYSV_sigsuspend (__NR_SYSV + 165)#define __NR_SYSV_sigpoll (__NR_SYSV + 166)#define __NR_SYSV_swapctl (__NR_SYSV + 167)#define __NR_SYSV_getcontext (__NR_SYSV + 168)#define __NR_SYSV_setcontext (__NR_SYSV + 169)#define __NR_SYSV_waitsys (__NR_SYSV + 170)#define __NR_SYSV_sigstack (__NR_SYSV + 171)#define __NR_SYSV_sigaltstack (__NR_SYSV + 172)#define __NR_SYSV_sigsendset (__NR_SYSV + 173)#define __NR_SYSV_statvfs (__NR_SYSV + 174)#define __NR_SYSV_fstatvfs (__NR_SYSV + 175)#define __NR_SYSV_getpmsg (__NR_SYSV + 176)#define __NR_SYSV_putpmsg (__NR_SYSV + 177)#define __NR_SYSV_lchown (__NR_SYSV + 178)#define __NR_SYSV_priocntl (__NR_SYSV + 179)#define __NR_SYSV_ksigqueue (__NR_SYSV + 180)#define __NR_SYSV_readv (__NR_SYSV + 181)#define __NR_SYSV_writev (__NR_SYSV + 182)#define __NR_SYSV_truncate64 (__NR_SYSV + 183)#define __NR_SYSV_ftruncate64 (__NR_SYSV + 184)#define __NR_SYSV_mmap64 (__NR_SYSV + 185)#define __NR_SYSV_dmi (__NR_SYSV + 186)#define __NR_SYSV_pread (__NR_SYSV + 187)#define __NR_SYSV_pwrite (__NR_SYSV + 188)/* * BSD 4.3 syscalls are in the range from 2000 to 2999 */#define __NR_BSD43 2000#define __NR_BSD43_syscall (__NR_BSD43 + 0)#define __NR_BSD43_exit (__NR_BSD43 + 1)#define __NR_BSD43_fork (__NR_BSD43 + 2)#define __NR_BSD43_read (__NR_BSD43 + 3)#define __NR_BSD43_write (__NR_BSD43 + 4)#define __NR_BSD43_open (__NR_BSD43 + 5)#define __NR_BSD43_close (__NR_BSD43 + 6)#define __NR_BSD43_wait (__NR_BSD43 + 7)#define __NR_BSD43_creat (__NR_BSD43 + 8)#define __NR_BSD43_link (__NR_BSD43 + 9)#define __NR_BSD43_unlink (__NR_BSD43 + 10)#define __NR_BSD43_exec (__NR_BSD43 + 11)#define __NR_BSD43_chdir (__NR_BSD43 + 12)#define __NR_BSD43_time (__NR_BSD43 + 13)#define __NR_BSD43_mknod (__NR_BSD43 + 14)#define __NR_BSD43_chmod (__NR_BSD43 + 15)#define __NR_BSD43_chown (__NR_BSD43 + 16)#define __NR_BSD43_sbreak (__NR_BSD43 + 17)#define __NR_BSD43_oldstat (__NR_BSD43 + 18)#define __NR_BSD43_lseek (__NR_BSD43 + 19)#define __NR_BSD43_getpid (__NR_BSD43 + 20)#define __NR_BSD43_oldmount (__NR_BSD43 + 21)#define __NR_BSD43_umount (__NR_BSD43 + 22)#define __NR_BSD43_setuid (__NR_BSD43 + 23)#define __NR_BSD43_getuid (__NR_BSD43 + 24)#define __NR_BSD43_stime (__NR_BSD43 + 25)#define __NR_BSD43_ptrace (__NR_BSD43 + 26)#define __NR_BSD43_alarm (__NR_BSD43 + 27)#define __NR_BSD43_oldfstat (__NR_BSD43 + 28)#define __NR_BSD43_pause (__NR_BSD43 + 29)#define __NR_BSD43_utime (__NR_BSD43 + 30)#define __NR_BSD43_stty (__NR_BSD43 + 31)#define __NR_BSD43_gtty (__NR_BSD43 + 32)#define __NR_BSD43_access (__NR_BSD43 + 33)#define __NR_BSD43_nice (__NR_BSD43 + 34)#define __NR_BSD43_ftime (__NR_BSD43 + 35)#define __NR_BSD43_sync (__NR_BSD43 + 36)#define __NR_BSD43_kill (__NR_BSD43 + 37)#define __NR_BSD43_stat (__NR_BSD43 + 38)#define __NR_BSD43_oldsetpgrp (__NR_BSD43 + 39)#define __NR_BSD43_lstat (__NR_BSD43 + 40)#define __NR_BSD43_dup (__NR_BSD43 + 41)#define __NR_BSD43_pipe (__NR_BSD43 + 42)#define __NR_BSD43_times (__NR_BSD43 + 43)#define __NR_BSD43_profil (__NR_BSD43 + 44)#define __NR_BSD43_msgsys (__NR_BSD43 + 45)#define __NR_BSD43_setgid (__NR_BSD43 + 46)#define __NR_BSD43_getgid (__NR_BSD43 + 47)#define __NR_BSD43_ssig (__NR_BSD43 + 48)#define __NR_BSD43_reserved1 (__NR_BSD43 + 49)#define __NR_BSD43_reserved2 (__NR_BSD43 + 50)#define __NR_BSD43_sysacct (__NR_BSD43 + 51)#define __NR_BSD43_phys (__NR_BSD43 + 52)#define __NR_BSD43_lock (__NR_BSD43 + 53)#define __NR_BSD43_ioctl (__NR_BSD43 + 54)#define __NR_BSD43_reboot (__NR_BSD43 + 55)#define __NR_BSD43_mpxchan (__NR_BSD43 + 56)#define __NR_BSD43_symlink (__NR_BSD43 + 57)#define __NR_BSD43_readlink (__NR_BSD43 + 58)#define __NR_BSD43_execve (__NR_BSD43 + 59)#define __NR_BSD43_umask (__NR_BSD43 + 60)#define __NR_BSD43_chroot (__NR_BSD43 + 61)#define __NR_BSD43_fstat (__NR_BSD43 + 62)#define __NR_BSD43_reserved3 (__NR_BSD43 + 63)#define __NR_BSD43_getpagesize (__NR_BSD43 + 64)#define __NR_BSD43_mremap (__NR_BSD43 + 65)#define __NR_BSD43_vfork (__NR_BSD43 + 66)#define __NR_BSD43_vread (__NR_BSD43 + 67)#define __NR_BSD43_vwrite (__NR_BSD43 + 68)#define __NR_BSD43_sbrk (__NR_BSD43 + 69)#define __NR_BSD43_sstk (__NR_BSD43 + 70)#define __NR_BSD43_mmap (__NR_BSD43 + 71)#define __NR_BSD43_vadvise (__NR_BSD43 + 72)#define __NR_BSD43_munmap (__NR_BSD43 + 73)#define __NR_BSD43_mprotect (__NR_BSD43 + 74)#define __NR_BSD43_madvise (__NR_BSD43 + 75)#define __NR_BSD43_vhangup (__NR_BSD43 + 76)#define __NR_BSD43_vlimit (__NR_BSD43 + 77)#define __NR_BSD43_mincore (__NR_BSD43 + 78)#define __NR_BSD43_getgroups (__NR_BSD43 + 79)#define __NR_BSD43_setgroups (__NR_BSD43 + 80)#define __NR_BSD43_getpgrp (__NR_BSD43 + 81)#define __NR_BSD43_setpgrp (__NR_BSD43 + 82)#define __NR_BSD43_setitimer (__NR_BSD43 + 83)#define __NR_BSD43_wait3 (__NR_BSD43 + 84)#define __NR_BSD43_swapon (__NR_BSD43 + 85)#define __NR_BSD43_getitimer (__NR_BSD43 + 86)#define __NR_BSD43_gethostname (__NR_BSD43 + 87)#define __NR_BSD43_sethostname (__NR_BSD43 + 88)#define __NR_BSD43_getdtablesize (__NR_BSD43 + 89)#define __NR_BSD43_dup2 (__NR_BSD43 + 90)#define __NR_BSD43_getdopt (__NR_BSD43 + 91)#define __NR_BSD43_fcntl (__NR_BSD43 + 92)#define __NR_BSD43_select (__NR_BSD43 + 93)#define __NR_BSD43_setdopt (__NR_BSD43 + 94)#define __NR_BSD43_fsync (__NR_BSD43 + 95)#define __NR_BSD43_setpriority (__NR_BSD43 + 96)#define __NR_BSD43_socket (__NR_BSD43 + 97)#define __NR_BSD43_connect (__NR_BSD43 + 98)#define __NR_BSD43_oldaccept (__NR_BSD43 + 99)#define __NR_BSD43_getpriority (__NR_BSD43 + 100)#define __NR_BSD43_send (__NR_BSD43 + 101)#define __NR_BSD43_recv (__NR_BSD43 + 102)#define __NR_BSD43_sigreturn (__NR_BSD43 + 103)#define __NR_BSD43_bind (__NR_BSD43 + 104)#define __NR_BSD43_setsockopt (__NR_BSD43 + 105)#define __NR_BSD43_listen (__NR_BSD43 + 106)#define __NR_BSD43_vtimes (__NR_BSD43 + 107)#define __NR_BSD43_sigvec (__NR_BSD43 + 108)#define __NR_BSD43_sigblock (__NR_BSD43 + 109)#define __NR_BSD43_sigsetmask (__NR_BSD43 + 110)#define __NR_BSD43_sigpause (__NR_BSD43 + 111)#define __NR_BSD43_sigstack (__NR_BSD43 + 112)#define __NR_BSD43_oldrecvmsg (__NR_BSD43 + 113)#define __NR_BSD43_oldsendmsg (__NR_BSD43 + 114)#define __NR_BSD43_vtrace (__NR_BSD43 + 115)#define __NR_BSD43_gettimeofday (__NR_BSD43 + 116)#define __NR_BSD43_getrusage (__NR_BSD43 + 117)#define __NR_BSD43_getsockopt (__NR_BSD43 + 118)#define __NR_BSD43_reserved4 (__NR_BSD43 + 119)#define __NR_BSD43_readv (__NR_BSD43 + 120)#define __NR_BSD43_writev (__NR_BSD43 + 121)#define __NR_BSD43_settimeofday (__NR_BSD43 + 122)#define __NR_BSD43_fchown (__NR_BSD43 + 123)#define __NR_BSD43_fchmod (__NR_BSD43 + 124)#define __NR_BSD43_oldrecvfrom (__NR_BSD43 + 125)#define __NR_BSD43_setreuid (__NR_BSD43 + 126)#define __NR_BSD43_setregid (__NR_BSD43 + 127)#define __NR_BSD43_rename (__NR_BSD43 + 128)#define __NR_BSD43_truncate (__NR_BSD43 + 129)#define __NR_BSD43_ftruncate (__NR_BSD43 + 130)#define __NR_BSD43_flock (__NR_BSD43 + 131)#define __NR_BSD43_semsys (__NR_BSD43 + 132)#define __NR_BSD43_sendto (__NR_BSD43 + 133)#define __NR_BSD43_shutdown (__NR_BSD43 + 134)#define __NR_BSD43_socketpair (__NR_BSD43 + 135)#define __NR_BSD43_mkdir (__NR_BSD43 + 136)#define __NR_BSD43_rmdir (__NR_BSD43 + 137)#define __NR_BSD43_utimes (__NR_BSD43 + 138)#define __NR_BSD43_sigcleanup (__NR_BSD43 + 139)#define __NR_BSD43_adjtime (__NR_BSD43 + 140)#define __NR_BSD43_oldgetpeername (__NR_BSD43 + 141)#define __NR_BSD43_gethostid (__NR_BSD43 + 142)#define __NR_BSD43_sethostid (__NR_BSD43 + 143)#define __NR_BSD43_getrlimit (__NR_BSD43 + 144)#define __NR_BSD43_setrlimit (__NR_BSD43 + 145)#define __NR_BSD43_killpg (__NR_BSD43 + 146)#define __NR_BSD43_shmsys (__NR_BSD43 + 147)#define __NR_BSD43_quota (__NR_BSD43 + 148)#define __NR_BSD43_qquota (__NR_BSD43 + 149)#define __NR_BSD43_oldgetsockname (__NR_BSD43 + 150)#define __NR_BSD43_sysmips (__NR_BSD43 + 151)#define __NR_BSD43_cacheflush (__NR_BSD43 + 152)#define __NR_BSD43_cachectl (__NR_BSD43 + 153)#define __NR_BSD43_debug (__NR_BSD43 + 154)#define __NR_BSD43_reserved5 (__NR_BSD43 + 155)#define __NR_BSD43_reserved6 (__NR_BSD43 + 156)#define __NR_BSD43_nfs_mount (__NR_BSD43 + 157)#define __NR_BSD43_nfs_svc (__NR_BSD43 + 158)#define __NR_BSD43_getdirentries (__NR_BSD43 + 159)#define __NR_BSD43_statfs (__NR_BSD43 + 160)#define __NR_BSD43_fstatfs (__NR_BSD43 + 161)#define __NR_BSD43_unmount (__NR_BSD43 + 162)#define __NR_BSD43_async_daemon (__NR_BSD43 + 163)#define __NR_BSD43_nfs_getfh (__NR_BSD43 + 164)#define __NR_BSD43_getdomainname (__NR_BSD43 + 165)#define __NR_BSD43_setdomainname (__NR_BSD43 + 166)#define __NR_BSD43_pcfs_mount (__NR_BSD43 + 167)#define __NR_BSD43_quotactl (__NR_BSD43 + 168)#define __NR_BSD43_oldexportfs (__NR_BSD43 + 169)#define __NR_BSD43_smount (__NR_BSD43 + 170)#define __NR_BSD43_mipshwconf (__NR_BSD43 + 171)#define __NR_BSD43_exportfs (__NR_BSD43 + 172)#define __NR_BSD43_nfsfh_open (__NR_BSD43 + 173)#define __NR_BSD43_libattach (__NR_BSD43 + 174)#define __NR_BSD43_libdetach (__NR_BSD43 + 175)#define __NR_BSD43_accept (__NR_BSD43 + 176)#define __NR_BSD43_reserved7 (__NR_BSD43 + 177)#define __NR_BSD43_reserved8 (__NR_BSD43 + 178)#define __NR_BSD43_recvmsg (__NR_BSD43 + 179)#define __NR_BSD43_recvfrom (__NR_BSD43 + 180)#define __NR_BSD43_sendmsg (__NR_BSD43 + 181)#define __NR_BSD43_getpeername (__NR_BSD43 + 182)#define __NR_BSD43_getsockname (__NR_BSD43 + 183)#define __NR_BSD43_aread (__NR_BSD43 + 184)#define __NR_BSD43_awrite (__NR_BSD43 + 185)#define __NR_BSD43_listio (__NR_BSD43 + 186)#define __NR_BSD43_acancel (__NR_BSD43 + 187)#define __NR_BSD43_astatus (__NR_BSD43 + 188)#define __NR_BSD43_await (__NR_BSD43 + 189)#define __NR_BSD43_areadv (__NR_BSD43 + 190)#define __NR_BSD43_awritev (__NR_BSD43 + 191)/*
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?