📄 syscallent.h
字号:
/* * Copyright (c) 1993 Branko Lankester <branko@hacktic.nl> * Copyright (c) 1993, 1994, 1995 Rick Sladkey <jrs@world.std.com> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * $Id: syscallent.h,v 1.9 2000/05/01 01:54:00 wichert Exp $ */ { 5, 0, printargs, "SYS_0" }, /* 0 */ { 1, TP, sys_exit, "exit" }, /* 1 */ { 0, TP, sys_fork, "fork" }, /* 2 */ { 3, TF, sys_read, "read" }, /* 3 */ { 3, TF, sys_write, "write" }, /* 4 */ { 5, 0, printargs, "osf_old_open" }, /* 5, not implemented */ { 1, 0, sys_close, "close" }, /* 6 */ { 4, TP, sys_osf_wait4, "osf_wait4" }, /* 7 */ { 5, 0, printargs, "osf_old_creat" }, /* 8, not implemented */ { 2, TF, sys_link, "link" }, /* 9 */ { 1, TF, sys_unlink, "unlink" }, /* 10 */ { 5, 0, printargs, "osf_execve" }, /* 11, not implemented */ { 1, TF, sys_chdir, "chdir" }, /* 12 */ { 1, TF, sys_fchdir, "fchdir" }, /* 13 */ { 3, TF, sys_mknod, "mknod" }, /* 14 */ { 2, TF, sys_chmod, "chmod" }, /* 15 */ { 3, TF, sys_chown, "chown" }, /* 16 */ { 1, 0, sys_brk, "brk" }, /* 17 */ { 5, 0, printargs, "osf_getfsstat" }, /* 18, not implemented */ { 3, TF, sys_lseek, "lseek" }, /* 19 */ { 0, 0, sys_getpid, "getxpid" }, /* 20 */ { 4, 0, printargs, "osf_mount" }, /* 21 */ { 2, 0, sys_umount2, "umount" }, /* 22 */ { 1, 0, sys_setuid, "setuid" }, /* 23 */ { 0, 0, sys_getuid, "getxuid" }, /* 24 */ { 5, 0, printargs, "exec_with_loader" }, /* 25, not implemented */ { 4, 0, sys_ptrace, "ptrace" }, /* 26 */ { 5, 0, printargs, "osf_nrecmsg" }, /* 27, not implemented */ { 5, 0, printargs, "osf_nsendmsg" }, /* 28, not implemented */ { 5, 0, printargs, "osf_nrecvfrom" }, /* 29, not implemented */ { 5, 0, printargs, "osf_naccept" }, /* 30, not implemented */ { 5, 0, printargs, "osf_ngetpeername" }, /* 31, not implemented */ { 5, 0, printargs, "osf_ngetsocketname" }, /* 32, not implemented */ { 2, TF, sys_access, "access" }, /* 33 */ { 5, 0, printargs, "osf_chflags" }, /* 34, not implemented */ { 5, 0, printargs, "osf_fchflags" }, /* 35, not implemented */ { 0, 0, sys_sync, "sync" }, /* 36 */ { 2, TS, sys_kill, "kill" }, /* 37 */ { 5, 0, printargs, "osf_old_stat" }, /* 38, not implemented */ { 2, 0, sys_setpgid, "setpgid" }, /* 39 */ { 5, 0, printargs, "osf_old_lstat" }, /* 40, not implemented */ { 1, 0, sys_dup, "dup" }, /* 41 */ { 1, 0, sys_pipe, "pipe" }, /* 42 */ { 5, 0, printargs, "osf_set_program_attributed" }, /* 43 */ { 5, 0, printargs, "osf_profil" }, /* 44, not implemented */ { 3, TF, sys_open, "open" }, /* 45 */ { 5, 0, printargs, "osf_old_sigaction" }, /* 46, not implemented */ { 1, 0, sys_getgid, "getxgid" }, /* 47 */ { 3, TS, printargs, "osf_sigprocmask" }, /* 48 */ { 5, 0, printargs, "osf_getlogin" }, /* 49, not implemented */ { 5, 0, printargs, "osf_setlogin" }, /* 50, not implemented */ { 1, TF, sys_acct, "acct" }, /* 51 */ { 1, TS, sys_sigpending, "sigpending" }, /* 52 */ { 5, 0, printargs, "SYS_53" }, /* 53 */ { 3, 0, sys_ioctl, "ioctl" }, /* 54 */ { 5, 0, printargs, "osf_reboot" }, /* 55, not implemented */ { 5, 0, printargs, "osf_revoke" }, /* 56, not implemented */ { 2, TF, sys_symlink, "symlink" }, /* 57 */ { 3, TF, sys_readlink, "readlink" }, /* 58 */ { 3, TF|TP, sys_execve, "execve" }, /* 59 */ { 1, 0, sys_umask, "umask" }, /* 60 */ { 1, TF, sys_chroot, "chroot" }, /* 61 */ { 5, 0, printargs, "osf_old_fstat" }, /* 62, not implemented */ { 0, 0, sys_getpgrp, "getpgrp" }, /* 63 */ { 0, 0, sys_getpagesize, "getpagesize" }, /* 64 */ { 5, 0, printargs, "osf_mremap" }, /* 65, not implemented */ { 0, TP, sys_fork, "vfork" }, /* 66 */ { 2, TF, sys_stat, "stat" }, /* 67 */ { 2, TF, sys_lstat, "lstat" }, /* 68 */ { 5, 0, printargs, "osf_sbrk" }, /* 69, not implemented */ { 5, 0, printargs, "osf_sstk" }, /* 70, not implemented */ { 6, 0, sys_mmap, "mmap" }, /* 71 */ { 5, 0, printargs, "osf_old_vadvise" }, /* 72, not implemented */ { 2, 0, sys_munmap, "munmap" }, /* 73 */ { 3, 0, sys_mprotect, "mprotect" }, /* 74 */ { 0, 0, sys_madvise, "madvise" }, /* 75 */ { 0, 0, sys_vhangup, "vhangup" }, /* 76 */ { 5, 0, printargs, "osf_kmodcall" }, /* 77, not implemented */ { 5, 0, printargs, "osf_mincore" }, /* 78, not implemented */ { 2, 0, sys_getgroups, "getgroups" }, /* 79 */ { 2, 0, sys_setgroups, "setgroups" }, /* 80 */ { 5, 0, printargs, "osf_old_getpgrp" }, /* 81, not implemented */ { 2, 0, sys_setpgrp, "setpgrp" }, /* 82 */ { 3, 0, sys_osf_setitimer, "osf_setitimer" }, /* 83 */ { 5, 0, printargs, "osf_old_wait" }, /* 84, not implemented */ { 5, 0, printargs, "osf_table" }, /* 85, not implemented */ { 2, 0, sys_osf_getitimer, "osf_getitimer" }, /* 86 */ { 2, 0, sys_gethostname, "gethostname" }, /* 87 */ { 2, 0, sys_sethostname, "sethostname" }, /* 88 */ { 0, 0, sys_getdtablesize, "getdtablesize" }, /* 89 */ { 2, 0, sys_dup2, "dup2" }, /* 90 */ { 2, 0, sys_fstat, "fstat" }, /* 91 */ { 3, 0, sys_fcntl, "fcntl" }, /* 92 */ { 5, 0, sys_osf_select, "osf_select" }, /* 93 */ { 3, 0, sys_poll, "poll" }, /* 94 */ { 1, 0, sys_fsync, "fsync" }, /* 95 */ { 3, 0, sys_setpriority, "setpriority" }, /* 96 */ { 3, TN, sys_socket, "socket" }, /* 97 */ { 3, TN, sys_connect, "connect" }, /* 98 */ { 3, TN, sys_accept, "accept" }, /* 99 */ { 2, 0, sys_getpriority, "osf_getpriority" }, /* 100 */ { 4, TN, sys_send, "send" }, /* 101 */ { 4, TN, sys_recv, "recv" }, /* 102 */ { 1, TS, sys_sigreturn, "sigreturn" }, /* 103 */ { 3, TN, sys_bind, "bind" }, /* 104 */ { 5, TN, sys_setsockopt, "setsockopt" }, /* 105 */ { 2, TN, sys_listen, "listen" }, /* 106 */ { 5, 0, printargs, "osf_plock" }, /* 107, not implemented */ { 5, 0, printargs, "osf_old_sigvec" }, /* 108, not implemented */ { 5, 0, printargs, "osf_old_sigblock" }, /* 109, not implemented */ { 5, 0, printargs, "osf_old_sigsetmask" }, /* 110, not implemented */ { 3, TS, sys_sigsuspend, "sigsuspend" }, /* 111 */ { 5, 0, printargs, "sigstack" }, /* 112 */ { 3, TN, sys_recvmsg, "recvmsg" }, /* 113 */ { 3, TN, sys_sendmsg, "sendmsg" }, /* 114 */ { 5, 0, printargs, "osf_old_vtrace" }, /* 115, not implemented */ { 2, 0, sys_osf_gettimeofday, "osf_gettimeofday" }, /* 116 */ { 2, 0, sys_osf_getrusage, "osf_getrusage" }, /* 117 */ { 5, TN, sys_getsockopt, "getsockopt" }, /* 118 */ { 5, 0, printargs, "SYS_119" }, /* 119 */ { 3, 0, sys_readv, "readv" }, /* 120 */ { 3, 0, sys_writev, "writev" }, /* 121 */ { 2, 0, sys_osf_settimeofday, "osf_settimeofday" }, /* 122 */ { 3, 0, sys_fchown, "fchown" }, /* 123 */ { 2, 0, sys_fchmod, "fchmod" }, /* 124 */ { 6, TN, sys_recvfrom, "recvfrom" }, /* 125 */ { 2, 0, sys_setreuid, "setreuid" }, /* 126 */ { 2, 0, sys_setregid, "setregid" }, /* 127 */ { 2, TF, sys_rename, "rename" }, /* 128 */ { 2, TF, sys_truncate, "truncate" }, /* 129 */ { 2, 0, sys_ftruncate, "ftruncate" }, /* 130 */ { 2, 0, sys_flock, "flock" }, /* 131 */ { 1, 0, sys_setgid, "setgid" }, /* 132 */ { 6, TN, sys_sendto, "sendto" }, /* 133 */ { 2, TN, sys_shutdown, "shutdown" }, /* 134 */ { 4, TN, sys_socketpair, "socketpair" }, /* 135 */ { 2, TF, sys_mkdir, "mkdir" }, /* 136 */ { 1, TF, sys_rmdir, "rmdir" }, /* 137 */ { 2, 0, sys_osf_utimes, "osf_utimes" }, /* 138 */ { 5, 0, printargs, "osf_old_sigreturn" }, /* 139 */ { 5, 0, printargs, "osf_adjtime" }, /* 140, not implemented */ { 3, TN, sys_getpeername, "getpeername" }, /* 141 */ { 5, 0, printargs, "osf_gethostid" }, /* 142, not implemented */ { 5, 0, printargs, "osf_sethostid" }, /* 143, not implemented */ { 2, 0, sys_getrlimit, "getrlimit" }, /* 144 */ { 2, 0, sys_setrlimit, "setrlimit" }, /* 145 */ { 5, 0, printargs, "osf_old_killpg" }, /* 146, not implemented */ { 0, 0, sys_setsid, "setsid" }, /* 147 */ { 4, 0, sys_quotactl, "quotactl" }, /* 148 */ { 5, 0, printargs, "osf_oldquota" }, /* 149, not implemented */ { 3, TN, sys_getsockname, "getsockname" }, /* 150 */ { 5, 0, printargs, "SYS_151" }, /* 151 */ { 5, 0, printargs, "SYS_152" }, /* 152 */ { 5, 0, printargs, "osf_pid_block" }, /* 153, not implemented */ { 5, 0, printargs, "osf_pid_unblock" }, /* 154, not implemented */ { 5, 0, printargs, "SYS_155" }, /* 155 */ { 3, TS, sys_sigaction, "sigaction" }, /* 156 */ { 5, 0, printargs, "osf_sigwaitprim" }, /* 157, not implemented */ { 5, 0, printargs, "osf_sigwaitprim" }, /* 158, not implemented */ { 4, 0, printargs, "osf_getdirentries" }, /* 159 */ { 3, 0, osf_statfs, "osf_statfs" }, /* 160 */ { 3, 0, osf_fstatfs, "osf_fstatfs" }, /* 161 */ { 5, 0, printargs, "SYS_162" }, /* 162 */ { 5, 0, printargs, "osf_asynch_daemon" }, /* 163, not implemented */ { 5, 0, printargs, "osf_getfh" }, /* 164, not implemented */ { 2, 0, printargs, "osf_getdomainname" }, /* 165 */ { 2, 0, sys_setdomainname, "setdomainname" }, /* 166 */ { 5, 0, printargs, "SYS_167" }, /* 167 */ { 5, 0, printargs, "SYS_168" }, /* 168 */ { 5, 0, printargs, "osf_exportfs" }, /* 169, not implemented */ { 5, 0, printargs, "SYS_170" }, /* 170 */ { 5, 0, printargs, "SYS_171" }, /* 171 */ { 5, 0, printargs, "SYS_172" }, /* 172 */ { 5, 0, printargs, "SYS_173" }, /* 173 */ { 5, 0, printargs, "SYS_174" }, /* 174 */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -