syscall.h
来自「基于组件方式开发操作系统的OSKIT源代码」· C头文件 代码 · 共 725 行 · 第 1/2 页
H
725 行
/* syscall: "sendto" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "const struct sockaddr *" "unsigned int" */#define SYS_sendto 133/* syscall: "shutdown" ret: "int" args: "int" "int" */#define SYS_shutdown 134/* syscall: "socketpair" ret: "int" args: "int" "int" "int" "int *" */#define SYS_socketpair 135/* syscall: "mkdir" ret: "int" args: "const char *" "mode_t" */#define SYS_mkdir 136/* syscall: "rmdir" ret: "int" args: "const char *" */#define SYS_rmdir 137/* syscall: "utimes" ret: "int" args: "const char *" "const struct timeval *" */#define SYS_utimes 138 /* 139 is obsolete 4.2 sigreturn *//* syscall: "adjtime" ret: "int" args: "const struct timeval *" "struct timeval *" */#define SYS_adjtime 140#define SYS_compat_43_ogetpeername 141#define SYS_compat_43_ogethostid 142#define SYS_compat_43_osethostid 143#define SYS_compat_43_ogetrlimit 144#define SYS_compat_43_osetrlimit 145#define SYS_compat_43_okillpg 146/* syscall: "setsid" ret: "int" args: */#define SYS_setsid 147/* syscall: "quotactl" ret: "int" args: "const char *" "int" "int" "caddr_t" */#define SYS_quotactl 148#define SYS_compat_43_oquota 149#define SYS_compat_43_ogetsockname 150/* syscall: "nfssvc" ret: "int" args: "int" "void *" */#define SYS_nfssvc 155 /* 155 is excluded nfssvc */#define SYS_compat_43_ogetdirentries 156/* syscall: "statfs" ret: "int" args: "const char *" "struct statfs *" */#define SYS_statfs 157/* syscall: "fstatfs" ret: "int" args: "int" "struct statfs *" */#define SYS_fstatfs 158/* syscall: "getfh" ret: "int" args: "const char *" "fhandle_t *" */#define SYS_getfh 161#define SYS_compat_09_ogetdomainname 162#define SYS_compat_09_osetdomainname 163#define SYS_compat_09_ouname 164/* syscall: "sysarch" ret: "int" args: "int" "void *" */#define SYS_sysarch 165#define SYS_compat_10_osemsys 169 /* 169 is excluded 1.0 semsys */#define SYS_compat_10_omsgsys 170 /* 170 is excluded 1.0 msgsys */#define SYS_compat_10_oshmsys 171 /* 171 is excluded 1.0 shmsys *//* syscall: "pread" ret: "ssize_t" args: "int" "void *" "size_t" "int" "off_t" */#define SYS_pread 173/* syscall: "pwrite" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "off_t" */#define SYS_pwrite 174/* syscall: "ntp_gettime" ret: "int" args: "struct ntptimeval *" */#define SYS_ntp_gettime 175/* syscall: "ntp_adjtime" ret: "int" args: "struct timex *" */#define SYS_ntp_adjtime 176 /* 176 is excluded ntp_adjtime *//* syscall: "setgid" ret: "int" args: "gid_t" */#define SYS_setgid 181/* syscall: "setegid" ret: "int" args: "gid_t" */#define SYS_setegid 182/* syscall: "seteuid" ret: "int" args: "uid_t" */#define SYS_seteuid 183/* syscall: "lfs_bmapv" ret: "int" args: "fsid_t *" "struct block_info *" "int" */#define SYS_lfs_bmapv 184/* syscall: "lfs_markv" ret: "int" args: "fsid_t *" "struct block_info *" "int" */#define SYS_lfs_markv 185/* syscall: "lfs_segclean" ret: "int" args: "fsid_t *" "u_long" */#define SYS_lfs_segclean 186/* syscall: "lfs_segwait" ret: "int" args: "fsid_t *" "struct timeval *" */#define SYS_lfs_segwait 187 /* 184 is excluded lfs_bmapv */ /* 185 is excluded lfs_markv */ /* 186 is excluded lfs_segclean */ /* 187 is excluded lfs_segwait */#define SYS_compat_12_stat12 188#define SYS_compat_12_fstat12 189#define SYS_compat_12_lstat12 190/* syscall: "pathconf" ret: "long" args: "const char *" "int" */#define SYS_pathconf 191/* syscall: "fpathconf" ret: "long" args: "int" "int" */#define SYS_fpathconf 192/* syscall: "getrlimit" ret: "int" args: "int" "struct rlimit *" */#define SYS_getrlimit 194/* syscall: "setrlimit" ret: "int" args: "int" "const struct rlimit *" */#define SYS_setrlimit 195#define SYS_compat_12_getdirentries 196/* syscall: "mmap" ret: "void *" args: "void *" "size_t" "int" "int" "int" "long" "off_t" */#define SYS_mmap 197/* syscall: "__syscall" ret: "quad_t" args: "quad_t" "..." */#define SYS___syscall 198/* syscall: "lseek" ret: "off_t" args: "int" "int" "off_t" "int" */#define SYS_lseek 199/* syscall: "truncate" ret: "int" args: "const char *" "int" "off_t" */#define SYS_truncate 200/* syscall: "ftruncate" ret: "int" args: "int" "int" "off_t" */#define SYS_ftruncate 201/* syscall: "__sysctl" ret: "int" args: "int *" "u_int" "void *" "size_t *" "void *" "size_t" */#define SYS___sysctl 202/* syscall: "mlock" ret: "int" args: "const void *" "size_t" */#define SYS_mlock 203/* syscall: "munlock" ret: "int" args: "const void *" "size_t" */#define SYS_munlock 204/* syscall: "undelete" ret: "int" args: "const char *" */#define SYS_undelete 205/* syscall: "futimes" ret: "int" args: "int" "const struct timeval *" */#define SYS_futimes 206/* syscall: "getpgid" ret: "pid_t" args: "pid_t" */#define SYS_getpgid 207/* syscall: "reboot" ret: "int" args: "int" "char *" */#define SYS_reboot 208/* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */#define SYS_poll 209 /* 210 is excluded lkmnosys */ /* 211 is excluded lkmnosys */ /* 212 is excluded lkmnosys */ /* 213 is excluded lkmnosys */ /* 214 is excluded lkmnosys */ /* 215 is excluded lkmnosys */ /* 216 is excluded lkmnosys */ /* 217 is excluded lkmnosys */ /* 218 is excluded lkmnosys */ /* 219 is excluded lkmnosys */#define SYS_compat_14___semctl 220/* syscall: "semget" ret: "int" args: "key_t" "int" "int" */#define SYS_semget 221/* syscall: "semop" ret: "int" args: "int" "struct sembuf *" "size_t" */#define SYS_semop 222/* syscall: "semconfig" ret: "int" args: "int" */#define SYS_semconfig 223 /* 220 is excluded compat_14_semctl */ /* 221 is excluded semget */ /* 222 is excluded semop */ /* 223 is excluded semconfig */#define SYS_compat_14_msgctl 224/* syscall: "msgget" ret: "int" args: "key_t" "int" */#define SYS_msgget 225/* syscall: "msgsnd" ret: "int" args: "int" "const void *" "size_t" "int" */#define SYS_msgsnd 226/* syscall: "msgrcv" ret: "ssize_t" args: "int" "void *" "size_t" "long" "int" */#define SYS_msgrcv 227 /* 224 is excluded compat_14_msgctl */ /* 225 is excluded msgget */ /* 226 is excluded msgsnd */ /* 227 is excluded msgrcv *//* syscall: "shmat" ret: "void *" args: "int" "const void *" "int" */#define SYS_shmat 228#define SYS_compat_14_shmctl 229/* syscall: "shmdt" ret: "int" args: "const void *" */#define SYS_shmdt 230/* syscall: "shmget" ret: "int" args: "key_t" "size_t" "int" */#define SYS_shmget 231 /* 228 is excluded shmat */ /* 229 is excluded compat_14_shmctl */ /* 230 is excluded shmdt */ /* 231 is excluded shmget *//* syscall: "clock_gettime" ret: "int" args: "clockid_t" "struct timespec *" */#define SYS_clock_gettime 232/* syscall: "clock_settime" ret: "int" args: "clockid_t" "const struct timespec *" */#define SYS_clock_settime 233/* syscall: "clock_getres" ret: "int" args: "clockid_t" "struct timespec *" */#define SYS_clock_getres 234/* syscall: "nanosleep" ret: "int" args: "const struct timespec *" "struct timespec *" */#define SYS_nanosleep 240/* syscall: "fdatasync" ret: "int" args: "int" */#define SYS_fdatasync 241/* syscall: "mlockall" ret: "int" args: "int" */#define SYS_mlockall 242/* syscall: "munlockall" ret: "int" args: */#define SYS_munlockall 243/* syscall: "__posix_rename" ret: "int" args: "const char *" "const char *" */#define SYS___posix_rename 270/* syscall: "swapctl" ret: "int" args: "int" "const void *" "int" */#define SYS_swapctl 271/* syscall: "getdents" ret: "int" args: "int" "char *" "size_t" */#define SYS_getdents 272/* syscall: "minherit" ret: "int" args: "void *" "size_t" "int" */#define SYS_minherit 273/* syscall: "lchmod" ret: "int" args: "const char *" "mode_t" */#define SYS_lchmod 274/* syscall: "lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */#define SYS_lchown 275/* syscall: "lutimes" ret: "int" args: "const char *" "const struct timeval *" */#define SYS_lutimes 276/* syscall: "__msync13" ret: "int" args: "void *" "size_t" "int" */#define SYS___msync13 277/* syscall: "__stat13" ret: "int" args: "const char *" "struct stat *" */#define SYS___stat13 278/* syscall: "__fstat13" ret: "int" args: "int" "struct stat *" */#define SYS___fstat13 279/* syscall: "__lstat13" ret: "int" args: "const char *" "struct stat *" */#define SYS___lstat13 280/* syscall: "__sigaltstack14" ret: "int" args: "const struct sigaltstack *" "struct sigaltstack *" */#define SYS___sigaltstack14 281/* syscall: "__vfork14" ret: "int" args: */#define SYS___vfork14 282/* syscall: "__posix_chown" ret: "int" args: "const char *" "uid_t" "gid_t" */#define SYS___posix_chown 283/* syscall: "__posix_fchown" ret: "int" args: "int" "uid_t" "gid_t" */#define SYS___posix_fchown 284/* syscall: "__posix_lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */#define SYS___posix_lchown 285/* syscall: "getsid" ret: "pid_t" args: "pid_t" */#define SYS_getsid 286/* syscall: "fktrace" ret: "int" args: "const int" "int" "int" "int" */#define SYS_fktrace 288 /* 288 is excluded ktrace *//* syscall: "preadv" ret: "ssize_t" args: "int" "const struct iovec *" "int" "int" "off_t" */#define SYS_preadv 289/* syscall: "pwritev" ret: "ssize_t" args: "int" "const struct iovec *" "int" "int" "off_t" */#define SYS_pwritev 290/* syscall: "__sigaction14" ret: "int" args: "int" "const struct sigaction *" "struct sigaction *" */#define SYS___sigaction14 291/* syscall: "__sigpending14" ret: "int" args: "sigset_t *" */#define SYS___sigpending14 292/* syscall: "__sigprocmask14" ret: "int" args: "int" "const sigset_t *" "sigset_t *" */#define SYS___sigprocmask14 293/* syscall: "__sigsuspend14" ret: "int" args: "const sigset_t *" */#define SYS___sigsuspend14 294/* syscall: "__sigreturn14" ret: "int" args: "struct sigcontext *" */#define SYS___sigreturn14 295/* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */#define SYS___getcwd 296/* syscall: "fchroot" ret: "int" args: "int" */#define SYS_fchroot 297/* syscall: "fhopen" ret: "int" args: "const fhandle_t *" "int" */#define SYS_fhopen 298/* syscall: "fhstat" ret: "int" args: "const fhandle_t *" "struct stat *" */#define SYS_fhstat 299/* syscall: "fhstatfs" ret: "int" args: "const fhandle_t *" "struct statfs *" */#define SYS_fhstatfs 300/* syscall: "____semctl13" ret: "int" args: "int" "int" "int" "..." */#define SYS_____semctl13 301 /* 301 is excluded ____semctl13 *//* syscall: "__msgctl13" ret: "int" args: "int" "int" "struct msqid_ds *" */#define SYS___msgctl13 302 /* 302 is excluded __msgctl13 *//* syscall: "__shmctl13" ret: "int" args: "int" "int" "struct shmid_ds *" */#define SYS___shmctl13 303 /* 303 is excluded __shmctl13 *//* syscall: "lchflags" ret: "int" args: "const char *" "u_long" */#define SYS_lchflags 304/* syscall: "issetugid" ret: "int" args: */#define SYS_issetugid 305#define SYS_MAXSYSCALL 306#define SYS_NSYSENT 512
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?