1 1.26 thorpej /* $NetBSD: ultrix_syscall.h,v 1.26 1998/01/09 06:27:32 thorpej Exp $ */ 2 1.26 thorpej 3 1.1 glass /* 4 1.1 glass * System call numbers. 5 1.1 glass * 6 1.1 glass * DO NOT EDIT-- this file is automatically generated. 7 1.23 christos * created from NetBSD: syscalls.master,v 1.22 1997/10/16 23:55:50 christos Exp 8 1.1 glass */ 9 1.1 glass 10 1.18 thorpej /* syscall: "syscall" ret: "int" args: */ 11 1.1 glass #define ULTRIX_SYS_syscall 0 12 1.18 thorpej 13 1.18 thorpej /* syscall: "exit" ret: "int" args: "int" */ 14 1.1 glass #define ULTRIX_SYS_exit 1 15 1.18 thorpej 16 1.18 thorpej /* syscall: "fork" ret: "int" args: */ 17 1.1 glass #define ULTRIX_SYS_fork 2 18 1.18 thorpej 19 1.18 thorpej /* syscall: "read" ret: "int" args: "int" "char *" "u_int" */ 20 1.1 glass #define ULTRIX_SYS_read 3 21 1.18 thorpej 22 1.18 thorpej /* syscall: "write" ret: "int" args: "int" "char *" "u_int" */ 23 1.1 glass #define ULTRIX_SYS_write 4 24 1.18 thorpej 25 1.18 thorpej /* syscall: "open" ret: "int" args: "char *" "int" "int" */ 26 1.12 mycroft #define ULTRIX_SYS_open 5 27 1.18 thorpej 28 1.18 thorpej /* syscall: "close" ret: "int" args: "int" */ 29 1.1 glass #define ULTRIX_SYS_close 6 30 1.18 thorpej 31 1.18 thorpej /* syscall: "owait" ret: "int" args: */ 32 1.14 jonathan #define ULTRIX_SYS_owait 7 33 1.18 thorpej 34 1.18 thorpej /* syscall: "creat" ret: "int" args: "char *" "int" */ 35 1.12 mycroft #define ULTRIX_SYS_creat 8 36 1.18 thorpej 37 1.18 thorpej /* syscall: "link" ret: "int" args: "char *" "char *" */ 38 1.1 glass #define ULTRIX_SYS_link 9 39 1.18 thorpej 40 1.18 thorpej /* syscall: "unlink" ret: "int" args: "char *" */ 41 1.1 glass #define ULTRIX_SYS_unlink 10 42 1.18 thorpej 43 1.18 thorpej /* syscall: "execv" ret: "int" args: "char *" "char **" */ 44 1.12 mycroft #define ULTRIX_SYS_execv 11 45 1.18 thorpej 46 1.18 thorpej /* syscall: "chdir" ret: "int" args: "char *" */ 47 1.1 glass #define ULTRIX_SYS_chdir 12 48 1.18 thorpej 49 1.12 mycroft /* 13 is obsolete time */ 50 1.18 thorpej /* syscall: "mknod" ret: "int" args: "char *" "int" "int" */ 51 1.12 mycroft #define ULTRIX_SYS_mknod 14 52 1.18 thorpej 53 1.18 thorpej /* syscall: "chmod" ret: "int" args: "char *" "int" */ 54 1.1 glass #define ULTRIX_SYS_chmod 15 55 1.18 thorpej 56 1.18 thorpej /* syscall: "chown" ret: "int" args: "char *" "int" "int" */ 57 1.1 glass #define ULTRIX_SYS_chown 16 58 1.18 thorpej 59 1.18 thorpej /* syscall: "break" ret: "int" args: "char *" */ 60 1.1 glass #define ULTRIX_SYS_break 17 61 1.18 thorpej 62 1.12 mycroft /* 18 is obsolete stat */ 63 1.18 thorpej /* syscall: "lseek" ret: "long" args: "int" "long" "int" */ 64 1.12 mycroft #define ULTRIX_SYS_lseek 19 65 1.18 thorpej 66 1.18 thorpej /* syscall: "getpid" ret: "pid_t" args: */ 67 1.1 glass #define ULTRIX_SYS_getpid 20 68 1.18 thorpej 69 1.18 thorpej /* syscall: "mount" ret: "int" args: "char *" "char *" "int" "int" "caddr_t" */ 70 1.14 jonathan #define ULTRIX_SYS_mount 21 71 1.18 thorpej 72 1.12 mycroft /* 22 is obsolete sysV_unmount */ 73 1.18 thorpej /* syscall: "setuid" ret: "int" args: "uid_t" */ 74 1.6 dean #define ULTRIX_SYS_setuid 23 75 1.18 thorpej 76 1.18 thorpej /* syscall: "getuid" ret: "uid_t" args: */ 77 1.1 glass #define ULTRIX_SYS_getuid 24 78 1.18 thorpej 79 1.6 dean /* 25 is obsolete v7 stime */ 80 1.6 dean /* 26 is obsolete v7 ptrace */ 81 1.6 dean /* 27 is obsolete v7 alarm */ 82 1.6 dean /* 28 is obsolete v7 fstat */ 83 1.6 dean /* 29 is obsolete v7 pause */ 84 1.6 dean /* 30 is obsolete v7 utime */ 85 1.6 dean /* 31 is obsolete v7 stty */ 86 1.6 dean /* 32 is obsolete v7 gtty */ 87 1.18 thorpej /* syscall: "access" ret: "int" args: "char *" "int" */ 88 1.1 glass #define ULTRIX_SYS_access 33 89 1.18 thorpej 90 1.6 dean /* 34 is obsolete v7 nice */ 91 1.6 dean /* 35 is obsolete v7 ftime */ 92 1.18 thorpej /* syscall: "sync" ret: "int" args: */ 93 1.1 glass #define ULTRIX_SYS_sync 36 94 1.18 thorpej 95 1.18 thorpej /* syscall: "kill" ret: "int" args: "int" "int" */ 96 1.1 glass #define ULTRIX_SYS_kill 37 97 1.18 thorpej 98 1.23 christos /* syscall: "stat43" ret: "int" args: "char *" "struct stat43 *" */ 99 1.23 christos #define ULTRIX_SYS_stat43 38 100 1.18 thorpej 101 1.6 dean /* 39 is obsolete v7 setpgrp */ 102 1.23 christos /* syscall: "lstat43" ret: "int" args: "char *" "struct stat43 *" */ 103 1.23 christos #define ULTRIX_SYS_lstat43 40 104 1.18 thorpej 105 1.18 thorpej /* syscall: "dup" ret: "int" args: "u_int" */ 106 1.1 glass #define ULTRIX_SYS_dup 41 107 1.18 thorpej 108 1.18 thorpej /* syscall: "pipe" ret: "int" args: */ 109 1.1 glass #define ULTRIX_SYS_pipe 42 110 1.18 thorpej 111 1.6 dean /* 43 is obsolete v7 times */ 112 1.18 thorpej /* syscall: "profil" ret: "int" args: "caddr_t" "u_int" "u_int" "u_int" */ 113 1.1 glass #define ULTRIX_SYS_profil 44 114 1.18 thorpej 115 1.6 dean /* 46 is obsolete v7 setgid */ 116 1.18 thorpej /* syscall: "getgid" ret: "gid_t" args: */ 117 1.1 glass #define ULTRIX_SYS_getgid 47 118 1.18 thorpej 119 1.18 thorpej /* syscall: "acct" ret: "int" args: "char *" */ 120 1.1 glass #define ULTRIX_SYS_acct 51 121 1.18 thorpej 122 1.18 thorpej /* syscall: "ioctl" ret: "int" args: "int" "u_long" "caddr_t" */ 123 1.8 christos #define ULTRIX_SYS_ioctl 54 124 1.18 thorpej 125 1.18 thorpej /* syscall: "reboot" ret: "int" args: "int" */ 126 1.1 glass #define ULTRIX_SYS_reboot 55 127 1.18 thorpej 128 1.18 thorpej /* syscall: "symlink" ret: "int" args: "char *" "char *" */ 129 1.1 glass #define ULTRIX_SYS_symlink 57 130 1.18 thorpej 131 1.18 thorpej /* syscall: "readlink" ret: "int" args: "char *" "char *" "int" */ 132 1.1 glass #define ULTRIX_SYS_readlink 58 133 1.18 thorpej 134 1.18 thorpej /* syscall: "execve" ret: "int" args: "char *" "char **" "char **" */ 135 1.1 glass #define ULTRIX_SYS_execve 59 136 1.18 thorpej 137 1.18 thorpej /* syscall: "umask" ret: "int" args: "int" */ 138 1.1 glass #define ULTRIX_SYS_umask 60 139 1.18 thorpej 140 1.18 thorpej /* syscall: "chroot" ret: "int" args: "char *" */ 141 1.1 glass #define ULTRIX_SYS_chroot 61 142 1.18 thorpej 143 1.23 christos /* syscall: "fstat" ret: "int" args: "int" "struct stat43 *" */ 144 1.12 mycroft #define ULTRIX_SYS_fstat 62 145 1.18 thorpej 146 1.18 thorpej /* syscall: "getpagesize" ret: "int" args: */ 147 1.12 mycroft #define ULTRIX_SYS_getpagesize 64 148 1.18 thorpej 149 1.18 thorpej /* syscall: "vfork" ret: "int" args: */ 150 1.1 glass #define ULTRIX_SYS_vfork 66 151 1.18 thorpej 152 1.1 glass /* 67 is obsolete vread */ 153 1.1 glass /* 68 is obsolete vwrite */ 154 1.18 thorpej /* syscall: "sbrk" ret: "int" args: "int" */ 155 1.1 glass #define ULTRIX_SYS_sbrk 69 156 1.18 thorpej 157 1.18 thorpej /* syscall: "sstk" ret: "int" args: "int" */ 158 1.1 glass #define ULTRIX_SYS_sstk 70 159 1.18 thorpej 160 1.18 thorpej /* syscall: "mmap" ret: "int" args: "caddr_t" "size_t" "int" "u_int" "int" "long" */ 161 1.12 mycroft #define ULTRIX_SYS_mmap 71 162 1.18 thorpej 163 1.18 thorpej /* syscall: "vadvise" ret: "int" args: "int" */ 164 1.1 glass #define ULTRIX_SYS_vadvise 72 165 1.18 thorpej 166 1.18 thorpej /* syscall: "munmap" ret: "int" args: "caddr_t" "size_t" */ 167 1.1 glass #define ULTRIX_SYS_munmap 73 168 1.18 thorpej 169 1.18 thorpej /* syscall: "mprotect" ret: "int" args: "caddr_t" "size_t" "int" */ 170 1.1 glass #define ULTRIX_SYS_mprotect 74 171 1.18 thorpej 172 1.18 thorpej /* syscall: "madvise" ret: "int" args: "caddr_t" "size_t" "int" */ 173 1.1 glass #define ULTRIX_SYS_madvise 75 174 1.18 thorpej 175 1.18 thorpej /* syscall: "vhangup" ret: "int" args: */ 176 1.12 mycroft #define ULTRIX_SYS_vhangup 76 177 1.18 thorpej 178 1.18 thorpej /* syscall: "mincore" ret: "int" args: "caddr_t" "int" "char *" */ 179 1.1 glass #define ULTRIX_SYS_mincore 78 180 1.18 thorpej 181 1.18 thorpej /* syscall: "getgroups" ret: "int" args: "u_int" "gid_t *" */ 182 1.1 glass #define ULTRIX_SYS_getgroups 79 183 1.18 thorpej 184 1.18 thorpej /* syscall: "setgroups" ret: "int" args: "u_int" "gid_t *" */ 185 1.1 glass #define ULTRIX_SYS_setgroups 80 186 1.18 thorpej 187 1.18 thorpej /* syscall: "getpgrp" ret: "int" args: */ 188 1.1 glass #define ULTRIX_SYS_getpgrp 81 189 1.18 thorpej 190 1.18 thorpej /* syscall: "setpgrp" ret: "int" args: "int" "int" */ 191 1.12 mycroft #define ULTRIX_SYS_setpgrp 82 192 1.18 thorpej 193 1.18 thorpej /* syscall: "setitimer" ret: "int" args: "u_int" "struct itimerval *" "struct itimerval *" */ 194 1.1 glass #define ULTRIX_SYS_setitimer 83 195 1.18 thorpej 196 1.18 thorpej /* syscall: "wait3" ret: "int" args: "int *" "int" "struct rusage *" */ 197 1.12 mycroft #define ULTRIX_SYS_wait3 84 198 1.18 thorpej 199 1.18 thorpej /* syscall: "swapon" ret: "int" args: "char *" */ 200 1.1 glass #define ULTRIX_SYS_swapon 85 201 1.18 thorpej 202 1.18 thorpej /* syscall: "getitimer" ret: "int" args: "u_int" "struct itimerval *" */ 203 1.1 glass #define ULTRIX_SYS_getitimer 86 204 1.18 thorpej 205 1.18 thorpej /* syscall: "gethostname" ret: "int" args: "char *" "u_int" */ 206 1.12 mycroft #define ULTRIX_SYS_gethostname 87 207 1.18 thorpej 208 1.18 thorpej /* syscall: "sethostname" ret: "int" args: "char *" "u_int" */ 209 1.12 mycroft #define ULTRIX_SYS_sethostname 88 210 1.18 thorpej 211 1.18 thorpej /* syscall: "getdtablesize" ret: "int" args: */ 212 1.12 mycroft #define ULTRIX_SYS_getdtablesize 89 213 1.18 thorpej 214 1.18 thorpej /* syscall: "dup2" ret: "int" args: "u_int" "u_int" */ 215 1.1 glass #define ULTRIX_SYS_dup2 90 216 1.18 thorpej 217 1.18 thorpej /* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */ 218 1.1 glass #define ULTRIX_SYS_fcntl 92 219 1.18 thorpej 220 1.18 thorpej /* syscall: "select" ret: "int" args: "u_int" "fd_set *" "fd_set *" "fd_set *" "struct timeval *" */ 221 1.1 glass #define ULTRIX_SYS_select 93 222 1.18 thorpej 223 1.18 thorpej /* syscall: "fsync" ret: "int" args: "int" */ 224 1.1 glass #define ULTRIX_SYS_fsync 95 225 1.18 thorpej 226 1.18 thorpej /* syscall: "setpriority" ret: "int" args: "int" "int" "int" */ 227 1.1 glass #define ULTRIX_SYS_setpriority 96 228 1.18 thorpej 229 1.18 thorpej /* syscall: "socket" ret: "int" args: "int" "int" "int" */ 230 1.1 glass #define ULTRIX_SYS_socket 97 231 1.18 thorpej 232 1.18 thorpej /* syscall: "connect" ret: "int" args: "int" "caddr_t" "int" */ 233 1.1 glass #define ULTRIX_SYS_connect 98 234 1.18 thorpej 235 1.18 thorpej /* syscall: "accept" ret: "int" args: "int" "caddr_t" "int *" */ 236 1.12 mycroft #define ULTRIX_SYS_accept 99 237 1.18 thorpej 238 1.18 thorpej /* syscall: "getpriority" ret: "int" args: "int" "int" */ 239 1.1 glass #define ULTRIX_SYS_getpriority 100 240 1.18 thorpej 241 1.18 thorpej /* syscall: "send" ret: "int" args: "int" "caddr_t" "int" "int" */ 242 1.12 mycroft #define ULTRIX_SYS_send 101 243 1.18 thorpej 244 1.18 thorpej /* syscall: "recv" ret: "int" args: "int" "caddr_t" "int" "int" */ 245 1.12 mycroft #define ULTRIX_SYS_recv 102 246 1.18 thorpej 247 1.18 thorpej /* syscall: "sigreturn" ret: "int" args: "struct sigcontext *" */ 248 1.7 dean #define ULTRIX_SYS_sigreturn 103 249 1.18 thorpej 250 1.18 thorpej /* syscall: "bind" ret: "int" args: "int" "caddr_t" "int" */ 251 1.1 glass #define ULTRIX_SYS_bind 104 252 1.18 thorpej 253 1.18 thorpej /* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "caddr_t" "int" */ 254 1.12 mycroft #define ULTRIX_SYS_setsockopt 105 255 1.18 thorpej 256 1.18 thorpej /* syscall: "listen" ret: "int" args: "int" "int" */ 257 1.1 glass #define ULTRIX_SYS_listen 106 258 1.18 thorpej 259 1.18 thorpej /* syscall: "sigvec" ret: "int" args: "int" "struct sigvec *" "struct sigvec *" */ 260 1.12 mycroft #define ULTRIX_SYS_sigvec 108 261 1.18 thorpej 262 1.18 thorpej /* syscall: "sigblock" ret: "int" args: "int" */ 263 1.12 mycroft #define ULTRIX_SYS_sigblock 109 264 1.18 thorpej 265 1.18 thorpej /* syscall: "sigsetmask" ret: "int" args: "int" */ 266 1.12 mycroft #define ULTRIX_SYS_sigsetmask 110 267 1.18 thorpej 268 1.18 thorpej /* syscall: "sigsuspend" ret: "int" args: "int" */ 269 1.1 glass #define ULTRIX_SYS_sigsuspend 111 270 1.18 thorpej 271 1.18 thorpej /* syscall: "sigstack" ret: "int" args: "struct sigstack *" "struct sigstack *" */ 272 1.12 mycroft #define ULTRIX_SYS_sigstack 112 273 1.18 thorpej 274 1.18 thorpej /* syscall: "recvmsg" ret: "int" args: "int" "struct omsghdr *" "int" */ 275 1.12 mycroft #define ULTRIX_SYS_recvmsg 113 276 1.18 thorpej 277 1.18 thorpej /* syscall: "sendmsg" ret: "int" args: "int" "caddr_t" "int" */ 278 1.12 mycroft #define ULTRIX_SYS_sendmsg 114 279 1.18 thorpej 280 1.1 glass /* 115 is obsolete vtrace */ 281 1.18 thorpej /* syscall: "gettimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */ 282 1.1 glass #define ULTRIX_SYS_gettimeofday 116 283 1.18 thorpej 284 1.18 thorpej /* syscall: "getrusage" ret: "int" args: "int" "struct rusage *" */ 285 1.1 glass #define ULTRIX_SYS_getrusage 117 286 1.18 thorpej 287 1.18 thorpej /* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "caddr_t" "int *" */ 288 1.1 glass #define ULTRIX_SYS_getsockopt 118 289 1.18 thorpej 290 1.18 thorpej /* syscall: "readv" ret: "int" args: "int" "struct iovec *" "u_int" */ 291 1.1 glass #define ULTRIX_SYS_readv 120 292 1.18 thorpej 293 1.18 thorpej /* syscall: "writev" ret: "int" args: "int" "struct iovec *" "u_int" */ 294 1.1 glass #define ULTRIX_SYS_writev 121 295 1.18 thorpej 296 1.18 thorpej /* syscall: "settimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */ 297 1.1 glass #define ULTRIX_SYS_settimeofday 122 298 1.18 thorpej 299 1.18 thorpej /* syscall: "fchown" ret: "int" args: "int" "int" "int" */ 300 1.1 glass #define ULTRIX_SYS_fchown 123 301 1.18 thorpej 302 1.18 thorpej /* syscall: "fchmod" ret: "int" args: "int" "int" */ 303 1.1 glass #define ULTRIX_SYS_fchmod 124 304 1.18 thorpej 305 1.18 thorpej /* syscall: "recvfrom" ret: "int" args: "int" "caddr_t" "size_t" "int" "caddr_t" "int *" */ 306 1.12 mycroft #define ULTRIX_SYS_recvfrom 125 307 1.18 thorpej 308 1.18 thorpej /* syscall: "setreuid" ret: "int" args: "int" "int" */ 309 1.12 mycroft #define ULTRIX_SYS_setreuid 126 310 1.18 thorpej 311 1.18 thorpej /* syscall: "setregid" ret: "int" args: "int" "int" */ 312 1.12 mycroft #define ULTRIX_SYS_setregid 127 313 1.18 thorpej 314 1.18 thorpej /* syscall: "rename" ret: "int" args: "char *" "char *" */ 315 1.1 glass #define ULTRIX_SYS_rename 128 316 1.18 thorpej 317 1.18 thorpej /* syscall: "truncate" ret: "int" args: "char *" "long" */ 318 1.12 mycroft #define ULTRIX_SYS_truncate 129 319 1.18 thorpej 320 1.18 thorpej /* syscall: "ftruncate" ret: "int" args: "int" "long" */ 321 1.12 mycroft #define ULTRIX_SYS_ftruncate 130 322 1.18 thorpej 323 1.18 thorpej /* syscall: "flock" ret: "int" args: "int" "int" */ 324 1.1 glass #define ULTRIX_SYS_flock 131 325 1.18 thorpej 326 1.18 thorpej /* syscall: "sendto" ret: "int" args: "int" "caddr_t" "size_t" "int" "caddr_t" "int" */ 327 1.1 glass #define ULTRIX_SYS_sendto 133 328 1.18 thorpej 329 1.18 thorpej /* syscall: "shutdown" ret: "int" args: "int" "int" */ 330 1.1 glass #define ULTRIX_SYS_shutdown 134 331 1.18 thorpej 332 1.18 thorpej /* syscall: "socketpair" ret: "int" args: "int" "int" "int" "int *" */ 333 1.1 glass #define ULTRIX_SYS_socketpair 135 334 1.18 thorpej 335 1.18 thorpej /* syscall: "mkdir" ret: "int" args: "char *" "int" */ 336 1.1 glass #define ULTRIX_SYS_mkdir 136 337 1.18 thorpej 338 1.18 thorpej /* syscall: "rmdir" ret: "int" args: "char *" */ 339 1.1 glass #define ULTRIX_SYS_rmdir 137 340 1.18 thorpej 341 1.18 thorpej /* syscall: "utimes" ret: "int" args: "char *" "struct timeval *" */ 342 1.1 glass #define ULTRIX_SYS_utimes 138 343 1.18 thorpej 344 1.18 thorpej /* syscall: "sigcleanup" ret: "int" args: "struct sigcontext *" */ 345 1.12 mycroft #define ULTRIX_SYS_sigcleanup 139 346 1.18 thorpej 347 1.18 thorpej /* syscall: "adjtime" ret: "int" args: "struct timeval *" "struct timeval *" */ 348 1.1 glass #define ULTRIX_SYS_adjtime 140 349 1.18 thorpej 350 1.18 thorpej /* syscall: "getpeername" ret: "int" args: "int" "caddr_t" "int *" */ 351 1.12 mycroft #define ULTRIX_SYS_getpeername 141 352 1.18 thorpej 353 1.18 thorpej /* syscall: "gethostid" ret: "int" args: */ 354 1.12 mycroft #define ULTRIX_SYS_gethostid 142 355 1.18 thorpej 356 1.18 thorpej /* syscall: "getrlimit" ret: "int" args: "u_int" "struct orlimit *" */ 357 1.12 mycroft #define ULTRIX_SYS_getrlimit 144 358 1.18 thorpej 359 1.18 thorpej /* syscall: "setrlimit" ret: "int" args: "u_int" "struct orlimit *" */ 360 1.12 mycroft #define ULTRIX_SYS_setrlimit 145 361 1.18 thorpej 362 1.18 thorpej /* syscall: "killpg" ret: "int" args: "int" "int" */ 363 1.12 mycroft #define ULTRIX_SYS_killpg 146 364 1.18 thorpej 365 1.18 thorpej /* syscall: "getsockname" ret: "int" args: "int" "caddr_t" "int *" */ 366 1.12 mycroft #define ULTRIX_SYS_getsockname 150 367 1.18 thorpej 368 1.21 jonathan /* syscall: "cacheflush" ret: "int" args: "char *" "int" "int" */ 369 1.21 jonathan #define ULTRIX_SYS_cacheflush 152 370 1.21 jonathan 371 1.21 jonathan /* syscall: "cachectl" ret: "int" args: "char *" "int" "int" */ 372 1.21 jonathan #define ULTRIX_SYS_cachectl 153 373 1.21 jonathan 374 1.18 thorpej /* syscall: "nfssvc" ret: "int" args: "int" */ 375 1.12 mycroft #define ULTRIX_SYS_nfssvc 158 376 1.18 thorpej 377 1.18 thorpej /* syscall: "getdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */ 378 1.12 mycroft #define ULTRIX_SYS_getdirentries 159 379 1.18 thorpej 380 1.18 thorpej /* syscall: "statfs" ret: "int" args: "char *" "struct ultrix_statfs *" */ 381 1.12 mycroft #define ULTRIX_SYS_statfs 160 382 1.18 thorpej 383 1.18 thorpej /* syscall: "fstatfs" ret: "int" args: "int" "struct ultrix_statfs *" */ 384 1.12 mycroft #define ULTRIX_SYS_fstatfs 161 385 1.18 thorpej 386 1.18 thorpej /* syscall: "async_daemon" ret: "int" args: */ 387 1.1 glass #define ULTRIX_SYS_async_daemon 163 388 1.18 thorpej 389 1.18 thorpej /* syscall: "getfh" ret: "int" args: "char *" "fhandle_t *" */ 390 1.1 glass #define ULTRIX_SYS_getfh 164 391 1.18 thorpej 392 1.18 thorpej /* syscall: "getdomainname" ret: "int" args: "char *" "int" */ 393 1.12 mycroft #define ULTRIX_SYS_getdomainname 165 394 1.18 thorpej 395 1.18 thorpej /* syscall: "setdomainname" ret: "int" args: "char *" "int" */ 396 1.12 mycroft #define ULTRIX_SYS_setdomainname 166 397 1.18 thorpej 398 1.18 thorpej /* syscall: "quotactl" ret: "int" args: "int" "char *" "int" "caddr_t" */ 399 1.12 mycroft #define ULTRIX_SYS_quotactl 168 400 1.18 thorpej 401 1.18 thorpej /* syscall: "exportfs" ret: "int" args: "char *" "char *" */ 402 1.12 mycroft #define ULTRIX_SYS_exportfs 169 403 1.18 thorpej 404 1.18 thorpej /* syscall: "uname" ret: "int" args: "struct ultrix_utsname *" */ 405 1.12 mycroft #define ULTRIX_SYS_uname 179 406 1.18 thorpej 407 1.20 jonathan /* syscall: "shmsys" ret: "int" args: "u_int" "u_int" "u_int" "u_int" */ 408 1.20 jonathan #define ULTRIX_SYS_shmsys 180 409 1.20 jonathan 410 1.18 thorpej /* syscall: "ustat" ret: "int" args: "int" "struct ultrix_ustat *" */ 411 1.12 mycroft #define ULTRIX_SYS_ustat 183 412 1.18 thorpej 413 1.18 thorpej /* syscall: "getmnt" ret: "int" args: "int *" "struct ultrix_fs_data *" "int" "int" "char *" */ 414 1.13 jonathan #define ULTRIX_SYS_getmnt 184 415 1.18 thorpej 416 1.18 thorpej /* syscall: "sigpending" ret: "int" args: "int *" */ 417 1.12 mycroft #define ULTRIX_SYS_sigpending 187 418 1.18 thorpej 419 1.18 thorpej /* syscall: "setsid" ret: "int" args: */ 420 1.1 glass #define ULTRIX_SYS_setsid 188 421 1.18 thorpej 422 1.18 thorpej /* syscall: "waitpid" ret: "int" args: "int" "int *" "int" */ 423 1.12 mycroft #define ULTRIX_SYS_waitpid 189 424 1.18 thorpej 425 1.18 thorpej /* syscall: "getsysinfo" ret: "int" args: "unsigned" "char *" "unsigned" "int *" "char *" */ 426 1.12 mycroft #define ULTRIX_SYS_getsysinfo 256 427 1.18 thorpej 428 1.18 thorpej /* syscall: "setsysinfo" ret: "int" args: "unsigned" "char *" "unsigned" "unsigned" "unsigned" */ 429 1.12 mycroft #define ULTRIX_SYS_setsysinfo 257 430 1.18 thorpej 431 1.8 christos #define ULTRIX_SYS_MAXSYSCALL 258 432