1 /* $NetBSD: netbsd32_syscall.h,v 1.32 2004/06/17 18:30:54 cube Exp $ */ 2 3 /* 4 * System call numbers. 5 * 6 * DO NOT EDIT-- this file is automatically generated. 7 * created from NetBSD: syscalls.master,v 1.26 2004/06/17 18:29:40 cube Exp 8 */ 9 10 /* syscall: "syscall" ret: "int" args: "int" "..." */ 11 #define netbsd32_SYS_syscall 0 12 13 /* syscall: "netbsd32_exit" ret: "void" args: "int" */ 14 #define netbsd32_SYS_netbsd32_exit 1 15 16 /* syscall: "fork" ret: "int" args: */ 17 #define netbsd32_SYS_fork 2 18 19 /* syscall: "netbsd32_read" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" */ 20 #define netbsd32_SYS_netbsd32_read 3 21 22 /* syscall: "netbsd32_write" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_voidp" "netbsd32_size_t" */ 23 #define netbsd32_SYS_netbsd32_write 4 24 25 /* syscall: "netbsd32_open" ret: "int" args: "const netbsd32_charp" "int" "..." */ 26 #define netbsd32_SYS_netbsd32_open 5 27 28 /* syscall: "netbsd32_close" ret: "int" args: "int" */ 29 #define netbsd32_SYS_netbsd32_close 6 30 31 /* syscall: "netbsd32_wait4" ret: "int" args: "int" "netbsd32_intp" "int" "netbsd32_rusagep_t" */ 32 #define netbsd32_SYS_netbsd32_wait4 7 33 34 /* syscall: "compat_43_netbsd32_ocreat" ret: "int" args: "const netbsd32_charp" "mode_t" */ 35 #define netbsd32_SYS_compat_43_netbsd32_ocreat 8 36 37 /* syscall: "netbsd32_link" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" */ 38 #define netbsd32_SYS_netbsd32_link 9 39 40 /* syscall: "netbsd32_unlink" ret: "int" args: "const netbsd32_charp" */ 41 #define netbsd32_SYS_netbsd32_unlink 10 42 43 /* 11 is obsolete execv */ 44 /* syscall: "netbsd32_chdir" ret: "int" args: "const netbsd32_charp" */ 45 #define netbsd32_SYS_netbsd32_chdir 12 46 47 /* syscall: "netbsd32_fchdir" ret: "int" args: "int" */ 48 #define netbsd32_SYS_netbsd32_fchdir 13 49 50 /* syscall: "netbsd32_mknod" ret: "int" args: "const netbsd32_charp" "mode_t" "dev_t" */ 51 #define netbsd32_SYS_netbsd32_mknod 14 52 53 /* syscall: "netbsd32_chmod" ret: "int" args: "const netbsd32_charp" "mode_t" */ 54 #define netbsd32_SYS_netbsd32_chmod 15 55 56 /* syscall: "netbsd32_chown" ret: "int" args: "const netbsd32_charp" "uid_t" "gid_t" */ 57 #define netbsd32_SYS_netbsd32_chown 16 58 59 /* syscall: "netbsd32_break" ret: "int" args: "netbsd32_charp" */ 60 #define netbsd32_SYS_netbsd32_break 17 61 62 /* syscall: "compat_20_netbsd32_getfsstat" ret: "int" args: "netbsd32_statfsp_t" "netbsd32_long" "int" */ 63 #define netbsd32_SYS_compat_20_netbsd32_getfsstat 18 64 65 /* syscall: "compat_43_netbsd32_olseek" ret: "netbsd32_long" args: "int" "netbsd32_long" "int" */ 66 #define netbsd32_SYS_compat_43_netbsd32_olseek 19 67 68 /* syscall: "getpid" ret: "pid_t" args: */ 69 #define netbsd32_SYS_getpid 20 70 71 /* syscall: "netbsd32_mount" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" "int" "netbsd32_voidp" */ 72 #define netbsd32_SYS_netbsd32_mount 21 73 74 /* syscall: "netbsd32_unmount" ret: "int" args: "const netbsd32_charp" "int" */ 75 #define netbsd32_SYS_netbsd32_unmount 22 76 77 /* syscall: "netbsd32_setuid" ret: "int" args: "uid_t" */ 78 #define netbsd32_SYS_netbsd32_setuid 23 79 80 /* syscall: "getuid" ret: "uid_t" args: */ 81 #define netbsd32_SYS_getuid 24 82 83 /* syscall: "geteuid" ret: "uid_t" args: */ 84 #define netbsd32_SYS_geteuid 25 85 86 /* syscall: "netbsd32_ptrace" ret: "int" args: "int" "pid_t" "netbsd32_caddr_t" "int" */ 87 #define netbsd32_SYS_netbsd32_ptrace 26 88 89 /* syscall: "netbsd32_recvmsg" ret: "netbsd32_ssize_t" args: "int" "netbsd32_msghdrp_t" "int" */ 90 #define netbsd32_SYS_netbsd32_recvmsg 27 91 92 /* syscall: "netbsd32_sendmsg" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_msghdrp_t" "int" */ 93 #define netbsd32_SYS_netbsd32_sendmsg 28 94 95 /* syscall: "netbsd32_recvfrom" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" "int" "netbsd32_sockaddrp_t" "netbsd32_intp" */ 96 #define netbsd32_SYS_netbsd32_recvfrom 29 97 98 /* syscall: "netbsd32_accept" ret: "int" args: "int" "netbsd32_sockaddrp_t" "netbsd32_intp" */ 99 #define netbsd32_SYS_netbsd32_accept 30 100 101 /* syscall: "netbsd32_getpeername" ret: "int" args: "int" "netbsd32_sockaddrp_t" "netbsd32_intp" */ 102 #define netbsd32_SYS_netbsd32_getpeername 31 103 104 /* syscall: "netbsd32_getsockname" ret: "int" args: "int" "netbsd32_sockaddrp_t" "netbsd32_intp" */ 105 #define netbsd32_SYS_netbsd32_getsockname 32 106 107 /* syscall: "netbsd32_access" ret: "int" args: "const netbsd32_charp" "int" */ 108 #define netbsd32_SYS_netbsd32_access 33 109 110 /* syscall: "netbsd32_chflags" ret: "int" args: "const netbsd32_charp" "netbsd32_u_long" */ 111 #define netbsd32_SYS_netbsd32_chflags 34 112 113 /* syscall: "netbsd32_fchflags" ret: "int" args: "int" "netbsd32_u_long" */ 114 #define netbsd32_SYS_netbsd32_fchflags 35 115 116 /* syscall: "sync" ret: "void" args: */ 117 #define netbsd32_SYS_sync 36 118 119 /* syscall: "netbsd32_kill" ret: "int" args: "int" "int" */ 120 #define netbsd32_SYS_netbsd32_kill 37 121 122 /* syscall: "compat_43_netbsd32_stat43" ret: "int" args: "const netbsd32_charp" "netbsd32_stat43p_t" */ 123 #define netbsd32_SYS_compat_43_netbsd32_stat43 38 124 125 /* syscall: "getppid" ret: "pid_t" args: */ 126 #define netbsd32_SYS_getppid 39 127 128 /* syscall: "compat_43_netbsd32_lstat43" ret: "int" args: "const netbsd32_charp" "netbsd32_stat43p_t" */ 129 #define netbsd32_SYS_compat_43_netbsd32_lstat43 40 130 131 /* syscall: "netbsd32_dup" ret: "int" args: "int" */ 132 #define netbsd32_SYS_netbsd32_dup 41 133 134 /* syscall: "pipe" ret: "int" args: */ 135 #define netbsd32_SYS_pipe 42 136 137 /* syscall: "getegid" ret: "gid_t" args: */ 138 #define netbsd32_SYS_getegid 43 139 140 /* syscall: "netbsd32_profil" ret: "int" args: "netbsd32_caddr_t" "netbsd32_size_t" "netbsd32_u_long" "u_int" */ 141 #define netbsd32_SYS_netbsd32_profil 44 142 143 #if defined(KTRACE) || !defined(_KERNEL) 144 /* syscall: "netbsd32_ktrace" ret: "int" args: "const netbsd32_charp" "int" "int" "int" */ 145 #define netbsd32_SYS_netbsd32_ktrace 45 146 147 #else 148 /* 45 is excluded netbsd32_ktrace */ 149 #endif 150 /* syscall: "netbsd32_sigaction" ret: "int" args: "int" "const netbsd32_sigactionp_t" "netbsd32_sigactionp_t" */ 151 #define netbsd32_SYS_netbsd32_sigaction 46 152 153 /* syscall: "getgid" ret: "gid_t" args: */ 154 #define netbsd32_SYS_getgid 47 155 156 /* syscall: "compat_13_sigprocmask13" ret: "int" args: "int" "int" */ 157 #define netbsd32_SYS_compat_13_sigprocmask13 48 158 159 /* syscall: "netbsd32___getlogin" ret: "int" args: "netbsd32_charp" "u_int" */ 160 #define netbsd32_SYS_netbsd32___getlogin 49 161 162 /* syscall: "netbsd32_setlogin" ret: "int" args: "const netbsd32_charp" */ 163 #define netbsd32_SYS_netbsd32_setlogin 50 164 165 /* syscall: "netbsd32_acct" ret: "int" args: "const netbsd32_charp" */ 166 #define netbsd32_SYS_netbsd32_acct 51 167 168 /* syscall: "compat_13_sigpending13" ret: "int" args: */ 169 #define netbsd32_SYS_compat_13_sigpending13 52 170 171 /* syscall: "compat_13_netbsd32_sigaltstack13" ret: "int" args: "const netbsd32_sigaltstack13p_t" "netbsd32_sigaltstack13p_t" */ 172 #define netbsd32_SYS_compat_13_netbsd32_sigaltstack13 53 173 174 /* syscall: "netbsd32_ioctl" ret: "int" args: "int" "netbsd32_u_long" "..." */ 175 #define netbsd32_SYS_netbsd32_ioctl 54 176 177 /* syscall: "compat_12_netbsd32_reboot" ret: "int" args: "int" */ 178 #define netbsd32_SYS_compat_12_netbsd32_reboot 55 179 180 /* syscall: "netbsd32_revoke" ret: "int" args: "const netbsd32_charp" */ 181 #define netbsd32_SYS_netbsd32_revoke 56 182 183 /* syscall: "netbsd32_symlink" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" */ 184 #define netbsd32_SYS_netbsd32_symlink 57 185 186 /* syscall: "netbsd32_readlink" ret: "int" args: "const netbsd32_charp" "netbsd32_charp" "netbsd32_size_t" */ 187 #define netbsd32_SYS_netbsd32_readlink 58 188 189 /* syscall: "netbsd32_execve" ret: "int" args: "const netbsd32_charp" "netbsd32_charpp" "netbsd32_charpp" */ 190 #define netbsd32_SYS_netbsd32_execve 59 191 192 /* syscall: "netbsd32_umask" ret: "mode_t" args: "mode_t" */ 193 #define netbsd32_SYS_netbsd32_umask 60 194 195 /* syscall: "netbsd32_chroot" ret: "int" args: "const netbsd32_charp" */ 196 #define netbsd32_SYS_netbsd32_chroot 61 197 198 /* syscall: "compat_43_netbsd32_fstat43" ret: "int" args: "int" "netbsd32_stat43p_t" */ 199 #define netbsd32_SYS_compat_43_netbsd32_fstat43 62 200 201 /* syscall: "compat_43_netbsd32_ogetkerninfo" ret: "int" args: "int" "netbsd32_charp" "netbsd32_intp" "int" */ 202 #define netbsd32_SYS_compat_43_netbsd32_ogetkerninfo 63 203 204 /* syscall: "compat_43_ogetpagesize" ret: "int" args: */ 205 #define netbsd32_SYS_compat_43_ogetpagesize 64 206 207 /* syscall: "compat_12_netbsd32_msync" ret: "int" args: "netbsd32_caddr_t" "netbsd32_size_t" */ 208 #define netbsd32_SYS_compat_12_netbsd32_msync 65 209 210 /* syscall: "vfork" ret: "int" args: */ 211 #define netbsd32_SYS_vfork 66 212 213 /* 67 is obsolete vread */ 214 /* 68 is obsolete vwrite */ 215 /* syscall: "netbsd32_sbrk" ret: "int" args: "netbsd32_intptr_t" */ 216 #define netbsd32_SYS_netbsd32_sbrk 69 217 218 /* syscall: "netbsd32_sstk" ret: "int" args: "int" */ 219 #define netbsd32_SYS_netbsd32_sstk 70 220 221 /* syscall: "compat_43_netbsd32_ommap" ret: "int" args: "netbsd32_caddr_t" "netbsd32_size_t" "int" "int" "int" "netbsd32_long" */ 222 #define netbsd32_SYS_compat_43_netbsd32_ommap 71 223 224 /* syscall: "vadvise" ret: "int" args: "int" */ 225 #define netbsd32_SYS_vadvise 72 226 227 /* syscall: "netbsd32_munmap" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" */ 228 #define netbsd32_SYS_netbsd32_munmap 73 229 230 /* syscall: "netbsd32_mprotect" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */ 231 #define netbsd32_SYS_netbsd32_mprotect 74 232 233 /* syscall: "netbsd32_madvise" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */ 234 #define netbsd32_SYS_netbsd32_madvise 75 235 236 /* 76 is obsolete vhangup */ 237 /* 77 is obsolete vlimit */ 238 /* syscall: "netbsd32_mincore" ret: "int" args: "netbsd32_caddr_t" "netbsd32_size_t" "netbsd32_charp" */ 239 #define netbsd32_SYS_netbsd32_mincore 78 240 241 /* syscall: "netbsd32_getgroups" ret: "int" args: "int" "netbsd32_gid_tp" */ 242 #define netbsd32_SYS_netbsd32_getgroups 79 243 244 /* syscall: "netbsd32_setgroups" ret: "int" args: "int" "const netbsd32_gid_tp" */ 245 #define netbsd32_SYS_netbsd32_setgroups 80 246 247 /* syscall: "getpgrp" ret: "int" args: */ 248 #define netbsd32_SYS_getpgrp 81 249 250 /* syscall: "netbsd32_setpgid" ret: "int" args: "int" "int" */ 251 #define netbsd32_SYS_netbsd32_setpgid 82 252 253 /* syscall: "netbsd32_setitimer" ret: "int" args: "int" "const netbsd32_itimervalp_t" "netbsd32_itimervalp_t" */ 254 #define netbsd32_SYS_netbsd32_setitimer 83 255 256 /* syscall: "compat_43_owait" ret: "int" args: */ 257 #define netbsd32_SYS_compat_43_owait 84 258 259 /* syscall: "compat_12_netbsd32_oswapon" ret: "int" args: "const netbsd32_charp" */ 260 #define netbsd32_SYS_compat_12_netbsd32_oswapon 85 261 262 /* syscall: "netbsd32_getitimer" ret: "int" args: "int" "netbsd32_itimervalp_t" */ 263 #define netbsd32_SYS_netbsd32_getitimer 86 264 265 /* syscall: "compat_43_netbsd32_ogethostname" ret: "int" args: "netbsd32_charp" "u_int" */ 266 #define netbsd32_SYS_compat_43_netbsd32_ogethostname 87 267 268 /* syscall: "compat_43_netbsd32_osethostname" ret: "int" args: "netbsd32_charp" "u_int" */ 269 #define netbsd32_SYS_compat_43_netbsd32_osethostname 88 270 271 /* syscall: "compat_43_ogetdtablesize" ret: "int" args: */ 272 #define netbsd32_SYS_compat_43_ogetdtablesize 89 273 274 /* syscall: "netbsd32_dup2" ret: "int" args: "int" "int" */ 275 #define netbsd32_SYS_netbsd32_dup2 90 276 277 /* syscall: "netbsd32_fcntl" ret: "int" args: "int" "int" "..." */ 278 #define netbsd32_SYS_netbsd32_fcntl 92 279 280 /* syscall: "netbsd32_select" ret: "int" args: "int" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "netbsd32_timevalp_t" */ 281 #define netbsd32_SYS_netbsd32_select 93 282 283 /* syscall: "netbsd32_fsync" ret: "int" args: "int" */ 284 #define netbsd32_SYS_netbsd32_fsync 95 285 286 /* syscall: "netbsd32_setpriority" ret: "int" args: "int" "int" "int" */ 287 #define netbsd32_SYS_netbsd32_setpriority 96 288 289 /* syscall: "netbsd32_socket" ret: "int" args: "int" "int" "int" */ 290 #define netbsd32_SYS_netbsd32_socket 97 291 292 /* syscall: "netbsd32_connect" ret: "int" args: "int" "const netbsd32_sockaddrp_t" "int" */ 293 #define netbsd32_SYS_netbsd32_connect 98 294 295 /* syscall: "compat_43_netbsd32_oaccept" ret: "int" args: "int" "netbsd32_caddr_t" "netbsd32_intp" */ 296 #define netbsd32_SYS_compat_43_netbsd32_oaccept 99 297 298 /* syscall: "netbsd32_getpriority" ret: "int" args: "int" "int" */ 299 #define netbsd32_SYS_netbsd32_getpriority 100 300 301 /* syscall: "compat_43_netbsd32_osend" ret: "int" args: "int" "netbsd32_caddr_t" "int" "int" */ 302 #define netbsd32_SYS_compat_43_netbsd32_osend 101 303 304 /* syscall: "compat_43_netbsd32_orecv" ret: "int" args: "int" "netbsd32_caddr_t" "int" "int" */ 305 #define netbsd32_SYS_compat_43_netbsd32_orecv 102 306 307 /* syscall: "compat_13_sigreturn13" ret: "int" args: "netbsd32_sigcontextp_t" */ 308 #define netbsd32_SYS_compat_13_sigreturn13 103 309 310 /* syscall: "netbsd32_bind" ret: "int" args: "int" "const netbsd32_sockaddrp_t" "int" */ 311 #define netbsd32_SYS_netbsd32_bind 104 312 313 /* syscall: "netbsd32_setsockopt" ret: "int" args: "int" "int" "int" "const netbsd32_voidp" "int" */ 314 #define netbsd32_SYS_netbsd32_setsockopt 105 315 316 /* syscall: "netbsd32_listen" ret: "int" args: "int" "int" */ 317 #define netbsd32_SYS_netbsd32_listen 106 318 319 /* 107 is obsolete vtimes */ 320 /* syscall: "compat_43_netbsd32_osigvec" ret: "int" args: "int" "netbsd32_sigvecp_t" "netbsd32_sigvecp_t" */ 321 #define netbsd32_SYS_compat_43_netbsd32_osigvec 108 322 323 #if defined(COMPAT_43) || defined(COMPAT_SUNOS) 324 /* syscall: "compat_43_netbsd32_sigblock" ret: "int" args: "int" */ 325 #define netbsd32_SYS_compat_43_netbsd32_sigblock 109 326 327 /* syscall: "compat_43_netbsd32_sigsetmask" ret: "int" args: "int" */ 328 #define netbsd32_SYS_compat_43_netbsd32_sigsetmask 110 329 330 #else 331 /* 109 is obsolete sigblock */ 332 /* 110 is obsolete sigsetmask */ 333 #endif 334 /* syscall: "compat_13_sigsuspend13" ret: "int" args: "int" */ 335 #define netbsd32_SYS_compat_13_sigsuspend13 111 336 337 /* syscall: "compat_43_netbsd32_osigstack" ret: "int" args: "netbsd32_sigstackp_t" "netbsd32_sigstackp_t" */ 338 #define netbsd32_SYS_compat_43_netbsd32_osigstack 112 339 340 /* syscall: "compat_43_netbsd32_orecvmsg" ret: "int" args: "int" "netbsd32_omsghdrp_t" "int" */ 341 #define netbsd32_SYS_compat_43_netbsd32_orecvmsg 113 342 343 /* syscall: "compat_43_netbsd32_osendmsg" ret: "int" args: "int" "netbsd32_caddr_t" "int" */ 344 #define netbsd32_SYS_compat_43_netbsd32_osendmsg 114 345 346 /* 115 is obsolete vtrace */ 347 /* syscall: "netbsd32_gettimeofday" ret: "int" args: "netbsd32_timevalp_t" "netbsd32_timezonep_t" */ 348 #define netbsd32_SYS_netbsd32_gettimeofday 116 349 350 /* syscall: "netbsd32_getrusage" ret: "int" args: "int" "netbsd32_rusagep_t" */ 351 #define netbsd32_SYS_netbsd32_getrusage 117 352 353 /* syscall: "netbsd32_getsockopt" ret: "int" args: "int" "int" "int" "netbsd32_voidp" "netbsd32_intp" */ 354 #define netbsd32_SYS_netbsd32_getsockopt 118 355 356 /* 119 is obsolete resuba */ 357 /* syscall: "netbsd32_readv" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_iovecp_t" "int" */ 358 #define netbsd32_SYS_netbsd32_readv 120 359 360 /* syscall: "netbsd32_writev" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_iovecp_t" "int" */ 361 #define netbsd32_SYS_netbsd32_writev 121 362 363 /* syscall: "netbsd32_settimeofday" ret: "int" args: "const netbsd32_timevalp_t" "const netbsd32_timezonep_t" */ 364 #define netbsd32_SYS_netbsd32_settimeofday 122 365 366 /* syscall: "netbsd32_fchown" ret: "int" args: "int" "uid_t" "gid_t" */ 367 #define netbsd32_SYS_netbsd32_fchown 123 368 369 /* syscall: "netbsd32_fchmod" ret: "int" args: "int" "mode_t" */ 370 #define netbsd32_SYS_netbsd32_fchmod 124 371 372 /* syscall: "compat_43_netbsd32_orecvfrom" ret: "int" args: "int" "netbsd32_caddr_t" "netbsd32_size_t" "int" "netbsd32_caddr_t" "netbsd32_intp" */ 373 #define netbsd32_SYS_compat_43_netbsd32_orecvfrom 125 374 375 /* syscall: "netbsd32_setreuid" ret: "int" args: "uid_t" "uid_t" */ 376 #define netbsd32_SYS_netbsd32_setreuid 126 377 378 /* syscall: "netbsd32_setregid" ret: "int" args: "gid_t" "gid_t" */ 379 #define netbsd32_SYS_netbsd32_setregid 127 380 381 /* syscall: "netbsd32_rename" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" */ 382 #define netbsd32_SYS_netbsd32_rename 128 383 384 /* syscall: "compat_43_netbsd32_otruncate" ret: "int" args: "const netbsd32_charp" "netbsd32_long" */ 385 #define netbsd32_SYS_compat_43_netbsd32_otruncate 129 386 387 /* syscall: "compat_43_netbsd32_oftruncate" ret: "int" args: "int" "netbsd32_long" */ 388 #define netbsd32_SYS_compat_43_netbsd32_oftruncate 130 389 390 /* syscall: "netbsd32_flock" ret: "int" args: "int" "int" */ 391 #define netbsd32_SYS_netbsd32_flock 131 392 393 /* syscall: "netbsd32_mkfifo" ret: "int" args: "const netbsd32_charp" "mode_t" */ 394 #define netbsd32_SYS_netbsd32_mkfifo 132 395 396 /* syscall: "netbsd32_sendto" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_voidp" "netbsd32_size_t" "int" "const netbsd32_sockaddrp_t" "int" */ 397 #define netbsd32_SYS_netbsd32_sendto 133 398 399 /* syscall: "netbsd32_shutdown" ret: "int" args: "int" "int" */ 400 #define netbsd32_SYS_netbsd32_shutdown 134 401 402 /* syscall: "netbsd32_socketpair" ret: "int" args: "int" "int" "int" "netbsd32_intp" */ 403 #define netbsd32_SYS_netbsd32_socketpair 135 404 405 /* syscall: "netbsd32_mkdir" ret: "int" args: "const netbsd32_charp" "mode_t" */ 406 #define netbsd32_SYS_netbsd32_mkdir 136 407 408 /* syscall: "netbsd32_rmdir" ret: "int" args: "const netbsd32_charp" */ 409 #define netbsd32_SYS_netbsd32_rmdir 137 410 411 /* syscall: "netbsd32_utimes" ret: "int" args: "const netbsd32_charp" "const netbsd32_timevalp_t" */ 412 #define netbsd32_SYS_netbsd32_utimes 138 413 414 /* 139 is obsolete 4.2 sigreturn */ 415 /* syscall: "netbsd32_adjtime" ret: "int" args: "const netbsd32_timevalp_t" "netbsd32_timevalp_t" */ 416 #define netbsd32_SYS_netbsd32_adjtime 140 417 418 /* syscall: "compat_43_netbsd32_ogetpeername" ret: "int" args: "int" "netbsd32_caddr_t" "netbsd32_intp" */ 419 #define netbsd32_SYS_compat_43_netbsd32_ogetpeername 141 420 421 /* syscall: "compat_43_ogethostid" ret: "int32_t" args: */ 422 #define netbsd32_SYS_compat_43_ogethostid 142 423 424 #if defined(COMPAT_43) || defined(COMPAT_SUNOS) 425 /* syscall: "compat_43_netbsd32_sethostid" ret: "int" args: "int32_t" */ 426 #define netbsd32_SYS_compat_43_netbsd32_sethostid 143 427 428 #else 429 /* 143 is obsolete sethostid */ 430 #endif 431 /* syscall: "compat_43_netbsd32_ogetrlimit" ret: "int" args: "int" "netbsd32_orlimitp_t" */ 432 #define netbsd32_SYS_compat_43_netbsd32_ogetrlimit 144 433 434 /* syscall: "compat_43_netbsd32_osetrlimit" ret: "int" args: "int" "const netbsd32_orlimitp_t" */ 435 #define netbsd32_SYS_compat_43_netbsd32_osetrlimit 145 436 437 #if defined(COMPAT_43) || defined(COMPAT_SUNOS) 438 /* syscall: "compat_43_netbsd32_killpg" ret: "int" args: "int" "int" */ 439 #define netbsd32_SYS_compat_43_netbsd32_killpg 146 440 441 #else 442 /* 146 is obsolete killpg */ 443 #endif 444 /* syscall: "setsid" ret: "int" args: */ 445 #define netbsd32_SYS_setsid 147 446 447 /* syscall: "netbsd32_quotactl" ret: "int" args: "const netbsd32_charp" "int" "int" "netbsd32_caddr_t" */ 448 #define netbsd32_SYS_netbsd32_quotactl 148 449 450 /* syscall: "compat_43_oquota" ret: "int" args: */ 451 #define netbsd32_SYS_compat_43_oquota 149 452 453 /* syscall: "compat_43_netbsd32_ogetsockname" ret: "int" args: "int" "netbsd32_caddr_t" "netbsd32_intp" */ 454 #define netbsd32_SYS_compat_43_netbsd32_ogetsockname 150 455 456 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL) 457 /* syscall: "netbsd32_nfssvc" ret: "int" args: "int" "netbsd32_voidp" */ 458 #define netbsd32_SYS_netbsd32_nfssvc 155 459 460 #else 461 /* 155 is excluded netbsd32_nfssvc */ 462 #endif 463 /* syscall: "compat_43_netbsd32_ogetdirentries" ret: "int" args: "int" "netbsd32_charp" "u_int" "netbsd32_longp" */ 464 #define netbsd32_SYS_compat_43_netbsd32_ogetdirentries 156 465 466 /* syscall: "compat_20_netbsd32_statfs" ret: "int" args: "const netbsd32_charp" "netbsd32_statfsp_t" */ 467 #define netbsd32_SYS_compat_20_netbsd32_statfs 157 468 469 /* syscall: "compat_20_netbsd32_fstatfs" ret: "int" args: "int" "netbsd32_statfsp_t" */ 470 #define netbsd32_SYS_compat_20_netbsd32_fstatfs 158 471 472 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL) 473 /* syscall: "netbsd32_getfh" ret: "int" args: "const netbsd32_charp" "netbsd32_fhandlep_t" */ 474 #define netbsd32_SYS_netbsd32_getfh 161 475 476 #else 477 /* 161 is excluded netbsd32_getfh */ 478 #endif 479 /* syscall: "compat_09_netbsd32_ogetdomainname" ret: "int" args: "netbsd32_charp" "int" */ 480 #define netbsd32_SYS_compat_09_netbsd32_ogetdomainname 162 481 482 /* syscall: "compat_09_netbsd32_osetdomainname" ret: "int" args: "netbsd32_charp" "int" */ 483 #define netbsd32_SYS_compat_09_netbsd32_osetdomainname 163 484 485 /* syscall: "compat_09_netbsd32_uname" ret: "int" args: "netbsd32_outsnamep_t" */ 486 #define netbsd32_SYS_compat_09_netbsd32_uname 164 487 488 /* syscall: "netbsd32_sysarch" ret: "int" args: "int" "netbsd32_voidp" */ 489 #define netbsd32_SYS_netbsd32_sysarch 165 490 491 #if defined(SYSVSEM) || !defined(_KERNEL) 492 /* syscall: "compat_10_osemsys" ret: "int" args: "int" "int" "int" "int" "int" */ 493 #define netbsd32_SYS_compat_10_osemsys 169 494 495 #else 496 /* 169 is excluded netbsd32_sys_semsys */ 497 #endif 498 #if defined(SYSVMSG) || !defined(_KERNEL) 499 /* syscall: "compat_10_omsgsys" ret: "int" args: "int" "int" "int" "int" "int" "int" */ 500 #define netbsd32_SYS_compat_10_omsgsys 170 501 502 #else 503 /* 170 is excluded netbsd32_sys_msgsys */ 504 #endif 505 #if defined(SYSVSHM) || !defined(_KERNEL) 506 /* syscall: "compat_10_oshmsys" ret: "int" args: "int" "int" "int" "int" */ 507 #define netbsd32_SYS_compat_10_oshmsys 171 508 509 #else 510 /* 171 is excluded netbsd32_sys_shmsys */ 511 #endif 512 /* syscall: "netbsd32_pread" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" "int" "off_t" */ 513 #define netbsd32_SYS_netbsd32_pread 173 514 515 /* syscall: "netbsd32_pwrite" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_voidp" "netbsd32_size_t" "int" "off_t" */ 516 #define netbsd32_SYS_netbsd32_pwrite 174 517 518 /* syscall: "netbsd32_ntp_gettime" ret: "int" args: "netbsd32_ntptimevalp_t" */ 519 #define netbsd32_SYS_netbsd32_ntp_gettime 175 520 521 /* syscall: "netbsd32_ntp_adjtime" ret: "int" args: "netbsd32_timexp_t" */ 522 #define netbsd32_SYS_netbsd32_ntp_adjtime 176 523 524 /* syscall: "netbsd32_setgid" ret: "int" args: "gid_t" */ 525 #define netbsd32_SYS_netbsd32_setgid 181 526 527 /* syscall: "netbsd32_setegid" ret: "int" args: "gid_t" */ 528 #define netbsd32_SYS_netbsd32_setegid 182 529 530 /* syscall: "netbsd32_seteuid" ret: "int" args: "uid_t" */ 531 #define netbsd32_SYS_netbsd32_seteuid 183 532 533 #if defined(LFS) || !defined(_KERNEL) 534 /* syscall: "lfs_bmapv" ret: "int" args: "netbsd32_fsid_tp_t" "netbsd32_block_infop_t" "int" */ 535 #define netbsd32_SYS_lfs_bmapv 184 536 537 /* syscall: "lfs_markv" ret: "int" args: "netbsd32_fsid_tp_t" "netbsd32_block_infop_t" "int" */ 538 #define netbsd32_SYS_lfs_markv 185 539 540 /* syscall: "lfs_segclean" ret: "int" args: "netbsd32_fsid_tp_t" "netbsd32_u_long" */ 541 #define netbsd32_SYS_lfs_segclean 186 542 543 /* syscall: "lfs_segwait" ret: "int" args: "netbsd32_fsid_tp_t" "netbsd32_timevalp_t" */ 544 #define netbsd32_SYS_lfs_segwait 187 545 546 #else 547 /* 184 is excluded netbsd32_sys_lfs_bmapv */ 548 /* 185 is excluded netbsd32_sys_lfs_markv */ 549 /* 186 is excluded netbsd32_sys_lfs_segclean */ 550 /* 187 is excluded netbsd32_sys_lfs_segwait */ 551 #endif 552 /* syscall: "compat_12_netbsd32_stat12" ret: "int" args: "const netbsd32_charp" "netbsd32_stat12p_t" */ 553 #define netbsd32_SYS_compat_12_netbsd32_stat12 188 554 555 /* syscall: "compat_12_netbsd32_fstat12" ret: "int" args: "int" "netbsd32_stat12p_t" */ 556 #define netbsd32_SYS_compat_12_netbsd32_fstat12 189 557 558 /* syscall: "compat_12_netbsd32_lstat12" ret: "int" args: "const netbsd32_charp" "netbsd32_stat12p_t" */ 559 #define netbsd32_SYS_compat_12_netbsd32_lstat12 190 560 561 /* syscall: "netbsd32_pathconf" ret: "netbsd32_long" args: "const netbsd32_charp" "int" */ 562 #define netbsd32_SYS_netbsd32_pathconf 191 563 564 /* syscall: "netbsd32_fpathconf" ret: "netbsd32_long" args: "int" "int" */ 565 #define netbsd32_SYS_netbsd32_fpathconf 192 566 567 /* syscall: "netbsd32_getrlimit" ret: "int" args: "int" "netbsd32_rlimitp_t" */ 568 #define netbsd32_SYS_netbsd32_getrlimit 194 569 570 /* syscall: "netbsd32_setrlimit" ret: "int" args: "int" "const netbsd32_rlimitp_t" */ 571 #define netbsd32_SYS_netbsd32_setrlimit 195 572 573 /* syscall: "compat_12_netbsd32_getdirentries" ret: "int" args: "int" "netbsd32_charp" "u_int" "netbsd32_longp" */ 574 #define netbsd32_SYS_compat_12_netbsd32_getdirentries 196 575 576 /* syscall: "netbsd32_mmap" ret: "netbsd32_voidp" args: "netbsd32_voidp" "netbsd32_size_t" "int" "int" "int" "netbsd32_long" "off_t" */ 577 #define netbsd32_SYS_netbsd32_mmap 197 578 579 /* syscall: "__syscall" ret: "quad_t" args: "quad_t" "..." */ 580 #define netbsd32_SYS___syscall 198 581 582 /* syscall: "netbsd32_lseek" ret: "off_t" args: "int" "int" "off_t" "int" */ 583 #define netbsd32_SYS_netbsd32_lseek 199 584 585 /* syscall: "netbsd32_truncate" ret: "int" args: "const netbsd32_charp" "int" "off_t" */ 586 #define netbsd32_SYS_netbsd32_truncate 200 587 588 /* syscall: "netbsd32_ftruncate" ret: "int" args: "int" "int" "off_t" */ 589 #define netbsd32_SYS_netbsd32_ftruncate 201 590 591 /* syscall: "netbsd32___sysctl" ret: "int" args: "netbsd32_intp" "u_int" "netbsd32_voidp" "netbsd32_size_tp" "netbsd32_voidp" "netbsd32_size_t" */ 592 #define netbsd32_SYS_netbsd32___sysctl 202 593 594 /* syscall: "netbsd32_mlock" ret: "int" args: "const netbsd32_voidp" "netbsd32_size_t" */ 595 #define netbsd32_SYS_netbsd32_mlock 203 596 597 /* syscall: "netbsd32_munlock" ret: "int" args: "const netbsd32_voidp" "netbsd32_size_t" */ 598 #define netbsd32_SYS_netbsd32_munlock 204 599 600 /* syscall: "netbsd32_undelete" ret: "int" args: "const netbsd32_charp" */ 601 #define netbsd32_SYS_netbsd32_undelete 205 602 603 /* syscall: "netbsd32_futimes" ret: "int" args: "int" "const netbsd32_timevalp_t" */ 604 #define netbsd32_SYS_netbsd32_futimes 206 605 606 /* syscall: "netbsd32_getpgid" ret: "int" args: "pid_t" */ 607 #define netbsd32_SYS_netbsd32_getpgid 207 608 609 /* syscall: "netbsd32_reboot" ret: "int" args: "int" "netbsd32_charp" */ 610 #define netbsd32_SYS_netbsd32_reboot 208 611 612 /* syscall: "netbsd32_poll" ret: "int" args: "netbsd32_pollfdp_t" "u_int" "int" */ 613 #define netbsd32_SYS_netbsd32_poll 209 614 615 #if defined(LKM) || !defined(_KERNEL) 616 #else /* !LKM || !_KERNEL */ 617 /* 210 is excluded lkmnosys */ 618 /* 211 is excluded lkmnosys */ 619 /* 212 is excluded lkmnosys */ 620 /* 213 is excluded lkmnosys */ 621 /* 214 is excluded lkmnosys */ 622 /* 215 is excluded lkmnosys */ 623 /* 216 is excluded lkmnosys */ 624 /* 217 is excluded lkmnosys */ 625 /* 218 is excluded lkmnosys */ 626 /* 219 is excluded lkmnosys */ 627 #endif /* !LKM || !_KERNEL */ 628 #if defined(SYSVSEM) || !defined(_KERNEL) 629 /* syscall: "compat_14_netbsd32___semctl" ret: "int" args: "int" "int" "int" "netbsd32_semunu_t" */ 630 #define netbsd32_SYS_compat_14_netbsd32___semctl 220 631 632 /* syscall: "netbsd32_semget" ret: "int" args: "netbsd32_key_t" "int" "int" */ 633 #define netbsd32_SYS_netbsd32_semget 221 634 635 /* syscall: "netbsd32_semop" ret: "int" args: "int" "netbsd32_sembufp_t" "netbsd32_size_t" */ 636 #define netbsd32_SYS_netbsd32_semop 222 637 638 /* syscall: "netbsd32_semconfig" ret: "int" args: "int" */ 639 #define netbsd32_SYS_netbsd32_semconfig 223 640 641 #else 642 /* 220 is excluded compat_14_netbsd32_semctl */ 643 /* 221 is excluded netbsd32_semget */ 644 /* 222 is excluded netbsd32_semop */ 645 /* 223 is excluded netbsd32_semconfig */ 646 #endif 647 #if defined(SYSVMSG) || !defined(_KERNEL) 648 /* syscall: "compat_14_netbsd32_msgctl" ret: "int" args: "int" "int" "netbsd32_msqid_dsp_t" */ 649 #define netbsd32_SYS_compat_14_netbsd32_msgctl 224 650 651 /* syscall: "netbsd32_msgget" ret: "int" args: "netbsd32_key_t" "int" */ 652 #define netbsd32_SYS_netbsd32_msgget 225 653 654 /* syscall: "netbsd32_msgsnd" ret: "int" args: "int" "const netbsd32_voidp" "netbsd32_size_t" "int" */ 655 #define netbsd32_SYS_netbsd32_msgsnd 226 656 657 /* syscall: "netbsd32_msgrcv" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" "netbsd32_long" "int" */ 658 #define netbsd32_SYS_netbsd32_msgrcv 227 659 660 #else 661 /* 224 is excluded compat_14_netbsd32_msgctl */ 662 /* 225 is excluded netbsd32_msgget */ 663 /* 226 is excluded netbsd32_msgsnd */ 664 /* 227 is excluded netbsd32_msgrcv */ 665 #endif 666 #if defined(SYSVSHM) || !defined(_KERNEL) 667 /* syscall: "netbsd32_shmat" ret: "netbsd32_voidp" args: "int" "const netbsd32_voidp" "int" */ 668 #define netbsd32_SYS_netbsd32_shmat 228 669 670 /* syscall: "compat_14_netbsd32_shmctl" ret: "int" args: "int" "int" "netbsd32_shmid_dsp_t" */ 671 #define netbsd32_SYS_compat_14_netbsd32_shmctl 229 672 673 /* syscall: "netbsd32_shmdt" ret: "int" args: "const netbsd32_voidp" */ 674 #define netbsd32_SYS_netbsd32_shmdt 230 675 676 /* syscall: "netbsd32_shmget" ret: "int" args: "netbsd32_key_t" "netbsd32_size_t" "int" */ 677 #define netbsd32_SYS_netbsd32_shmget 231 678 679 #else 680 /* 228 is excluded netbsd32_shmat */ 681 /* 229 is excluded compat_14_netbsd32_shmctl */ 682 /* 230 is excluded netbsd32_shmdt */ 683 /* 231 is excluded netbsd32_shmget */ 684 #endif 685 /* syscall: "netbsd32_clock_gettime" ret: "int" args: "netbsd32_clockid_t" "netbsd32_timespecp_t" */ 686 #define netbsd32_SYS_netbsd32_clock_gettime 232 687 688 /* syscall: "netbsd32_clock_settime" ret: "int" args: "netbsd32_clockid_t" "const netbsd32_timespecp_t" */ 689 #define netbsd32_SYS_netbsd32_clock_settime 233 690 691 /* syscall: "netbsd32_clock_getres" ret: "int" args: "netbsd32_clockid_t" "netbsd32_timespecp_t" */ 692 #define netbsd32_SYS_netbsd32_clock_getres 234 693 694 /* syscall: "netbsd32_nanosleep" ret: "int" args: "const netbsd32_timespecp_t" "netbsd32_timespecp_t" */ 695 #define netbsd32_SYS_netbsd32_nanosleep 240 696 697 /* syscall: "netbsd32_fdatasync" ret: "int" args: "int" */ 698 #define netbsd32_SYS_netbsd32_fdatasync 241 699 700 /* syscall: "netbsd32___posix_rename" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" */ 701 #define netbsd32_SYS_netbsd32___posix_rename 270 702 703 /* syscall: "netbsd32_swapctl" ret: "int" args: "int" "const netbsd32_voidp" "int" */ 704 #define netbsd32_SYS_netbsd32_swapctl 271 705 706 /* syscall: "netbsd32_getdents" ret: "int" args: "int" "netbsd32_charp" "netbsd32_size_t" */ 707 #define netbsd32_SYS_netbsd32_getdents 272 708 709 /* syscall: "netbsd32_minherit" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */ 710 #define netbsd32_SYS_netbsd32_minherit 273 711 712 /* syscall: "netbsd32_lchmod" ret: "int" args: "const netbsd32_charp" "mode_t" */ 713 #define netbsd32_SYS_netbsd32_lchmod 274 714 715 /* syscall: "netbsd32_lchown" ret: "int" args: "const netbsd32_charp" "uid_t" "gid_t" */ 716 #define netbsd32_SYS_netbsd32_lchown 275 717 718 /* syscall: "netbsd32_lutimes" ret: "int" args: "const netbsd32_charp" "const netbsd32_timevalp_t" */ 719 #define netbsd32_SYS_netbsd32_lutimes 276 720 721 /* syscall: "netbsd32___msync13" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */ 722 #define netbsd32_SYS_netbsd32___msync13 277 723 724 /* syscall: "netbsd32___stat13" ret: "int" args: "const netbsd32_charp" "netbsd32_statp_t" */ 725 #define netbsd32_SYS_netbsd32___stat13 278 726 727 /* syscall: "netbsd32___fstat13" ret: "int" args: "int" "netbsd32_statp_t" */ 728 #define netbsd32_SYS_netbsd32___fstat13 279 729 730 /* syscall: "netbsd32___lstat13" ret: "int" args: "const netbsd32_charp" "netbsd32_statp_t" */ 731 #define netbsd32_SYS_netbsd32___lstat13 280 732 733 /* syscall: "netbsd32___sigaltstack14" ret: "int" args: "const netbsd32_sigaltstackp_t" "netbsd32_sigaltstackp_t" */ 734 #define netbsd32_SYS_netbsd32___sigaltstack14 281 735 736 /* syscall: "__vfork14" ret: "int" args: */ 737 #define netbsd32_SYS___vfork14 282 738 739 /* syscall: "netbsd32___posix_chown" ret: "int" args: "const netbsd32_charp" "uid_t" "gid_t" */ 740 #define netbsd32_SYS_netbsd32___posix_chown 283 741 742 /* syscall: "netbsd32___posix_fchown" ret: "int" args: "int" "uid_t" "gid_t" */ 743 #define netbsd32_SYS_netbsd32___posix_fchown 284 744 745 /* syscall: "netbsd32___posix_lchown" ret: "int" args: "const netbsd32_charp" "uid_t" "gid_t" */ 746 #define netbsd32_SYS_netbsd32___posix_lchown 285 747 748 /* syscall: "netbsd32_getsid" ret: "pid_t" args: "pid_t" */ 749 #define netbsd32_SYS_netbsd32_getsid 286 750 751 #if defined(KTRACE) || !defined(_KERNEL) 752 /* syscall: "netbsd32_fktrace" ret: "int" args: "const int" "int" "int" "int" */ 753 #define netbsd32_SYS_netbsd32_fktrace 288 754 755 #else 756 /* 288 is excluded netbsd32_fktrace */ 757 #endif 758 /* syscall: "netbsd32_preadv" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_iovecp_t" "int" "int" "off_t" */ 759 #define netbsd32_SYS_netbsd32_preadv 289 760 761 /* syscall: "netbsd32_pwritev" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_iovecp_t" "int" "int" "off_t" */ 762 #define netbsd32_SYS_netbsd32_pwritev 290 763 764 /* syscall: "netbsd32___sigaction14" ret: "int" args: "int" "const netbsd32_sigactionp_t" "netbsd32_sigactionp_t" */ 765 #define netbsd32_SYS_netbsd32___sigaction14 291 766 767 /* syscall: "netbsd32___sigpending14" ret: "int" args: "netbsd32_sigsetp_t" */ 768 #define netbsd32_SYS_netbsd32___sigpending14 292 769 770 /* syscall: "netbsd32___sigprocmask14" ret: "int" args: "int" "const netbsd32_sigsetp_t" "netbsd32_sigsetp_t" */ 771 #define netbsd32_SYS_netbsd32___sigprocmask14 293 772 773 /* syscall: "netbsd32___sigsuspend14" ret: "int" args: "const netbsd32_sigsetp_t" */ 774 #define netbsd32_SYS_netbsd32___sigsuspend14 294 775 776 /* syscall: "compat_16_netbsd32___sigreturn14" ret: "int" args: "netbsd32_sigcontextp_t" */ 777 #define netbsd32_SYS_compat_16_netbsd32___sigreturn14 295 778 779 /* syscall: "netbsd32___getcwd" ret: "int" args: "netbsd32_charp" "netbsd32_size_t" */ 780 #define netbsd32_SYS_netbsd32___getcwd 296 781 782 /* syscall: "netbsd32_fchroot" ret: "int" args: "int" */ 783 #define netbsd32_SYS_netbsd32_fchroot 297 784 785 /* syscall: "netbsd32_fhopen" ret: "int" args: "const netbsd32_fhandlep_t" "int" */ 786 #define netbsd32_SYS_netbsd32_fhopen 298 787 788 /* syscall: "netbsd32_fhstat" ret: "int" args: "const netbsd32_fhandlep_t" "netbsd32_statp_t" */ 789 #define netbsd32_SYS_netbsd32_fhstat 299 790 791 /* syscall: "compat_20_netbsd32_fhstatfs" ret: "int" args: "netbsd32_fhandlep_t" "netbsd32_statp_t" */ 792 #define netbsd32_SYS_compat_20_netbsd32_fhstatfs 300 793 794 #if defined(SYSVSEM) || !defined(_KERNEL) 795 /* syscall: "netbsd32___semctl14" ret: "int" args: "int" "int" "int" "union netbsd32_semun3 *" */ 796 #define netbsd32_SYS_netbsd32___semctl14 301 797 798 #else 799 /* 301 is excluded __semctl14 */ 800 #endif 801 #if defined(SYSVMSG) || !defined(_KERNEL) 802 /* syscall: "netbsd32___msgctl13" ret: "int" args: "int" "int" "netbsd32_msqid_dsp_t" */ 803 #define netbsd32_SYS_netbsd32___msgctl13 302 804 805 #else 806 /* 302 is excluded __msgctl13 */ 807 #endif 808 #if defined(SYSVSHM) || !defined(_KERNEL) 809 /* syscall: "netbsd32___shmctl13" ret: "int" args: "int" "int" "netbsd32_shmid_dsp_t" */ 810 #define netbsd32_SYS_netbsd32___shmctl13 303 811 812 #else 813 /* 303 is excluded __shmctl13 */ 814 #endif 815 /* syscall: "netbsd32_lchflags" ret: "int" args: "const netbsd32_charp" "netbsd32_u_long" */ 816 #define netbsd32_SYS_netbsd32_lchflags 304 817 818 /* syscall: "issetugid" ret: "int" args: */ 819 #define netbsd32_SYS_issetugid 305 820 821 /* syscall: "netbsd32_utrace" ret: "int" args: "const netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */ 822 #define netbsd32_SYS_netbsd32_utrace 306 823 824 /* syscall: "netbsd32_getcontext" ret: "int" args: "netbsd32_ucontextp" */ 825 #define netbsd32_SYS_netbsd32_getcontext 307 826 827 /* syscall: "netbsd32_setcontext" ret: "int" args: "netbsd32_ucontextp" "uint32_t" "netbsd32_lwpidp" */ 828 #define netbsd32_SYS_netbsd32_setcontext 308 829 830 /* syscall: "netbsd32___sigaction_sigtramp" ret: "int" args: "int" "const netbsd32_sigactionp_t" "netbsd32_sigactionp_t" "netbsd32_voidp" "int" */ 831 #define netbsd32_SYS_netbsd32___sigaction_sigtramp 340 832 833 /* syscall: "netbsd32_getvfsstat" ret: "int" args: "netbsd32_statvfsp_t" "netbsd32_size_t" "int" */ 834 #define netbsd32_SYS_netbsd32_getvfsstat 356 835 836 /* syscall: "netbsd32_statvfs1" ret: "int" args: "const netbsd32_charp" "netbsd32_statvfsp_t" "int" */ 837 #define netbsd32_SYS_netbsd32_statvfs1 357 838 839 /* syscall: "netbsd32_fstatvfs1" ret: "int" args: "int" "netbsd32_statvfsp_t" "int" */ 840 #define netbsd32_SYS_netbsd32_fstatvfs1 358 841 842 /* syscall: "netbsd32_fhstatvfs1" ret: "int" args: "const netbsd32_fhandlep_t" "netbsd32_statvfsp_t" "int" */ 843 #define netbsd32_SYS_netbsd32_fhstatvfs1 359 844 845 #define netbsd32_SYS_MAXSYSCALL 360 846 #define netbsd32_SYS_NSYSENT 512 847