1 1.1 deraadt /* 2 1.1 deraadt * System call numbers. 3 1.1 deraadt * 4 1.1 deraadt * DO NOT EDIT-- this file is automatically generated. 5 1.45 christos * created from NetBSD: syscalls.master,v 1.43 1997/10/16 23:54:17 christos Exp 6 1.1 deraadt */ 7 1.1 deraadt 8 1.40 thorpej /* syscall: "syscall" ret: "int" args: */ 9 1.18 deraadt #define SUNOS_SYS_syscall 0 10 1.40 thorpej 11 1.40 thorpej /* syscall: "exit" ret: "int" args: "int" */ 12 1.18 deraadt #define SUNOS_SYS_exit 1 13 1.40 thorpej 14 1.40 thorpej /* syscall: "fork" ret: "int" args: */ 15 1.18 deraadt #define SUNOS_SYS_fork 2 16 1.40 thorpej 17 1.40 thorpej /* syscall: "read" ret: "int" args: "int" "char *" "u_int" */ 18 1.18 deraadt #define SUNOS_SYS_read 3 19 1.40 thorpej 20 1.40 thorpej /* syscall: "write" ret: "int" args: "int" "char *" "u_int" */ 21 1.18 deraadt #define SUNOS_SYS_write 4 22 1.40 thorpej 23 1.40 thorpej /* syscall: "open" ret: "int" args: "char *" "int" "int" */ 24 1.33 mycroft #define SUNOS_SYS_open 5 25 1.40 thorpej 26 1.40 thorpej /* syscall: "close" ret: "int" args: "int" */ 27 1.18 deraadt #define SUNOS_SYS_close 6 28 1.40 thorpej 29 1.40 thorpej /* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage *" */ 30 1.33 mycroft #define SUNOS_SYS_wait4 7 31 1.40 thorpej 32 1.40 thorpej /* syscall: "creat" ret: "int" args: "char *" "int" */ 33 1.33 mycroft #define SUNOS_SYS_creat 8 34 1.40 thorpej 35 1.40 thorpej /* syscall: "link" ret: "int" args: "char *" "char *" */ 36 1.18 deraadt #define SUNOS_SYS_link 9 37 1.40 thorpej 38 1.40 thorpej /* syscall: "unlink" ret: "int" args: "char *" */ 39 1.18 deraadt #define SUNOS_SYS_unlink 10 40 1.40 thorpej 41 1.40 thorpej /* syscall: "execv" ret: "int" args: "char *" "char **" */ 42 1.33 mycroft #define SUNOS_SYS_execv 11 43 1.40 thorpej 44 1.40 thorpej /* syscall: "chdir" ret: "int" args: "char *" */ 45 1.18 deraadt #define SUNOS_SYS_chdir 12 46 1.40 thorpej 47 1.18 deraadt /* 13 is obsolete time */ 48 1.40 thorpej /* syscall: "mknod" ret: "int" args: "char *" "int" "int" */ 49 1.33 mycroft #define SUNOS_SYS_mknod 14 50 1.40 thorpej 51 1.40 thorpej /* syscall: "chmod" ret: "int" args: "char *" "int" */ 52 1.18 deraadt #define SUNOS_SYS_chmod 15 53 1.40 thorpej 54 1.40 thorpej /* syscall: "chown" ret: "int" args: "char *" "int" "int" */ 55 1.18 deraadt #define SUNOS_SYS_chown 16 56 1.40 thorpej 57 1.40 thorpej /* syscall: "break" ret: "int" args: "char *" */ 58 1.18 deraadt #define SUNOS_SYS_break 17 59 1.40 thorpej 60 1.18 deraadt /* 18 is obsolete stat */ 61 1.40 thorpej /* syscall: "lseek" ret: "long" args: "int" "long" "int" */ 62 1.33 mycroft #define SUNOS_SYS_lseek 19 63 1.40 thorpej 64 1.40 thorpej /* syscall: "getpid" ret: "pid_t" args: */ 65 1.18 deraadt #define SUNOS_SYS_getpid 20 66 1.40 thorpej 67 1.18 deraadt /* 21 is obsolete sunos_old_mount */ 68 1.40 thorpej /* syscall: "setuid" ret: "int" args: "uid_t" */ 69 1.18 deraadt #define SUNOS_SYS_setuid 23 70 1.40 thorpej 71 1.40 thorpej /* syscall: "getuid" ret: "uid_t" args: */ 72 1.18 deraadt #define SUNOS_SYS_getuid 24 73 1.40 thorpej 74 1.40 thorpej /* syscall: "stime" ret: "int" args: "time_t *" */ 75 1.37 christos #define SUNOS_SYS_stime 25 76 1.40 thorpej 77 1.40 thorpej /* syscall: "ptrace" ret: "long" args: "int" "pid_t" "caddr_t" "int" "char *" */ 78 1.33 mycroft #define SUNOS_SYS_ptrace 26 79 1.40 thorpej 80 1.40 thorpej /* syscall: "access" ret: "int" args: "char *" "int" */ 81 1.33 mycroft #define SUNOS_SYS_access 33 82 1.40 thorpej 83 1.40 thorpej /* syscall: "sync" ret: "int" args: */ 84 1.18 deraadt #define SUNOS_SYS_sync 36 85 1.40 thorpej 86 1.40 thorpej /* syscall: "kill" ret: "int" args: "int" "int" */ 87 1.18 deraadt #define SUNOS_SYS_kill 37 88 1.40 thorpej 89 1.45 christos /* syscall: "stat" ret: "int" args: "char *" "struct stat43 *" */ 90 1.33 mycroft #define SUNOS_SYS_stat 38 91 1.40 thorpej 92 1.45 christos /* syscall: "lstat" ret: "int" args: "char *" "struct stat43 *" */ 93 1.33 mycroft #define SUNOS_SYS_lstat 40 94 1.40 thorpej 95 1.40 thorpej /* syscall: "dup" ret: "int" args: "u_int" */ 96 1.18 deraadt #define SUNOS_SYS_dup 41 97 1.40 thorpej 98 1.40 thorpej /* syscall: "pipe" ret: "int" args: */ 99 1.18 deraadt #define SUNOS_SYS_pipe 42 100 1.40 thorpej 101 1.40 thorpej /* syscall: "profil" ret: "int" args: "caddr_t" "u_int" "u_int" "u_int" */ 102 1.18 deraadt #define SUNOS_SYS_profil 44 103 1.40 thorpej 104 1.40 thorpej /* syscall: "setgid" ret: "int" args: "uid_t" */ 105 1.23 deraadt #define SUNOS_SYS_setgid 46 106 1.40 thorpej 107 1.40 thorpej /* syscall: "getgid" ret: "gid_t" args: */ 108 1.18 deraadt #define SUNOS_SYS_getgid 47 109 1.40 thorpej 110 1.40 thorpej /* syscall: "acct" ret: "int" args: "char *" */ 111 1.18 deraadt #define SUNOS_SYS_acct 51 112 1.40 thorpej 113 1.40 thorpej /* syscall: "mctl" ret: "int" args: "caddr_t" "int" "int" "void *" */ 114 1.33 mycroft #define SUNOS_SYS_mctl 53 115 1.40 thorpej 116 1.40 thorpej /* syscall: "ioctl" ret: "int" args: "int" "u_long" "caddr_t" */ 117 1.33 mycroft #define SUNOS_SYS_ioctl 54 118 1.40 thorpej 119 1.40 thorpej /* syscall: "reboot" ret: "int" args: "int" "char *" */ 120 1.33 mycroft #define SUNOS_SYS_reboot 55 121 1.40 thorpej 122 1.18 deraadt /* 56 is obsolete sunos_owait3 */ 123 1.40 thorpej /* syscall: "symlink" ret: "int" args: "char *" "char *" */ 124 1.18 deraadt #define SUNOS_SYS_symlink 57 125 1.40 thorpej 126 1.40 thorpej /* syscall: "readlink" ret: "int" args: "char *" "char *" "int" */ 127 1.18 deraadt #define SUNOS_SYS_readlink 58 128 1.40 thorpej 129 1.40 thorpej /* syscall: "execve" ret: "int" args: "char *" "char **" "char **" */ 130 1.18 deraadt #define SUNOS_SYS_execve 59 131 1.40 thorpej 132 1.40 thorpej /* syscall: "umask" ret: "int" args: "int" */ 133 1.18 deraadt #define SUNOS_SYS_umask 60 134 1.40 thorpej 135 1.40 thorpej /* syscall: "chroot" ret: "int" args: "char *" */ 136 1.18 deraadt #define SUNOS_SYS_chroot 61 137 1.40 thorpej 138 1.45 christos /* syscall: "fstat" ret: "int" args: "int" "struct stat43 *" */ 139 1.33 mycroft #define SUNOS_SYS_fstat 62 140 1.40 thorpej 141 1.40 thorpej /* syscall: "getpagesize" ret: "int" args: */ 142 1.33 mycroft #define SUNOS_SYS_getpagesize 64 143 1.40 thorpej 144 1.40 thorpej /* syscall: "omsync" ret: "int" args: "caddr_t" "size_t" "int" */ 145 1.33 mycroft #define SUNOS_SYS_omsync 65 146 1.40 thorpej 147 1.40 thorpej /* syscall: "vfork" ret: "int" args: */ 148 1.18 deraadt #define SUNOS_SYS_vfork 66 149 1.40 thorpej 150 1.1 deraadt /* 67 is obsolete vread */ 151 1.1 deraadt /* 68 is obsolete vwrite */ 152 1.40 thorpej /* syscall: "sbrk" ret: "int" args: "int" */ 153 1.18 deraadt #define SUNOS_SYS_sbrk 69 154 1.40 thorpej 155 1.40 thorpej /* syscall: "sstk" ret: "int" args: "int" */ 156 1.18 deraadt #define SUNOS_SYS_sstk 70 157 1.40 thorpej 158 1.40 thorpej /* syscall: "mmap" ret: "int" args: "caddr_t" "size_t" "int" "int" "int" "long" */ 159 1.33 mycroft #define SUNOS_SYS_mmap 71 160 1.40 thorpej 161 1.40 thorpej /* syscall: "vadvise" ret: "int" args: "int" */ 162 1.18 deraadt #define SUNOS_SYS_vadvise 72 163 1.40 thorpej 164 1.40 thorpej /* syscall: "munmap" ret: "int" args: "caddr_t" "size_t" */ 165 1.18 deraadt #define SUNOS_SYS_munmap 73 166 1.40 thorpej 167 1.40 thorpej /* syscall: "mprotect" ret: "int" args: "caddr_t" "size_t" "int" */ 168 1.18 deraadt #define SUNOS_SYS_mprotect 74 169 1.40 thorpej 170 1.40 thorpej /* syscall: "madvise" ret: "int" args: "caddr_t" "size_t" "int" */ 171 1.18 deraadt #define SUNOS_SYS_madvise 75 172 1.40 thorpej 173 1.40 thorpej /* syscall: "vhangup" ret: "int" args: */ 174 1.33 mycroft #define SUNOS_SYS_vhangup 76 175 1.40 thorpej 176 1.40 thorpej /* syscall: "mincore" ret: "int" args: "caddr_t" "size_t" "char *" */ 177 1.18 deraadt #define SUNOS_SYS_mincore 78 178 1.40 thorpej 179 1.40 thorpej /* syscall: "getgroups" ret: "int" args: "u_int" "gid_t *" */ 180 1.18 deraadt #define SUNOS_SYS_getgroups 79 181 1.40 thorpej 182 1.40 thorpej /* syscall: "setgroups" ret: "int" args: "u_int" "gid_t *" */ 183 1.18 deraadt #define SUNOS_SYS_setgroups 80 184 1.40 thorpej 185 1.40 thorpej /* syscall: "getpgrp" ret: "int" args: */ 186 1.18 deraadt #define SUNOS_SYS_getpgrp 81 187 1.40 thorpej 188 1.40 thorpej /* syscall: "setpgrp" ret: "int" args: "int" "int" */ 189 1.33 mycroft #define SUNOS_SYS_setpgrp 82 190 1.40 thorpej 191 1.40 thorpej /* syscall: "setitimer" ret: "int" args: "u_int" "struct itimerval *" "struct itimerval *" */ 192 1.18 deraadt #define SUNOS_SYS_setitimer 83 193 1.40 thorpej 194 1.40 thorpej /* syscall: "swapon" ret: "int" args: "char *" */ 195 1.18 deraadt #define SUNOS_SYS_swapon 85 196 1.40 thorpej 197 1.40 thorpej /* syscall: "getitimer" ret: "int" args: "u_int" "struct itimerval *" */ 198 1.18 deraadt #define SUNOS_SYS_getitimer 86 199 1.40 thorpej 200 1.40 thorpej /* syscall: "gethostname" ret: "int" args: "char *" "u_int" */ 201 1.33 mycroft #define SUNOS_SYS_gethostname 87 202 1.40 thorpej 203 1.40 thorpej /* syscall: "sethostname" ret: "int" args: "char *" "u_int" */ 204 1.33 mycroft #define SUNOS_SYS_sethostname 88 205 1.40 thorpej 206 1.40 thorpej /* syscall: "getdtablesize" ret: "int" args: */ 207 1.33 mycroft #define SUNOS_SYS_getdtablesize 89 208 1.40 thorpej 209 1.40 thorpej /* syscall: "dup2" ret: "int" args: "u_int" "u_int" */ 210 1.18 deraadt #define SUNOS_SYS_dup2 90 211 1.40 thorpej 212 1.40 thorpej /* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */ 213 1.18 deraadt #define SUNOS_SYS_fcntl 92 214 1.40 thorpej 215 1.40 thorpej /* syscall: "select" ret: "int" args: "u_int" "fd_set *" "fd_set *" "fd_set *" "struct timeval *" */ 216 1.18 deraadt #define SUNOS_SYS_select 93 217 1.40 thorpej 218 1.40 thorpej /* syscall: "fsync" ret: "int" args: "int" */ 219 1.18 deraadt #define SUNOS_SYS_fsync 95 220 1.40 thorpej 221 1.40 thorpej /* syscall: "setpriority" ret: "int" args: "int" "int" "int" */ 222 1.18 deraadt #define SUNOS_SYS_setpriority 96 223 1.40 thorpej 224 1.40 thorpej /* syscall: "socket" ret: "int" args: "int" "int" "int" */ 225 1.18 deraadt #define SUNOS_SYS_socket 97 226 1.40 thorpej 227 1.40 thorpej /* syscall: "connect" ret: "int" args: "int" "caddr_t" "int" */ 228 1.18 deraadt #define SUNOS_SYS_connect 98 229 1.40 thorpej 230 1.40 thorpej /* syscall: "accept" ret: "int" args: "int" "caddr_t" "int *" */ 231 1.33 mycroft #define SUNOS_SYS_accept 99 232 1.40 thorpej 233 1.40 thorpej /* syscall: "getpriority" ret: "int" args: "int" "int" */ 234 1.18 deraadt #define SUNOS_SYS_getpriority 100 235 1.40 thorpej 236 1.40 thorpej /* syscall: "send" ret: "int" args: "int" "caddr_t" "int" "int" */ 237 1.33 mycroft #define SUNOS_SYS_send 101 238 1.40 thorpej 239 1.40 thorpej /* syscall: "recv" ret: "int" args: "int" "caddr_t" "int" "int" */ 240 1.33 mycroft #define SUNOS_SYS_recv 102 241 1.40 thorpej 242 1.40 thorpej /* syscall: "bind" ret: "int" args: "int" "caddr_t" "int" */ 243 1.18 deraadt #define SUNOS_SYS_bind 104 244 1.40 thorpej 245 1.40 thorpej /* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "caddr_t" "int" */ 246 1.33 mycroft #define SUNOS_SYS_setsockopt 105 247 1.40 thorpej 248 1.40 thorpej /* syscall: "listen" ret: "int" args: "int" "int" */ 249 1.18 deraadt #define SUNOS_SYS_listen 106 250 1.40 thorpej 251 1.40 thorpej /* syscall: "sigvec" ret: "int" args: "int" "struct sigvec *" "struct sigvec *" */ 252 1.33 mycroft #define SUNOS_SYS_sigvec 108 253 1.40 thorpej 254 1.40 thorpej /* syscall: "sigblock" ret: "int" args: "int" */ 255 1.33 mycroft #define SUNOS_SYS_sigblock 109 256 1.40 thorpej 257 1.40 thorpej /* syscall: "sigsetmask" ret: "int" args: "int" */ 258 1.33 mycroft #define SUNOS_SYS_sigsetmask 110 259 1.40 thorpej 260 1.40 thorpej /* syscall: "sigsuspend" ret: "int" args: "int" */ 261 1.18 deraadt #define SUNOS_SYS_sigsuspend 111 262 1.40 thorpej 263 1.40 thorpej /* syscall: "sigstack" ret: "int" args: "struct sigstack *" "struct sigstack *" */ 264 1.33 mycroft #define SUNOS_SYS_sigstack 112 265 1.40 thorpej 266 1.40 thorpej /* syscall: "recvmsg" ret: "int" args: "int" "struct omsghdr *" "int" */ 267 1.33 mycroft #define SUNOS_SYS_recvmsg 113 268 1.40 thorpej 269 1.40 thorpej /* syscall: "sendmsg" ret: "int" args: "int" "caddr_t" "int" */ 270 1.33 mycroft #define SUNOS_SYS_sendmsg 114 271 1.40 thorpej 272 1.1 deraadt /* 115 is obsolete vtrace */ 273 1.40 thorpej /* syscall: "gettimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */ 274 1.18 deraadt #define SUNOS_SYS_gettimeofday 116 275 1.40 thorpej 276 1.40 thorpej /* syscall: "getrusage" ret: "int" args: "int" "struct rusage *" */ 277 1.18 deraadt #define SUNOS_SYS_getrusage 117 278 1.40 thorpej 279 1.40 thorpej /* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "caddr_t" "int *" */ 280 1.18 deraadt #define SUNOS_SYS_getsockopt 118 281 1.40 thorpej 282 1.40 thorpej /* syscall: "readv" ret: "int" args: "int" "struct iovec *" "u_int" */ 283 1.18 deraadt #define SUNOS_SYS_readv 120 284 1.40 thorpej 285 1.40 thorpej /* syscall: "writev" ret: "int" args: "int" "struct iovec *" "u_int" */ 286 1.18 deraadt #define SUNOS_SYS_writev 121 287 1.40 thorpej 288 1.40 thorpej /* syscall: "settimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */ 289 1.18 deraadt #define SUNOS_SYS_settimeofday 122 290 1.40 thorpej 291 1.40 thorpej /* syscall: "fchown" ret: "int" args: "int" "int" "int" */ 292 1.18 deraadt #define SUNOS_SYS_fchown 123 293 1.40 thorpej 294 1.40 thorpej /* syscall: "fchmod" ret: "int" args: "int" "int" */ 295 1.18 deraadt #define SUNOS_SYS_fchmod 124 296 1.40 thorpej 297 1.40 thorpej /* syscall: "recvfrom" ret: "int" args: "int" "caddr_t" "size_t" "int" "caddr_t" "int *" */ 298 1.33 mycroft #define SUNOS_SYS_recvfrom 125 299 1.40 thorpej 300 1.40 thorpej /* syscall: "setreuid" ret: "int" args: "int" "int" */ 301 1.33 mycroft #define SUNOS_SYS_setreuid 126 302 1.40 thorpej 303 1.40 thorpej /* syscall: "setregid" ret: "int" args: "int" "int" */ 304 1.33 mycroft #define SUNOS_SYS_setregid 127 305 1.40 thorpej 306 1.40 thorpej /* syscall: "rename" ret: "int" args: "char *" "char *" */ 307 1.18 deraadt #define SUNOS_SYS_rename 128 308 1.40 thorpej 309 1.40 thorpej /* syscall: "truncate" ret: "int" args: "char *" "long" */ 310 1.33 mycroft #define SUNOS_SYS_truncate 129 311 1.40 thorpej 312 1.40 thorpej /* syscall: "ftruncate" ret: "int" args: "int" "long" */ 313 1.33 mycroft #define SUNOS_SYS_ftruncate 130 314 1.40 thorpej 315 1.40 thorpej /* syscall: "flock" ret: "int" args: "int" "int" */ 316 1.18 deraadt #define SUNOS_SYS_flock 131 317 1.40 thorpej 318 1.40 thorpej /* syscall: "sendto" ret: "int" args: "int" "caddr_t" "size_t" "int" "caddr_t" "int" */ 319 1.18 deraadt #define SUNOS_SYS_sendto 133 320 1.40 thorpej 321 1.40 thorpej /* syscall: "shutdown" ret: "int" args: "int" "int" */ 322 1.18 deraadt #define SUNOS_SYS_shutdown 134 323 1.40 thorpej 324 1.40 thorpej /* syscall: "socketpair" ret: "int" args: "int" "int" "int" "int *" */ 325 1.18 deraadt #define SUNOS_SYS_socketpair 135 326 1.40 thorpej 327 1.40 thorpej /* syscall: "mkdir" ret: "int" args: "char *" "int" */ 328 1.18 deraadt #define SUNOS_SYS_mkdir 136 329 1.40 thorpej 330 1.40 thorpej /* syscall: "rmdir" ret: "int" args: "char *" */ 331 1.18 deraadt #define SUNOS_SYS_rmdir 137 332 1.40 thorpej 333 1.40 thorpej /* syscall: "utimes" ret: "int" args: "char *" "struct timeval *" */ 334 1.18 deraadt #define SUNOS_SYS_utimes 138 335 1.40 thorpej 336 1.40 thorpej /* syscall: "sigreturn" ret: "int" args: "struct sigcontext *" */ 337 1.33 mycroft #define SUNOS_SYS_sigreturn 139 338 1.40 thorpej 339 1.40 thorpej /* syscall: "adjtime" ret: "int" args: "struct timeval *" "struct timeval *" */ 340 1.18 deraadt #define SUNOS_SYS_adjtime 140 341 1.40 thorpej 342 1.40 thorpej /* syscall: "getpeername" ret: "int" args: "int" "caddr_t" "int *" */ 343 1.33 mycroft #define SUNOS_SYS_getpeername 141 344 1.40 thorpej 345 1.40 thorpej /* syscall: "gethostid" ret: "int" args: */ 346 1.33 mycroft #define SUNOS_SYS_gethostid 142 347 1.40 thorpej 348 1.40 thorpej /* syscall: "getrlimit" ret: "int" args: "u_int" "struct orlimit *" */ 349 1.33 mycroft #define SUNOS_SYS_getrlimit 144 350 1.40 thorpej 351 1.40 thorpej /* syscall: "setrlimit" ret: "int" args: "u_int" "struct orlimit *" */ 352 1.33 mycroft #define SUNOS_SYS_setrlimit 145 353 1.40 thorpej 354 1.40 thorpej /* syscall: "killpg" ret: "int" args: "int" "int" */ 355 1.33 mycroft #define SUNOS_SYS_killpg 146 356 1.40 thorpej 357 1.40 thorpej /* syscall: "getsockname" ret: "int" args: "int" "caddr_t" "int *" */ 358 1.33 mycroft #define SUNOS_SYS_getsockname 150 359 1.40 thorpej 360 1.40 thorpej /* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */ 361 1.33 mycroft #define SUNOS_SYS_poll 153 362 1.40 thorpej 363 1.40 thorpej /* syscall: "nfssvc" ret: "int" args: "int" */ 364 1.33 mycroft #define SUNOS_SYS_nfssvc 155 365 1.40 thorpej 366 1.40 thorpej /* syscall: "getdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */ 367 1.18 deraadt #define SUNOS_SYS_getdirentries 156 368 1.40 thorpej 369 1.40 thorpej /* syscall: "statfs" ret: "int" args: "char *" "struct sunos_statfs *" */ 370 1.33 mycroft #define SUNOS_SYS_statfs 157 371 1.40 thorpej 372 1.40 thorpej /* syscall: "fstatfs" ret: "int" args: "int" "struct sunos_statfs *" */ 373 1.33 mycroft #define SUNOS_SYS_fstatfs 158 374 1.40 thorpej 375 1.40 thorpej /* syscall: "unmount" ret: "int" args: "char *" */ 376 1.33 mycroft #define SUNOS_SYS_unmount 159 377 1.40 thorpej 378 1.40 thorpej /* syscall: "async_daemon" ret: "int" args: */ 379 1.18 deraadt #define SUNOS_SYS_async_daemon 160 380 1.40 thorpej 381 1.40 thorpej /* syscall: "getfh" ret: "int" args: "char *" "fhandle_t *" */ 382 1.18 deraadt #define SUNOS_SYS_getfh 161 383 1.40 thorpej 384 1.40 thorpej /* syscall: "getdomainname" ret: "int" args: "char *" "int" */ 385 1.33 mycroft #define SUNOS_SYS_getdomainname 162 386 1.40 thorpej 387 1.40 thorpej /* syscall: "setdomainname" ret: "int" args: "char *" "int" */ 388 1.33 mycroft #define SUNOS_SYS_setdomainname 163 389 1.40 thorpej 390 1.40 thorpej /* syscall: "quotactl" ret: "int" args: "int" "char *" "int" "caddr_t" */ 391 1.33 mycroft #define SUNOS_SYS_quotactl 165 392 1.40 thorpej 393 1.40 thorpej /* syscall: "exportfs" ret: "int" args: "char *" "char *" */ 394 1.33 mycroft #define SUNOS_SYS_exportfs 166 395 1.40 thorpej 396 1.40 thorpej /* syscall: "mount" ret: "int" args: "char *" "char *" "int" "caddr_t" */ 397 1.33 mycroft #define SUNOS_SYS_mount 167 398 1.40 thorpej 399 1.40 thorpej /* syscall: "ustat" ret: "int" args: "int" "struct sunos_ustat *" */ 400 1.33 mycroft #define SUNOS_SYS_ustat 168 401 1.40 thorpej 402 1.40 thorpej /* syscall: "semsys" ret: "int" args: "int" "int" "int" "int" "int" */ 403 1.33 mycroft #define SUNOS_SYS_semsys 169 404 1.40 thorpej 405 1.40 thorpej /* syscall: "msgsys" ret: "int" args: "int" "int" "int" "int" "int" "int" */ 406 1.33 mycroft #define SUNOS_SYS_msgsys 170 407 1.40 thorpej 408 1.40 thorpej /* syscall: "shmsys" ret: "int" args: "int" "int" "int" "int" */ 409 1.33 mycroft #define SUNOS_SYS_shmsys 171 410 1.40 thorpej 411 1.40 thorpej /* syscall: "auditsys" ret: "int" args: "char *" */ 412 1.33 mycroft #define SUNOS_SYS_auditsys 172 413 1.40 thorpej 414 1.40 thorpej /* syscall: "getdents" ret: "int" args: "int" "char *" "int" */ 415 1.33 mycroft #define SUNOS_SYS_getdents 174 416 1.40 thorpej 417 1.40 thorpej /* syscall: "setsid" ret: "int" args: */ 418 1.18 deraadt #define SUNOS_SYS_setsid 175 419 1.40 thorpej 420 1.40 thorpej /* syscall: "fchdir" ret: "int" args: "int" */ 421 1.18 deraadt #define SUNOS_SYS_fchdir 176 422 1.40 thorpej 423 1.40 thorpej /* syscall: "fchroot" ret: "int" args: "int" */ 424 1.33 mycroft #define SUNOS_SYS_fchroot 177 425 1.40 thorpej 426 1.40 thorpej /* syscall: "sigpending" ret: "int" args: "int *" */ 427 1.33 mycroft #define SUNOS_SYS_sigpending 183 428 1.40 thorpej 429 1.40 thorpej /* syscall: "setpgid" ret: "int" args: "int" "int" */ 430 1.18 deraadt #define SUNOS_SYS_setpgid 185 431 1.40 thorpej 432 1.40 thorpej /* syscall: "pathconf" ret: "long" args: "char *" "int" */ 433 1.23 deraadt #define SUNOS_SYS_pathconf 186 434 1.40 thorpej 435 1.40 thorpej /* syscall: "fpathconf" ret: "long" args: "int" "int" */ 436 1.23 deraadt #define SUNOS_SYS_fpathconf 187 437 1.40 thorpej 438 1.40 thorpej /* syscall: "sysconf" ret: "int" args: "int" */ 439 1.33 mycroft #define SUNOS_SYS_sysconf 188 440 1.40 thorpej 441 1.40 thorpej /* syscall: "uname" ret: "int" args: "struct sunos_utsname *" */ 442 1.33 mycroft #define SUNOS_SYS_uname 189 443 1.40 thorpej 444 1.25 christos #define SUNOS_SYS_MAXSYSCALL 190 445