/* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. * created from OpenBSD: syscalls.master,v 1.3 1997/11/13 18:35:21 deraadt Exp */ #define BSDOS_SYS_syscall 0 #define BSDOS_SYS_exit 1 #define BSDOS_SYS_fork 2 #define BSDOS_SYS_read 3 #define BSDOS_SYS_write 4 #define BSDOS_SYS_open 5 #define BSDOS_SYS_close 6 #define BSDOS_SYS_wait4 7 #define BSDOS_SYS_ocreat 8 #define BSDOS_SYS_link 9 #define BSDOS_SYS_unlink 10 /* 11 is obsolete execv */ #define BSDOS_SYS_chdir 12 #define BSDOS_SYS_fchdir 13 #define BSDOS_SYS_mknod 14 #define BSDOS_SYS_chmod 15 #define BSDOS_SYS_chown 16 #define BSDOS_SYS_break 17 #define BSDOS_SYS_getfsstat 18 #define BSDOS_SYS_olseek 19 #define BSDOS_SYS_getpid 20 #define BSDOS_SYS_mount 21 #define BSDOS_SYS_unmount 22 #define BSDOS_SYS_setuid 23 #define BSDOS_SYS_getuid 24 #define BSDOS_SYS_geteuid 25 #define BSDOS_SYS_ptrace 26 #define BSDOS_SYS_recvmsg 27 #define BSDOS_SYS_sendmsg 28 #define BSDOS_SYS_recvfrom 29 #define BSDOS_SYS_accept 30 #define BSDOS_SYS_getpeername 31 #define BSDOS_SYS_getsockname 32 #define BSDOS_SYS_access 33 #define BSDOS_SYS_chflags 34 #define BSDOS_SYS_fchflags 35 #define BSDOS_SYS_sync 36 #define BSDOS_SYS_kill 37 #define BSDOS_SYS_ostat 38 #define BSDOS_SYS_getppid 39 #define BSDOS_SYS_olstat 40 #define BSDOS_SYS_dup 41 #define BSDOS_SYS_pipe 42 #define BSDOS_SYS_getegid 43 #define BSDOS_SYS_profil 44 #define BSDOS_SYS_ktrace 45 #define BSDOS_SYS_sigaction 46 #define BSDOS_SYS_getgid 47 #define BSDOS_SYS_sigprocmask 48 #define BSDOS_SYS_getlogin 49 #define BSDOS_SYS_setlogin 50 #define BSDOS_SYS_acct 51 #define BSDOS_SYS_sigpending 52 #define BSDOS_SYS_sigaltstack 53 #define BSDOS_SYS_ioctl 54 #define BSDOS_SYS_reboot 55 #define BSDOS_SYS_revoke 56 #define BSDOS_SYS_symlink 57 #define BSDOS_SYS_readlink 58 #define BSDOS_SYS_execve 59 #define BSDOS_SYS_umask 60 #define BSDOS_SYS_chroot 61 #define BSDOS_SYS_ofstat 62 #define BSDOS_SYS_ogetkerninfo 63 #define BSDOS_SYS_ogetpagesize 64 #define BSDOS_SYS_msync 65 #define BSDOS_SYS_vfork 66 /* 67 is obsolete vread */ /* 68 is obsolete vwrite */ #define BSDOS_SYS_sbrk 69 #define BSDOS_SYS_sstk 70 #define BSDOS_SYS_ommap 71 #define BSDOS_SYS_vadvise 72 #define BSDOS_SYS_munmap 73 #define BSDOS_SYS_mprotect 74 #define BSDOS_SYS_madvise 75 /* 76 is obsolete vhangup */ /* 77 is obsolete vlimit */ #define BSDOS_SYS_mincore 78 #define BSDOS_SYS_getgroups 79 #define BSDOS_SYS_setgroups 80 #define BSDOS_SYS_getpgrp 81 #define BSDOS_SYS_setpgid 82 #define BSDOS_SYS_setitimer 83 #define BSDOS_SYS_owait 84 #define BSDOS_SYS_swapon 85 #define BSDOS_SYS_getitimer 86 #define BSDOS_SYS_ogethostname 87 #define BSDOS_SYS_osethostname 88 #define BSDOS_SYS_ogetdtablesize 89 #define BSDOS_SYS_dup2 90 #define BSDOS_SYS_fcntl 92 #define BSDOS_SYS_select 93 #define BSDOS_SYS_fsync 95 #define BSDOS_SYS_setpriority 96 #define BSDOS_SYS_socket 97 #define BSDOS_SYS_connect 98 #define BSDOS_SYS_oaccept 99 #define BSDOS_SYS_getpriority 100 #define BSDOS_SYS_osend 101 #define BSDOS_SYS_orecv 102 #define BSDOS_SYS_sigreturn 103 #define BSDOS_SYS_bind 104 #define BSDOS_SYS_setsockopt 105 #define BSDOS_SYS_listen 106 /* 107 is obsolete vtimes */ #define BSDOS_SYS_osigvec 108 #define BSDOS_SYS_osigblock 109 #define BSDOS_SYS_osigsetmask 110 #define BSDOS_SYS_sigsuspend 111 #define BSDOS_SYS_osigstack 112 #define BSDOS_SYS_orecvmsg 113 #define BSDOS_SYS_osendmsg 114 #define BSDOS_SYS_vtrace 115 /* 115 is obsolete vtrace */ #define BSDOS_SYS_gettimeofday 116 #define BSDOS_SYS_getrusage 117 #define BSDOS_SYS_getsockopt 118 /* 119 is obsolete resuba */ #define BSDOS_SYS_readv 120 #define BSDOS_SYS_writev 121 #define BSDOS_SYS_settimeofday 122 #define BSDOS_SYS_fchown 123 #define BSDOS_SYS_fchmod 124 #define BSDOS_SYS_orecvfrom 125 #define BSDOS_SYS_osetreuid 126 #define BSDOS_SYS_osetregid 127 #define BSDOS_SYS_rename 128 #define BSDOS_SYS_otruncate 129 #define BSDOS_SYS_oftruncate 130 #define BSDOS_SYS_flock 131 #define BSDOS_SYS_mkfifo 132 #define BSDOS_SYS_sendto 133 #define BSDOS_SYS_shutdown 134 #define BSDOS_SYS_socketpair 135 #define BSDOS_SYS_mkdir 136 #define BSDOS_SYS_rmdir 137 #define BSDOS_SYS_utimes 138 /* 139 is obsolete 4.2 sigreturn */ #define BSDOS_SYS_adjtime 140 #define BSDOS_SYS_ogetpeername 141 #define BSDOS_SYS_ogethostid 142 #define BSDOS_SYS_osethostid 143 #define BSDOS_SYS_ogetrlimit 144 #define BSDOS_SYS_osetrlimit 145 #define BSDOS_SYS_okillpg 146 #define BSDOS_SYS_setsid 147 #define BSDOS_SYS_quotactl 148 #define BSDOS_SYS_oquota 149 #define BSDOS_SYS_ogetsockname 150 #define BSDOS_SYS_nfssvc 155 #define BSDOS_SYS_ogetdirentries 156 #define BSDOS_SYS_statfs 157 #define BSDOS_SYS_fstatfs 158 #define BSDOS_SYS_getfh 161 #define BSDOS_SYS_shmsys 171 #define BSDOS_SYS_setgid 181 #define BSDOS_SYS_setegid 182 #define BSDOS_SYS_seteuid 183 #define BSDOS_SYS_lfs_bmapv 184 #define BSDOS_SYS_lfs_markv 185 #define BSDOS_SYS_lfs_segclean 186 #define BSDOS_SYS_lfs_segwait 187 #define BSDOS_SYS_stat 188 #define BSDOS_SYS_fstat 189 #define BSDOS_SYS_lstat 190 #define BSDOS_SYS_pathconf 191 #define BSDOS_SYS_fpathconf 192 #define BSDOS_SYS_getrlimit 194 #define BSDOS_SYS_setrlimit 195 #define BSDOS_SYS_getdirentries 196 #define BSDOS_SYS_mmap 197 #define BSDOS_SYS___syscall 198 #define BSDOS_SYS_lseek 199 #define BSDOS_SYS_truncate 200 #define BSDOS_SYS_ftruncate 201 #define BSDOS_SYS___sysctl 202 #define BSDOS_SYS_mlock 203 #define BSDOS_SYS_munlock 204 #define BSDOS_SYS_undelete 205 #define BSDOS_SYS___semctl 220 #define BSDOS_SYS_semget 221 #define BSDOS_SYS_semop 222 #define BSDOS_SYS_semconfig 223 #define BSDOS_SYS_msgctl 224 #define BSDOS_SYS_msgget 225 #define BSDOS_SYS_msgsnd 226 #define BSDOS_SYS_msgrcv 227 #define BSDOS_SYS_shmat 228 #define BSDOS_SYS_shmctl 229 #define BSDOS_SYS_shmdt 230 #define BSDOS_SYS_shmget 231 #define BSDOS_SYS_MAXSYSCALL 232