netbsd32_syscall.h revision 1.147
1/* $NetBSD: netbsd32_syscall.h,v 1.147 2020/01/18 07:33:24 kamil 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.130 2019/11/04 11:32:22 rin Exp 8 */ 9 10#ifndef _NETBSD32_SYS_SYSCALL_H_ 11#define _NETBSD32_SYS_SYSCALL_H_ 12 13#define NETBSD32_SYS_MAXSYSARGS 8 14 15/* syscall: "netbsd32_syscall" ret: "int" args: "int" "..." */ 16#define NETBSD32_SYS_netbsd32_syscall 0 17 18/* syscall: "netbsd32_exit" ret: "void" args: "int" */ 19#define NETBSD32_SYS_netbsd32_exit 1 20 21/* syscall: "fork" ret: "int" args: */ 22#define NETBSD32_SYS_fork 2 23 24/* syscall: "netbsd32_read" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" */ 25#define NETBSD32_SYS_netbsd32_read 3 26 27/* syscall: "netbsd32_write" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" */ 28#define NETBSD32_SYS_netbsd32_write 4 29 30/* syscall: "netbsd32_open" ret: "int" args: "netbsd32_charp" "int" "..." */ 31#define NETBSD32_SYS_netbsd32_open 5 32 33/* syscall: "netbsd32_close" ret: "int" args: "int" */ 34#define NETBSD32_SYS_netbsd32_close 6 35 36/* syscall: "compat_50_netbsd32_wait4" ret: "int" args: "int" "netbsd32_intp" "int" "netbsd32_rusage50p_t" */ 37#define NETBSD32_SYS_compat_50_netbsd32_wait4 7 38 39/* syscall: "compat_43_netbsd32_ocreat" ret: "int" args: "netbsd32_charp" "mode_t" */ 40#define NETBSD32_SYS_compat_43_netbsd32_ocreat 8 41 42/* syscall: "netbsd32_link" ret: "int" args: "netbsd32_charp" "netbsd32_charp" */ 43#define NETBSD32_SYS_netbsd32_link 9 44 45/* syscall: "netbsd32_unlink" ret: "int" args: "netbsd32_charp" */ 46#define NETBSD32_SYS_netbsd32_unlink 10 47 48 /* 11 is obsolete execv */ 49/* syscall: "netbsd32_chdir" ret: "int" args: "netbsd32_charp" */ 50#define NETBSD32_SYS_netbsd32_chdir 12 51 52/* syscall: "netbsd32_fchdir" ret: "int" args: "int" */ 53#define NETBSD32_SYS_netbsd32_fchdir 13 54 55/* syscall: "compat_50_netbsd32_mknod" ret: "int" args: "netbsd32_charp" "mode_t" "uint32_t" */ 56#define NETBSD32_SYS_compat_50_netbsd32_mknod 14 57 58/* syscall: "netbsd32_chmod" ret: "int" args: "netbsd32_charp" "mode_t" */ 59#define NETBSD32_SYS_netbsd32_chmod 15 60 61/* syscall: "netbsd32_chown" ret: "int" args: "netbsd32_charp" "uid_t" "gid_t" */ 62#define NETBSD32_SYS_netbsd32_chown 16 63 64/* syscall: "netbsd32_break" ret: "int" args: "netbsd32_charp" */ 65#define NETBSD32_SYS_netbsd32_break 17 66 67/* syscall: "compat_20_netbsd32_getfsstat" ret: "int" args: "netbsd32_statfsp_t" "netbsd32_long" "int" */ 68#define NETBSD32_SYS_compat_20_netbsd32_getfsstat 18 69 70/* syscall: "compat_43_netbsd32_olseek" ret: "netbsd32_long" args: "int" "netbsd32_long" "int" */ 71#define NETBSD32_SYS_compat_43_netbsd32_olseek 19 72 73/* syscall: "getpid" ret: "pid_t" args: */ 74#define NETBSD32_SYS_getpid 20 75 76/* syscall: "compat_40_netbsd32_mount" ret: "int" args: "netbsd32_charp" "netbsd32_charp" "int" "netbsd32_voidp" */ 77#define NETBSD32_SYS_compat_40_netbsd32_mount 21 78 79/* syscall: "netbsd32_unmount" ret: "int" args: "netbsd32_charp" "int" */ 80#define NETBSD32_SYS_netbsd32_unmount 22 81 82/* syscall: "netbsd32_setuid" ret: "int" args: "uid_t" */ 83#define NETBSD32_SYS_netbsd32_setuid 23 84 85/* syscall: "getuid" ret: "uid_t" args: */ 86#define NETBSD32_SYS_getuid 24 87 88/* syscall: "geteuid" ret: "uid_t" args: */ 89#define NETBSD32_SYS_geteuid 25 90 91/* syscall: "netbsd32_ptrace" ret: "int" args: "int" "pid_t" "netbsd32_voidp" "int" */ 92#define NETBSD32_SYS_netbsd32_ptrace 26 93 94/* syscall: "netbsd32_recvmsg" ret: "netbsd32_ssize_t" args: "int" "netbsd32_msghdrp_t" "int" */ 95#define NETBSD32_SYS_netbsd32_recvmsg 27 96 97/* syscall: "netbsd32_sendmsg" ret: "netbsd32_ssize_t" args: "int" "netbsd32_msghdrp_t" "int" */ 98#define NETBSD32_SYS_netbsd32_sendmsg 28 99 100/* syscall: "netbsd32_recvfrom" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" "int" "netbsd32_sockaddrp_t" "netbsd32_intp" */ 101#define NETBSD32_SYS_netbsd32_recvfrom 29 102 103/* syscall: "netbsd32_accept" ret: "int" args: "int" "netbsd32_sockaddrp_t" "netbsd32_intp" */ 104#define NETBSD32_SYS_netbsd32_accept 30 105 106/* syscall: "netbsd32_getpeername" ret: "int" args: "int" "netbsd32_sockaddrp_t" "netbsd32_intp" */ 107#define NETBSD32_SYS_netbsd32_getpeername 31 108 109/* syscall: "netbsd32_getsockname" ret: "int" args: "int" "netbsd32_sockaddrp_t" "netbsd32_intp" */ 110#define NETBSD32_SYS_netbsd32_getsockname 32 111 112/* syscall: "netbsd32_access" ret: "int" args: "netbsd32_charp" "int" */ 113#define NETBSD32_SYS_netbsd32_access 33 114 115/* syscall: "netbsd32_chflags" ret: "int" args: "netbsd32_charp" "netbsd32_u_long" */ 116#define NETBSD32_SYS_netbsd32_chflags 34 117 118/* syscall: "netbsd32_fchflags" ret: "int" args: "int" "netbsd32_u_long" */ 119#define NETBSD32_SYS_netbsd32_fchflags 35 120 121/* syscall: "sync" ret: "void" args: */ 122#define NETBSD32_SYS_sync 36 123 124/* syscall: "netbsd32_kill" ret: "int" args: "int" "int" */ 125#define NETBSD32_SYS_netbsd32_kill 37 126 127/* syscall: "compat_43_netbsd32_stat43" ret: "int" args: "netbsd32_charp" "netbsd32_stat43p_t" */ 128#define NETBSD32_SYS_compat_43_netbsd32_stat43 38 129 130/* syscall: "getppid" ret: "pid_t" args: */ 131#define NETBSD32_SYS_getppid 39 132 133/* syscall: "compat_43_netbsd32_lstat43" ret: "int" args: "netbsd32_charp" "netbsd32_stat43p_t" */ 134#define NETBSD32_SYS_compat_43_netbsd32_lstat43 40 135 136/* syscall: "netbsd32_dup" ret: "int" args: "int" */ 137#define NETBSD32_SYS_netbsd32_dup 41 138 139/* syscall: "pipe" ret: "int" args: */ 140#define NETBSD32_SYS_pipe 42 141 142/* syscall: "getegid" ret: "gid_t" args: */ 143#define NETBSD32_SYS_getegid 43 144 145/* syscall: "netbsd32_profil" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "netbsd32_u_long" "u_int" */ 146#define NETBSD32_SYS_netbsd32_profil 44 147 148/* syscall: "netbsd32_ktrace" ret: "int" args: "netbsd32_charp" "int" "int" "int" */ 149#define NETBSD32_SYS_netbsd32_ktrace 45 150 151/* syscall: "netbsd32_sigaction" ret: "int" args: "int" "netbsd32_sigactionp_t" "netbsd32_sigactionp_t" */ 152#define NETBSD32_SYS_netbsd32_sigaction 46 153 154/* syscall: "getgid" ret: "gid_t" args: */ 155#define NETBSD32_SYS_getgid 47 156 157/* syscall: "compat_13_sigprocmask13" ret: "int" args: "int" "int" */ 158#define NETBSD32_SYS_compat_13_sigprocmask13 48 159 160/* syscall: "netbsd32___getlogin" ret: "int" args: "netbsd32_charp" "u_int" */ 161#define NETBSD32_SYS_netbsd32___getlogin 49 162 163/* syscall: "netbsd32_setlogin" ret: "int" args: "netbsd32_charp" */ 164#define NETBSD32_SYS_netbsd32_setlogin 50 165 166/* syscall: "netbsd32_acct" ret: "int" args: "netbsd32_charp" */ 167#define NETBSD32_SYS_netbsd32_acct 51 168 169/* syscall: "compat_13_sigpending13" ret: "int" args: */ 170#define NETBSD32_SYS_compat_13_sigpending13 52 171 172/* syscall: "compat_13_netbsd32_sigaltstack13" ret: "int" args: "netbsd32_sigaltstack13p_t" "netbsd32_sigaltstack13p_t" */ 173#define NETBSD32_SYS_compat_13_netbsd32_sigaltstack13 53 174 175/* syscall: "netbsd32_ioctl" ret: "int" args: "int" "netbsd32_u_long" "..." */ 176#define NETBSD32_SYS_netbsd32_ioctl 54 177 178/* syscall: "compat_12_netbsd32_reboot" ret: "int" args: "int" */ 179#define NETBSD32_SYS_compat_12_netbsd32_reboot 55 180 181/* syscall: "netbsd32_revoke" ret: "int" args: "netbsd32_charp" */ 182#define NETBSD32_SYS_netbsd32_revoke 56 183 184/* syscall: "netbsd32_symlink" ret: "int" args: "netbsd32_charp" "netbsd32_charp" */ 185#define NETBSD32_SYS_netbsd32_symlink 57 186 187/* syscall: "netbsd32_readlink" ret: "int" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_size_t" */ 188#define NETBSD32_SYS_netbsd32_readlink 58 189 190/* syscall: "netbsd32_execve" ret: "int" args: "netbsd32_charp" "netbsd32_charpp" "netbsd32_charpp" */ 191#define NETBSD32_SYS_netbsd32_execve 59 192 193/* syscall: "netbsd32_umask" ret: "mode_t" args: "mode_t" */ 194#define NETBSD32_SYS_netbsd32_umask 60 195 196/* syscall: "netbsd32_chroot" ret: "int" args: "netbsd32_charp" */ 197#define NETBSD32_SYS_netbsd32_chroot 61 198 199/* syscall: "compat_43_netbsd32_fstat43" ret: "int" args: "int" "netbsd32_stat43p_t" */ 200#define NETBSD32_SYS_compat_43_netbsd32_fstat43 62 201 202/* syscall: "compat_43_netbsd32_ogetkerninfo" ret: "int" args: "int" "netbsd32_charp" "netbsd32_intp" "int" */ 203#define NETBSD32_SYS_compat_43_netbsd32_ogetkerninfo 63 204 205/* syscall: "compat_43_ogetpagesize" ret: "int" args: */ 206#define NETBSD32_SYS_compat_43_ogetpagesize 64 207 208/* syscall: "compat_12_netbsd32_msync" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" */ 209#define NETBSD32_SYS_compat_12_netbsd32_msync 65 210 211/* syscall: "vfork" ret: "int" args: */ 212#define NETBSD32_SYS_vfork 66 213 214 /* 67 is obsolete vread */ 215 /* 68 is obsolete vwrite */ 216 /* 69 is obsolete sbrk */ 217 /* 70 is obsolete sstk */ 218/* syscall: "compat_43_netbsd32_ommap" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" "int" "int" "netbsd32_long" */ 219#define NETBSD32_SYS_compat_43_netbsd32_ommap 71 220 221/* syscall: "vadvise" ret: "int" args: "int" */ 222#define NETBSD32_SYS_vadvise 72 223 224/* syscall: "netbsd32_munmap" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" */ 225#define NETBSD32_SYS_netbsd32_munmap 73 226 227/* syscall: "netbsd32_mprotect" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */ 228#define NETBSD32_SYS_netbsd32_mprotect 74 229 230/* syscall: "netbsd32_madvise" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */ 231#define NETBSD32_SYS_netbsd32_madvise 75 232 233 /* 76 is obsolete vhangup */ 234 /* 77 is obsolete vlimit */ 235/* syscall: "netbsd32_mincore" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "netbsd32_charp" */ 236#define NETBSD32_SYS_netbsd32_mincore 78 237 238/* syscall: "netbsd32_getgroups" ret: "int" args: "int" "netbsd32_gid_tp" */ 239#define NETBSD32_SYS_netbsd32_getgroups 79 240 241/* syscall: "netbsd32_setgroups" ret: "int" args: "int" "netbsd32_gid_tp" */ 242#define NETBSD32_SYS_netbsd32_setgroups 80 243 244/* syscall: "getpgrp" ret: "int" args: */ 245#define NETBSD32_SYS_getpgrp 81 246 247/* syscall: "netbsd32_setpgid" ret: "int" args: "int" "int" */ 248#define NETBSD32_SYS_netbsd32_setpgid 82 249 250/* syscall: "compat_50_netbsd32_setitimer" ret: "int" args: "int" "netbsd32_itimerval50p_t" "netbsd32_itimerval50p_t" */ 251#define NETBSD32_SYS_compat_50_netbsd32_setitimer 83 252 253/* syscall: "compat_43_owait" ret: "int" args: */ 254#define NETBSD32_SYS_compat_43_owait 84 255 256/* syscall: "compat_12_netbsd32_oswapon" ret: "int" args: "netbsd32_charp" */ 257#define NETBSD32_SYS_compat_12_netbsd32_oswapon 85 258 259/* syscall: "compat_50_netbsd32_getitimer" ret: "int" args: "int" "netbsd32_itimerval50p_t" */ 260#define NETBSD32_SYS_compat_50_netbsd32_getitimer 86 261 262/* syscall: "compat_43_netbsd32_ogethostname" ret: "int" args: "netbsd32_charp" "u_int" */ 263#define NETBSD32_SYS_compat_43_netbsd32_ogethostname 87 264 265/* syscall: "compat_43_netbsd32_osethostname" ret: "int" args: "netbsd32_charp" "u_int" */ 266#define NETBSD32_SYS_compat_43_netbsd32_osethostname 88 267 268/* syscall: "compat_43_ogetdtablesize" ret: "int" args: */ 269#define NETBSD32_SYS_compat_43_ogetdtablesize 89 270 271/* syscall: "netbsd32_dup2" ret: "int" args: "int" "int" */ 272#define NETBSD32_SYS_netbsd32_dup2 90 273 274/* syscall: "netbsd32_fcntl" ret: "int" args: "int" "int" "..." */ 275#define NETBSD32_SYS_netbsd32_fcntl 92 276 277/* syscall: "compat_50_netbsd32_select" ret: "int" args: "int" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "netbsd32_timeval50p_t" */ 278#define NETBSD32_SYS_compat_50_netbsd32_select 93 279 280/* syscall: "netbsd32_fsync" ret: "int" args: "int" */ 281#define NETBSD32_SYS_netbsd32_fsync 95 282 283/* syscall: "netbsd32_setpriority" ret: "int" args: "int" "int" "int" */ 284#define NETBSD32_SYS_netbsd32_setpriority 96 285 286/* syscall: "compat_30_netbsd32_socket" ret: "int" args: "int" "int" "int" */ 287#define NETBSD32_SYS_compat_30_netbsd32_socket 97 288 289/* syscall: "netbsd32_connect" ret: "int" args: "int" "netbsd32_sockaddrp_t" "int" */ 290#define NETBSD32_SYS_netbsd32_connect 98 291 292/* syscall: "compat_43_netbsd32_oaccept" ret: "int" args: "int" "netbsd32_voidp" "netbsd32_intp" */ 293#define NETBSD32_SYS_compat_43_netbsd32_oaccept 99 294 295/* syscall: "netbsd32_getpriority" ret: "int" args: "int" "int" */ 296#define NETBSD32_SYS_netbsd32_getpriority 100 297 298/* syscall: "compat_43_netbsd32_osend" ret: "int" args: "int" "netbsd32_voidp" "int" "int" */ 299#define NETBSD32_SYS_compat_43_netbsd32_osend 101 300 301/* syscall: "compat_43_netbsd32_orecv" ret: "int" args: "int" "netbsd32_voidp" "int" "int" */ 302#define NETBSD32_SYS_compat_43_netbsd32_orecv 102 303 304/* syscall: "compat_13_sigreturn13" ret: "int" args: "netbsd32_sigcontextp_t" */ 305#define NETBSD32_SYS_compat_13_sigreturn13 103 306 307/* syscall: "netbsd32_bind" ret: "int" args: "int" "netbsd32_sockaddrp_t" "int" */ 308#define NETBSD32_SYS_netbsd32_bind 104 309 310/* syscall: "netbsd32_setsockopt" ret: "int" args: "int" "int" "int" "netbsd32_voidp" "int" */ 311#define NETBSD32_SYS_netbsd32_setsockopt 105 312 313/* syscall: "netbsd32_listen" ret: "int" args: "int" "int" */ 314#define NETBSD32_SYS_netbsd32_listen 106 315 316 /* 107 is obsolete vtimes */ 317/* syscall: "compat_43_netbsd32_osigvec" ret: "int" args: "int" "netbsd32_sigvecp_t" "netbsd32_sigvecp_t" */ 318#define NETBSD32_SYS_compat_43_netbsd32_osigvec 108 319 320/* syscall: "compat_43_netbsd32_sigblock" ret: "int" args: "int" */ 321#define NETBSD32_SYS_compat_43_netbsd32_sigblock 109 322 323/* syscall: "compat_43_netbsd32_sigsetmask" ret: "int" args: "int" */ 324#define NETBSD32_SYS_compat_43_netbsd32_sigsetmask 110 325 326/* syscall: "compat_13_sigsuspend13" ret: "int" args: "int" */ 327#define NETBSD32_SYS_compat_13_sigsuspend13 111 328 329/* syscall: "compat_43_netbsd32_osigstack" ret: "int" args: "netbsd32_sigstackp_t" "netbsd32_sigstackp_t" */ 330#define NETBSD32_SYS_compat_43_netbsd32_osigstack 112 331 332/* syscall: "compat_43_netbsd32_orecvmsg" ret: "int" args: "int" "netbsd32_omsghdrp_t" "int" */ 333#define NETBSD32_SYS_compat_43_netbsd32_orecvmsg 113 334 335/* syscall: "compat_43_netbsd32_osendmsg" ret: "int" args: "int" "netbsd32_voidp" "int" */ 336#define NETBSD32_SYS_compat_43_netbsd32_osendmsg 114 337 338 /* 115 is obsolete vtrace */ 339/* syscall: "compat_50_netbsd32_gettimeofday" ret: "int" args: "netbsd32_timeval50p_t" "netbsd32_timezonep_t" */ 340#define NETBSD32_SYS_compat_50_netbsd32_gettimeofday 116 341 342/* syscall: "compat_50_netbsd32_getrusage" ret: "int" args: "int" "netbsd32_rusage50p_t" */ 343#define NETBSD32_SYS_compat_50_netbsd32_getrusage 117 344 345/* syscall: "netbsd32_getsockopt" ret: "int" args: "int" "int" "int" "netbsd32_voidp" "netbsd32_intp" */ 346#define NETBSD32_SYS_netbsd32_getsockopt 118 347 348 /* 119 is obsolete resuba */ 349/* syscall: "netbsd32_readv" ret: "netbsd32_ssize_t" args: "int" "netbsd32_iovecp_t" "int" */ 350#define NETBSD32_SYS_netbsd32_readv 120 351 352/* syscall: "netbsd32_writev" ret: "netbsd32_ssize_t" args: "int" "netbsd32_iovecp_t" "int" */ 353#define NETBSD32_SYS_netbsd32_writev 121 354 355/* syscall: "compat_50_netbsd32_settimeofday" ret: "int" args: "netbsd32_timeval50p_t" "netbsd32_timezonep_t" */ 356#define NETBSD32_SYS_compat_50_netbsd32_settimeofday 122 357 358/* syscall: "netbsd32_fchown" ret: "int" args: "int" "uid_t" "gid_t" */ 359#define NETBSD32_SYS_netbsd32_fchown 123 360 361/* syscall: "netbsd32_fchmod" ret: "int" args: "int" "mode_t" */ 362#define NETBSD32_SYS_netbsd32_fchmod 124 363 364/* syscall: "compat_43_netbsd32_orecvfrom" ret: "int" args: "int" "netbsd32_voidp" "netbsd32_size_t" "int" "netbsd32_voidp" "netbsd32_intp" */ 365#define NETBSD32_SYS_compat_43_netbsd32_orecvfrom 125 366 367/* syscall: "netbsd32_setreuid" ret: "int" args: "uid_t" "uid_t" */ 368#define NETBSD32_SYS_netbsd32_setreuid 126 369 370/* syscall: "netbsd32_setregid" ret: "int" args: "gid_t" "gid_t" */ 371#define NETBSD32_SYS_netbsd32_setregid 127 372 373/* syscall: "netbsd32_rename" ret: "int" args: "netbsd32_charp" "netbsd32_charp" */ 374#define NETBSD32_SYS_netbsd32_rename 128 375 376/* syscall: "compat_43_netbsd32_otruncate" ret: "int" args: "netbsd32_charp" "netbsd32_long" */ 377#define NETBSD32_SYS_compat_43_netbsd32_otruncate 129 378 379/* syscall: "compat_43_netbsd32_oftruncate" ret: "int" args: "int" "netbsd32_long" */ 380#define NETBSD32_SYS_compat_43_netbsd32_oftruncate 130 381 382/* syscall: "netbsd32_flock" ret: "int" args: "int" "int" */ 383#define NETBSD32_SYS_netbsd32_flock 131 384 385/* syscall: "netbsd32_mkfifo" ret: "int" args: "netbsd32_charp" "mode_t" */ 386#define NETBSD32_SYS_netbsd32_mkfifo 132 387 388/* syscall: "netbsd32_sendto" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" "int" "netbsd32_sockaddrp_t" "int" */ 389#define NETBSD32_SYS_netbsd32_sendto 133 390 391/* syscall: "netbsd32_shutdown" ret: "int" args: "int" "int" */ 392#define NETBSD32_SYS_netbsd32_shutdown 134 393 394/* syscall: "netbsd32_socketpair" ret: "int" args: "int" "int" "int" "netbsd32_intp" */ 395#define NETBSD32_SYS_netbsd32_socketpair 135 396 397/* syscall: "netbsd32_mkdir" ret: "int" args: "netbsd32_charp" "mode_t" */ 398#define NETBSD32_SYS_netbsd32_mkdir 136 399 400/* syscall: "netbsd32_rmdir" ret: "int" args: "netbsd32_charp" */ 401#define NETBSD32_SYS_netbsd32_rmdir 137 402 403/* syscall: "compat_50_netbsd32_utimes" ret: "int" args: "netbsd32_charp" "netbsd32_timeval50p_t" */ 404#define NETBSD32_SYS_compat_50_netbsd32_utimes 138 405 406 /* 139 is obsolete 4.2 sigreturn */ 407/* syscall: "compat_50_netbsd32_adjtime" ret: "int" args: "netbsd32_timeval50p_t" "netbsd32_timeval50p_t" */ 408#define NETBSD32_SYS_compat_50_netbsd32_adjtime 140 409 410/* syscall: "compat_43_netbsd32_ogetpeername" ret: "int" args: "int" "netbsd32_voidp" "netbsd32_intp" */ 411#define NETBSD32_SYS_compat_43_netbsd32_ogetpeername 141 412 413/* syscall: "compat_43_ogethostid" ret: "int32_t" args: */ 414#define NETBSD32_SYS_compat_43_ogethostid 142 415 416/* syscall: "compat_43_netbsd32_sethostid" ret: "int" args: "int32_t" */ 417#define NETBSD32_SYS_compat_43_netbsd32_sethostid 143 418 419/* syscall: "compat_43_netbsd32_ogetrlimit" ret: "int" args: "int" "netbsd32_orlimitp_t" */ 420#define NETBSD32_SYS_compat_43_netbsd32_ogetrlimit 144 421 422/* syscall: "compat_43_netbsd32_osetrlimit" ret: "int" args: "int" "netbsd32_orlimitp_t" */ 423#define NETBSD32_SYS_compat_43_netbsd32_osetrlimit 145 424 425/* syscall: "compat_43_netbsd32_killpg" ret: "int" args: "int" "int" */ 426#define NETBSD32_SYS_compat_43_netbsd32_killpg 146 427 428/* syscall: "setsid" ret: "int" args: */ 429#define NETBSD32_SYS_setsid 147 430 431#if defined(QUOTA) || !defined(_KERNEL_OPT) 432/* syscall: "compat_50_netbsd32_quotactl" ret: "int" args: "netbsd32_charp" "int" "int" "netbsd32_voidp" */ 433#define NETBSD32_SYS_compat_50_netbsd32_quotactl 148 434 435/* syscall: "compat_43_oquota" ret: "int" args: */ 436#define NETBSD32_SYS_compat_43_oquota 149 437 438#else 439 /* 148 is excluded compat_netbsd32_quotactl */ 440 /* 149 is excluded compat_netbsd32_quota */ 441#endif 442/* syscall: "compat_43_netbsd32_ogetsockname" ret: "int" args: "int" "netbsd32_voidp" "netbsd32_intp" */ 443#define NETBSD32_SYS_compat_43_netbsd32_ogetsockname 150 444 445/* syscall: "netbsd32_nfssvc" ret: "int" args: "int" "netbsd32_voidp" */ 446#define NETBSD32_SYS_netbsd32_nfssvc 155 447 448/* syscall: "compat_43_netbsd32_ogetdirentries" ret: "int" args: "int" "netbsd32_charp" "u_int" "netbsd32_longp" */ 449#define NETBSD32_SYS_compat_43_netbsd32_ogetdirentries 156 450 451/* syscall: "compat_20_netbsd32_statfs" ret: "int" args: "netbsd32_charp" "netbsd32_statfsp_t" */ 452#define NETBSD32_SYS_compat_20_netbsd32_statfs 157 453 454/* syscall: "compat_20_netbsd32_fstatfs" ret: "int" args: "int" "netbsd32_statfsp_t" */ 455#define NETBSD32_SYS_compat_20_netbsd32_fstatfs 158 456 457/* syscall: "compat_30_netbsd32_getfh" ret: "int" args: "netbsd32_charp" "netbsd32_compat_30_fhandlep_t" */ 458#define NETBSD32_SYS_compat_30_netbsd32_getfh 161 459 460/* syscall: "compat_09_netbsd32_ogetdomainname" ret: "int" args: "netbsd32_charp" "int" */ 461#define NETBSD32_SYS_compat_09_netbsd32_ogetdomainname 162 462 463/* syscall: "compat_09_netbsd32_osetdomainname" ret: "int" args: "netbsd32_charp" "int" */ 464#define NETBSD32_SYS_compat_09_netbsd32_osetdomainname 163 465 466/* syscall: "compat_09_netbsd32_uname" ret: "int" args: "netbsd32_outsnamep_t" */ 467#define NETBSD32_SYS_compat_09_netbsd32_uname 164 468 469/* syscall: "netbsd32_sysarch" ret: "int" args: "int" "netbsd32_voidp" */ 470#define NETBSD32_SYS_netbsd32_sysarch 165 471 472/* syscall: "compat_10_osemsys" ret: "int" args: "int" "int" "int" "int" "int" */ 473#define NETBSD32_SYS_compat_10_osemsys 169 474 475/* syscall: "compat_10_omsgsys" ret: "int" args: "int" "int" "int" "int" "int" "int" */ 476#define NETBSD32_SYS_compat_10_omsgsys 170 477 478/* syscall: "compat_10_oshmsys" ret: "int" args: "int" "int" "int" "int" */ 479#define NETBSD32_SYS_compat_10_oshmsys 171 480 481/* syscall: "netbsd32_pread" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" "int" "netbsd32_off_t" */ 482#define NETBSD32_SYS_netbsd32_pread 173 483 484/* syscall: "netbsd32_pwrite" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" "int" "netbsd32_off_t" */ 485#define NETBSD32_SYS_netbsd32_pwrite 174 486 487/* syscall: "compat_30_netbsd32_ntp_gettime" ret: "int" args: "netbsd32_ntptimeval50p_t" */ 488#define NETBSD32_SYS_compat_30_netbsd32_ntp_gettime 175 489 490#if defined(NTP) || !defined(_KERNEL_OPT) 491/* syscall: "netbsd32_ntp_adjtime" ret: "int" args: "netbsd32_timexp_t" */ 492#define NETBSD32_SYS_netbsd32_ntp_adjtime 176 493 494#else 495 /* 176 is excluded ntp_adjtime */ 496#endif 497/* syscall: "netbsd32_setgid" ret: "int" args: "gid_t" */ 498#define NETBSD32_SYS_netbsd32_setgid 181 499 500/* syscall: "netbsd32_setegid" ret: "int" args: "gid_t" */ 501#define NETBSD32_SYS_netbsd32_setegid 182 502 503/* syscall: "netbsd32_seteuid" ret: "int" args: "uid_t" */ 504#define NETBSD32_SYS_netbsd32_seteuid 183 505 506 /* 184 is excluded netbsd32_lfs_bmapv */ 507 /* 185 is excluded netbsd32_lfs_markv */ 508 /* 186 is excluded netbsd32_lfs_segclean */ 509 /* 187 is excluded netbsd32_lfs_segwait */ 510/* syscall: "compat_12_netbsd32_stat12" ret: "int" args: "netbsd32_charp" "netbsd32_stat12p_t" */ 511#define NETBSD32_SYS_compat_12_netbsd32_stat12 188 512 513/* syscall: "compat_12_netbsd32_fstat12" ret: "int" args: "int" "netbsd32_stat12p_t" */ 514#define NETBSD32_SYS_compat_12_netbsd32_fstat12 189 515 516/* syscall: "compat_12_netbsd32_lstat12" ret: "int" args: "netbsd32_charp" "netbsd32_stat12p_t" */ 517#define NETBSD32_SYS_compat_12_netbsd32_lstat12 190 518 519/* syscall: "netbsd32_pathconf" ret: "netbsd32_long" args: "netbsd32_charp" "int" */ 520#define NETBSD32_SYS_netbsd32_pathconf 191 521 522/* syscall: "netbsd32_fpathconf" ret: "netbsd32_long" args: "int" "int" */ 523#define NETBSD32_SYS_netbsd32_fpathconf 192 524 525/* syscall: "netbsd32_getsockopt2" ret: "int" args: "int" "int" "int" "netbsd32_voidp" "netbsd32_intp" */ 526#define NETBSD32_SYS_netbsd32_getsockopt2 193 527 528/* syscall: "netbsd32_getrlimit" ret: "int" args: "int" "netbsd32_rlimitp_t" */ 529#define NETBSD32_SYS_netbsd32_getrlimit 194 530 531/* syscall: "netbsd32_setrlimit" ret: "int" args: "int" "netbsd32_rlimitp_t" */ 532#define NETBSD32_SYS_netbsd32_setrlimit 195 533 534/* syscall: "compat_12_netbsd32_getdirentries" ret: "int" args: "int" "netbsd32_charp" "u_int" "netbsd32_longp" */ 535#define NETBSD32_SYS_compat_12_netbsd32_getdirentries 196 536 537/* syscall: "netbsd32_mmap" ret: "netbsd32_voidp" args: "netbsd32_voidp" "netbsd32_size_t" "int" "int" "int" "netbsd32_long" "netbsd32_off_t" */ 538#define NETBSD32_SYS_netbsd32_mmap 197 539 540/* syscall: "netbsd32____syscall" ret: "quad_t" args: "quad_t" "..." */ 541#define NETBSD32_SYS_netbsd32____syscall 198 542 543/* syscall: "netbsd32_lseek" ret: "netbsd32_off_t" args: "int" "int" "netbsd32_off_t" "int" */ 544#define NETBSD32_SYS_netbsd32_lseek 199 545 546/* syscall: "netbsd32_truncate" ret: "int" args: "netbsd32_charp" "int" "netbsd32_off_t" */ 547#define NETBSD32_SYS_netbsd32_truncate 200 548 549/* syscall: "netbsd32_ftruncate" ret: "int" args: "int" "int" "netbsd32_off_t" */ 550#define NETBSD32_SYS_netbsd32_ftruncate 201 551 552/* syscall: "netbsd32___sysctl" ret: "int" args: "netbsd32_intp" "u_int" "netbsd32_voidp" "netbsd32_size_tp" "netbsd32_voidp" "netbsd32_size_t" */ 553#define NETBSD32_SYS_netbsd32___sysctl 202 554 555/* syscall: "netbsd32_mlock" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" */ 556#define NETBSD32_SYS_netbsd32_mlock 203 557 558/* syscall: "netbsd32_munlock" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" */ 559#define NETBSD32_SYS_netbsd32_munlock 204 560 561/* syscall: "netbsd32_undelete" ret: "int" args: "netbsd32_charp" */ 562#define NETBSD32_SYS_netbsd32_undelete 205 563 564/* syscall: "compat_50_netbsd32_futimes" ret: "int" args: "int" "netbsd32_timeval50p_t" */ 565#define NETBSD32_SYS_compat_50_netbsd32_futimes 206 566 567/* syscall: "netbsd32_getpgid" ret: "int" args: "pid_t" */ 568#define NETBSD32_SYS_netbsd32_getpgid 207 569 570/* syscall: "netbsd32_reboot" ret: "int" args: "int" "netbsd32_charp" */ 571#define NETBSD32_SYS_netbsd32_reboot 208 572 573/* syscall: "netbsd32_poll" ret: "int" args: "netbsd32_pollfdp_t" "u_int" "int" */ 574#define NETBSD32_SYS_netbsd32_poll 209 575 576/* syscall: "compat_14_netbsd32___semctl" ret: "int" args: "int" "int" "int" "netbsd32_semunu_t" */ 577#define NETBSD32_SYS_compat_14_netbsd32___semctl 220 578 579/* syscall: "netbsd32_semget" ret: "int" args: "netbsd32_key_t" "int" "int" */ 580#define NETBSD32_SYS_netbsd32_semget 221 581 582/* syscall: "netbsd32_semop" ret: "int" args: "int" "netbsd32_sembufp_t" "netbsd32_size_t" */ 583#define NETBSD32_SYS_netbsd32_semop 222 584 585/* syscall: "netbsd32_semconfig" ret: "int" args: "int" */ 586#define NETBSD32_SYS_netbsd32_semconfig 223 587 588/* syscall: "compat_14_netbsd32_msgctl" ret: "int" args: "int" "int" "netbsd32_msqid_ds14p_t" */ 589#define NETBSD32_SYS_compat_14_netbsd32_msgctl 224 590 591/* syscall: "netbsd32_msgget" ret: "int" args: "netbsd32_key_t" "int" */ 592#define NETBSD32_SYS_netbsd32_msgget 225 593 594/* syscall: "netbsd32_msgsnd" ret: "int" args: "int" "netbsd32_voidp" "netbsd32_size_t" "int" */ 595#define NETBSD32_SYS_netbsd32_msgsnd 226 596 597/* syscall: "netbsd32_msgrcv" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" "netbsd32_long" "int" */ 598#define NETBSD32_SYS_netbsd32_msgrcv 227 599 600/* syscall: "netbsd32_shmat" ret: "netbsd32_voidp" args: "int" "netbsd32_voidp" "int" */ 601#define NETBSD32_SYS_netbsd32_shmat 228 602 603/* syscall: "compat_14_netbsd32_shmctl" ret: "int" args: "int" "int" "netbsd32_shmid_dsp_t" */ 604#define NETBSD32_SYS_compat_14_netbsd32_shmctl 229 605 606/* syscall: "netbsd32_shmdt" ret: "int" args: "netbsd32_voidp" */ 607#define NETBSD32_SYS_netbsd32_shmdt 230 608 609/* syscall: "netbsd32_shmget" ret: "int" args: "netbsd32_key_t" "netbsd32_size_t" "int" */ 610#define NETBSD32_SYS_netbsd32_shmget 231 611 612/* syscall: "compat_50_netbsd32_clock_gettime" ret: "int" args: "netbsd32_clockid_t" "netbsd32_timespec50p_t" */ 613#define NETBSD32_SYS_compat_50_netbsd32_clock_gettime 232 614 615/* syscall: "compat_50_netbsd32_clock_settime" ret: "int" args: "netbsd32_clockid_t" "netbsd32_timespec50p_t" */ 616#define NETBSD32_SYS_compat_50_netbsd32_clock_settime 233 617 618/* syscall: "compat_50_netbsd32_clock_getres" ret: "int" args: "netbsd32_clockid_t" "netbsd32_timespec50p_t" */ 619#define NETBSD32_SYS_compat_50_netbsd32_clock_getres 234 620 621/* syscall: "netbsd32_timer_create" ret: "int" args: "netbsd32_clockid_t" "netbsd32_sigeventp_t" "netbsd32_timerp_t" */ 622#define NETBSD32_SYS_netbsd32_timer_create 235 623 624/* syscall: "netbsd32_timer_delete" ret: "int" args: "netbsd32_timer_t" */ 625#define NETBSD32_SYS_netbsd32_timer_delete 236 626 627/* syscall: "compat_50_netbsd32_timer_settime" ret: "int" args: "netbsd32_timer_t" "int" "netbsd32_itimerspec50p_t" "netbsd32_itimerspec50p_t" */ 628#define NETBSD32_SYS_compat_50_netbsd32_timer_settime 237 629 630/* syscall: "compat_50_netbsd32_timer_gettime" ret: "int" args: "netbsd32_timer_t" "netbsd32_itimerspec50p_t" */ 631#define NETBSD32_SYS_compat_50_netbsd32_timer_gettime 238 632 633/* syscall: "netbsd32_timer_getoverrun" ret: "int" args: "netbsd32_timer_t" */ 634#define NETBSD32_SYS_netbsd32_timer_getoverrun 239 635 636/* syscall: "compat_50_netbsd32_nanosleep" ret: "int" args: "netbsd32_timespec50p_t" "netbsd32_timespec50p_t" */ 637#define NETBSD32_SYS_compat_50_netbsd32_nanosleep 240 638 639/* syscall: "netbsd32_fdatasync" ret: "int" args: "int" */ 640#define NETBSD32_SYS_netbsd32_fdatasync 241 641 642/* syscall: "netbsd32_mlockall" ret: "int" args: "int" */ 643#define NETBSD32_SYS_netbsd32_mlockall 242 644 645/* syscall: "munlockall" ret: "int" args: */ 646#define NETBSD32_SYS_munlockall 243 647 648/* syscall: "compat_50_netbsd32___sigtimedwait" ret: "int" args: "netbsd32_sigsetp_t" "netbsd32_siginfop_t" "netbsd32_timespec50p_t" */ 649#define NETBSD32_SYS_compat_50_netbsd32___sigtimedwait 244 650 651/* syscall: "netbsd32_sigqueueinfo" ret: "int" args: "pid_t" "const netbsd32_siginfop_t" */ 652#define NETBSD32_SYS_netbsd32_sigqueueinfo 245 653 654/* syscall: "netbsd32_modctl" ret: "int" args: "int" "netbsd32_voidp" */ 655#define NETBSD32_SYS_netbsd32_modctl 246 656 657/* syscall: "netbsd32__ksem_init" ret: "int" args: "unsigned int" "netbsd32_semidp_t" */ 658#define NETBSD32_SYS_netbsd32__ksem_init 247 659 660/* syscall: "netbsd32__ksem_open" ret: "int" args: "netbsd32_charp" "int" "mode_t" "unsigned int" "netbsd32_semidp_t" */ 661#define NETBSD32_SYS_netbsd32__ksem_open 248 662 663/* syscall: "netbsd32__ksem_unlink" ret: "int" args: "netbsd32_charp" */ 664#define NETBSD32_SYS_netbsd32__ksem_unlink 249 665 666/* syscall: "netbsd32__ksem_close" ret: "int" args: "netbsd32_intptr_t" */ 667#define NETBSD32_SYS_netbsd32__ksem_close 250 668 669/* syscall: "netbsd32__ksem_post" ret: "int" args: "netbsd32_intptr_t" */ 670#define NETBSD32_SYS_netbsd32__ksem_post 251 671 672/* syscall: "netbsd32__ksem_wait" ret: "int" args: "netbsd32_intptr_t" */ 673#define NETBSD32_SYS_netbsd32__ksem_wait 252 674 675/* syscall: "netbsd32__ksem_trywait" ret: "int" args: "netbsd32_intptr_t" */ 676#define NETBSD32_SYS_netbsd32__ksem_trywait 253 677 678/* syscall: "netbsd32__ksem_getvalue" ret: "int" args: "netbsd32_intptr_t" "netbsd32_intp" */ 679#define NETBSD32_SYS_netbsd32__ksem_getvalue 254 680 681/* syscall: "netbsd32__ksem_destroy" ret: "int" args: "netbsd32_intptr_t" */ 682#define NETBSD32_SYS_netbsd32__ksem_destroy 255 683 684/* syscall: "netbsd32__ksem_timedwait" ret: "int" args: "intptr_t" "const netbsd32_timespecp_t" */ 685#define NETBSD32_SYS_netbsd32__ksem_timedwait 256 686 687/* syscall: "netbsd32_mq_open" ret: "mqd_t" args: "const netbsd32_charp" "int" "mode_t" "netbsd32_mq_attrp_t" */ 688#define NETBSD32_SYS_netbsd32_mq_open 257 689 690/* syscall: "netbsd32_mq_close" ret: "int" args: "mqd_t" */ 691#define NETBSD32_SYS_netbsd32_mq_close 258 692 693/* syscall: "netbsd32_mq_unlink" ret: "int" args: "const netbsd32_charp" */ 694#define NETBSD32_SYS_netbsd32_mq_unlink 259 695 696/* syscall: "netbsd32_mq_getattr" ret: "int" args: "mqd_t" "netbsd32_mq_attrp_t" */ 697#define NETBSD32_SYS_netbsd32_mq_getattr 260 698 699/* syscall: "netbsd32_mq_setattr" ret: "int" args: "mqd_t" "const netbsd32_mq_attrp_t" "netbsd32_mq_attrp_t" */ 700#define NETBSD32_SYS_netbsd32_mq_setattr 261 701 702/* syscall: "netbsd32_mq_notify" ret: "int" args: "mqd_t" "const netbsd32_sigeventp_t" */ 703#define NETBSD32_SYS_netbsd32_mq_notify 262 704 705/* syscall: "netbsd32_mq_send" ret: "int" args: "mqd_t" "const netbsd32_charp" "netbsd32_size_t" "unsigned" */ 706#define NETBSD32_SYS_netbsd32_mq_send 263 707 708/* syscall: "netbsd32_mq_receive" ret: "netbsd32_ssize_t" args: "mqd_t" "netbsd32_charp" "netbsd32_size_t" "netbsd32_uintp" */ 709#define NETBSD32_SYS_netbsd32_mq_receive 264 710 711/* syscall: "compat_50_netbsd32_mq_timedsend" ret: "int" args: "mqd_t" "const netbsd32_charp" "netbsd32_size_t" "unsigned" "const netbsd32_timespec50p_t" */ 712#define NETBSD32_SYS_compat_50_netbsd32_mq_timedsend 265 713 714/* syscall: "compat_50_netbsd32_mq_timedreceive" ret: "netbsd32_ssize_t" args: "mqd_t" "netbsd32_charp" "netbsd32_size_t" "netbsd32_uintp" "const netbsd32_timespec50p_t" */ 715#define NETBSD32_SYS_compat_50_netbsd32_mq_timedreceive 266 716 717/* syscall: "netbsd32___posix_rename" ret: "int" args: "netbsd32_charp" "netbsd32_charp" */ 718#define NETBSD32_SYS_netbsd32___posix_rename 270 719 720/* syscall: "netbsd32_swapctl" ret: "int" args: "int" "netbsd32_voidp" "int" */ 721#define NETBSD32_SYS_netbsd32_swapctl 271 722 723/* syscall: "compat_30_netbsd32_getdents" ret: "int" args: "int" "netbsd32_charp" "netbsd32_size_t" */ 724#define NETBSD32_SYS_compat_30_netbsd32_getdents 272 725 726/* syscall: "netbsd32_minherit" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */ 727#define NETBSD32_SYS_netbsd32_minherit 273 728 729/* syscall: "netbsd32_lchmod" ret: "int" args: "netbsd32_charp" "mode_t" */ 730#define NETBSD32_SYS_netbsd32_lchmod 274 731 732/* syscall: "netbsd32_lchown" ret: "int" args: "netbsd32_charp" "uid_t" "gid_t" */ 733#define NETBSD32_SYS_netbsd32_lchown 275 734 735/* syscall: "compat_50_netbsd32_lutimes" ret: "int" args: "netbsd32_charp" "netbsd32_timeval50p_t" */ 736#define NETBSD32_SYS_compat_50_netbsd32_lutimes 276 737 738/* syscall: "netbsd32___msync13" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */ 739#define NETBSD32_SYS_netbsd32___msync13 277 740 741/* syscall: "compat_30_netbsd32___stat13" ret: "int" args: "netbsd32_charp" "netbsd32_stat13p_t" */ 742#define NETBSD32_SYS_compat_30_netbsd32___stat13 278 743 744/* syscall: "compat_30_netbsd32___fstat13" ret: "int" args: "int" "netbsd32_stat13p_t" */ 745#define NETBSD32_SYS_compat_30_netbsd32___fstat13 279 746 747/* syscall: "compat_30_netbsd32___lstat13" ret: "int" args: "netbsd32_charp" "netbsd32_stat13p_t" */ 748#define NETBSD32_SYS_compat_30_netbsd32___lstat13 280 749 750/* syscall: "netbsd32___sigaltstack14" ret: "int" args: "netbsd32_sigaltstackp_t" "netbsd32_sigaltstackp_t" */ 751#define NETBSD32_SYS_netbsd32___sigaltstack14 281 752 753/* syscall: "__vfork14" ret: "int" args: */ 754#define NETBSD32_SYS___vfork14 282 755 756/* syscall: "netbsd32___posix_chown" ret: "int" args: "netbsd32_charp" "uid_t" "gid_t" */ 757#define NETBSD32_SYS_netbsd32___posix_chown 283 758 759/* syscall: "netbsd32___posix_fchown" ret: "int" args: "int" "uid_t" "gid_t" */ 760#define NETBSD32_SYS_netbsd32___posix_fchown 284 761 762/* syscall: "netbsd32___posix_lchown" ret: "int" args: "netbsd32_charp" "uid_t" "gid_t" */ 763#define NETBSD32_SYS_netbsd32___posix_lchown 285 764 765/* syscall: "netbsd32_getsid" ret: "pid_t" args: "pid_t" */ 766#define NETBSD32_SYS_netbsd32_getsid 286 767 768/* syscall: "netbsd32___clone" ret: "int" args: "int" "netbsd32_voidp" */ 769#define NETBSD32_SYS_netbsd32___clone 287 770 771/* syscall: "netbsd32_fktrace" ret: "int" args: "int" "int" "int" "int" */ 772#define NETBSD32_SYS_netbsd32_fktrace 288 773 774/* syscall: "netbsd32_preadv" ret: "netbsd32_ssize_t" args: "int" "netbsd32_iovecp_t" "int" "int" "netbsd32_off_t" */ 775#define NETBSD32_SYS_netbsd32_preadv 289 776 777/* syscall: "netbsd32_pwritev" ret: "netbsd32_ssize_t" args: "int" "netbsd32_iovecp_t" "int" "int" "netbsd32_off_t" */ 778#define NETBSD32_SYS_netbsd32_pwritev 290 779 780/* syscall: "netbsd32___sigaction14" ret: "int" args: "int" "netbsd32_sigactionp_t" "netbsd32_sigactionp_t" */ 781#define NETBSD32_SYS_netbsd32___sigaction14 291 782 783/* syscall: "netbsd32___sigpending14" ret: "int" args: "netbsd32_sigsetp_t" */ 784#define NETBSD32_SYS_netbsd32___sigpending14 292 785 786/* syscall: "netbsd32___sigprocmask14" ret: "int" args: "int" "netbsd32_sigsetp_t" "netbsd32_sigsetp_t" */ 787#define NETBSD32_SYS_netbsd32___sigprocmask14 293 788 789/* syscall: "netbsd32___sigsuspend14" ret: "int" args: "netbsd32_sigsetp_t" */ 790#define NETBSD32_SYS_netbsd32___sigsuspend14 294 791 792/* syscall: "compat_16_netbsd32___sigreturn14" ret: "int" args: "netbsd32_sigcontextp_t" */ 793#define NETBSD32_SYS_compat_16_netbsd32___sigreturn14 295 794 795/* syscall: "netbsd32___getcwd" ret: "int" args: "netbsd32_charp" "netbsd32_size_t" */ 796#define NETBSD32_SYS_netbsd32___getcwd 296 797 798/* syscall: "netbsd32_fchroot" ret: "int" args: "int" */ 799#define NETBSD32_SYS_netbsd32_fchroot 297 800 801/* syscall: "compat_30_netbsd32_fhopen" ret: "int" args: "netbsd32_fhandlep_t" "int" */ 802#define NETBSD32_SYS_compat_30_netbsd32_fhopen 298 803 804/* syscall: "compat_30_netbsd32_fhstat" ret: "int" args: "netbsd32_fhandlep_t" "netbsd32_stat13p_t" */ 805#define NETBSD32_SYS_compat_30_netbsd32_fhstat 299 806 807/* syscall: "compat_20_netbsd32_fhstatfs" ret: "int" args: "netbsd32_fhandlep_t" "netbsd32_stat50p_t" */ 808#define NETBSD32_SYS_compat_20_netbsd32_fhstatfs 300 809 810/* syscall: "compat_50_netbsd32___semctl14" ret: "int" args: "int" "int" "int" "..." */ 811#define NETBSD32_SYS_compat_50_netbsd32___semctl14 301 812 813/* syscall: "compat_50_netbsd32___msgctl13" ret: "int" args: "int" "int" "netbsd32_msqid_ds50p_t" */ 814#define NETBSD32_SYS_compat_50_netbsd32___msgctl13 302 815 816/* syscall: "compat_50_netbsd32___shmctl13" ret: "int" args: "int" "int" "netbsd32_shmid_ds50p_t" */ 817#define NETBSD32_SYS_compat_50_netbsd32___shmctl13 303 818 819/* syscall: "netbsd32_lchflags" ret: "int" args: "netbsd32_charp" "netbsd32_u_long" */ 820#define NETBSD32_SYS_netbsd32_lchflags 304 821 822/* syscall: "issetugid" ret: "int" args: */ 823#define NETBSD32_SYS_issetugid 305 824 825/* syscall: "netbsd32_utrace" ret: "int" args: "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */ 826#define NETBSD32_SYS_netbsd32_utrace 306 827 828/* syscall: "netbsd32_getcontext" ret: "int" args: "netbsd32_ucontextp" */ 829#define NETBSD32_SYS_netbsd32_getcontext 307 830 831/* syscall: "netbsd32_setcontext" ret: "int" args: "netbsd32_ucontextp" */ 832#define NETBSD32_SYS_netbsd32_setcontext 308 833 834/* syscall: "netbsd32__lwp_create" ret: "int" args: "netbsd32_ucontextp" "netbsd32_u_long" "netbsd32_lwpidp" */ 835#define NETBSD32_SYS_netbsd32__lwp_create 309 836 837/* syscall: "_lwp_exit" ret: "int" args: */ 838#define NETBSD32_SYS__lwp_exit 310 839 840/* syscall: "_lwp_self" ret: "lwpid_t" args: */ 841#define NETBSD32_SYS__lwp_self 311 842 843/* syscall: "netbsd32__lwp_wait" ret: "int" args: "lwpid_t" "netbsd32_lwpidp" */ 844#define NETBSD32_SYS_netbsd32__lwp_wait 312 845 846/* syscall: "netbsd32__lwp_suspend" ret: "int" args: "lwpid_t" */ 847#define NETBSD32_SYS_netbsd32__lwp_suspend 313 848 849/* syscall: "netbsd32__lwp_continue" ret: "int" args: "lwpid_t" */ 850#define NETBSD32_SYS_netbsd32__lwp_continue 314 851 852/* syscall: "netbsd32__lwp_wakeup" ret: "int" args: "lwpid_t" */ 853#define NETBSD32_SYS_netbsd32__lwp_wakeup 315 854 855/* syscall: "_lwp_getprivate" ret: "netbsd32_voidp" args: */ 856#define NETBSD32_SYS__lwp_getprivate 316 857 858/* syscall: "netbsd32__lwp_setprivate" ret: "void" args: "netbsd32_voidp" */ 859#define NETBSD32_SYS_netbsd32__lwp_setprivate 317 860 861/* syscall: "netbsd32__lwp_kill" ret: "int" args: "lwpid_t" "int" */ 862#define NETBSD32_SYS_netbsd32__lwp_kill 318 863 864/* syscall: "netbsd32__lwp_detach" ret: "int" args: "lwpid_t" */ 865#define NETBSD32_SYS_netbsd32__lwp_detach 319 866 867/* syscall: "compat_50_netbsd32__lwp_park" ret: "int" args: "netbsd32_timespec50p_t" "lwpid_t" "netbsd32_voidp" "netbsd32_voidp" */ 868#define NETBSD32_SYS_compat_50_netbsd32__lwp_park 320 869 870/* syscall: "netbsd32__lwp_unpark" ret: "int" args: "lwpid_t" "netbsd32_voidp" */ 871#define NETBSD32_SYS_netbsd32__lwp_unpark 321 872 873/* syscall: "netbsd32__lwp_unpark_all" ret: "netbsd32_size_t" args: "netbsd32_lwpidp" "netbsd32_size_t" "netbsd32_voidp" */ 874#define NETBSD32_SYS_netbsd32__lwp_unpark_all 322 875 876/* syscall: "netbsd32__lwp_setname" ret: "int" args: "lwpid_t" "netbsd32_charp" */ 877#define NETBSD32_SYS_netbsd32__lwp_setname 323 878 879/* syscall: "netbsd32__lwp_getname" ret: "int" args: "lwpid_t" "netbsd32_charp" "netbsd32_size_t" */ 880#define NETBSD32_SYS_netbsd32__lwp_getname 324 881 882/* syscall: "netbsd32__lwp_ctl" ret: "int" args: "int" "netbsd32_pointer_t" */ 883#define NETBSD32_SYS_netbsd32__lwp_ctl 325 884 885 /* 330 is obsolete netbsd32_sa_register */ 886 /* 331 is obsolete netbsd32_sa_stacks */ 887 /* 332 is obsolete sa_enable */ 888 /* 333 is obsolete netbsd32_sa_setconcurrency */ 889 /* 334 is obsolete sa_yield */ 890 /* 335 is obsolete netbsd32_sa_preempt */ 891 /* 336 is obsolete sys_sa_unblockyield */ 892/* syscall: "netbsd32___sigaction_sigtramp" ret: "int" args: "int" "netbsd32_sigactionp_t" "netbsd32_sigactionp_t" "netbsd32_voidp" "int" */ 893#define NETBSD32_SYS_netbsd32___sigaction_sigtramp 340 894 895 /* 341 is obsolete netbsd32_pmc_get_info */ 896 /* 342 is obsolete netbsd32_pmc_control */ 897/* syscall: "netbsd32_rasctl" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */ 898#define NETBSD32_SYS_netbsd32_rasctl 343 899 900/* syscall: "kqueue" ret: "int" args: */ 901#define NETBSD32_SYS_kqueue 344 902 903/* syscall: "compat_50_netbsd32_kevent" ret: "int" args: "int" "netbsd32_keventp_t" "netbsd32_size_t" "netbsd32_keventp_t" "netbsd32_size_t" "netbsd32_timespec50p_t" */ 904#define NETBSD32_SYS_compat_50_netbsd32_kevent 345 905 906/* syscall: "netbsd32__sched_setparam" ret: "int" args: "pid_t" "lwpid_t" "int" "const netbsd32_sched_paramp_t" */ 907#define NETBSD32_SYS_netbsd32__sched_setparam 346 908 909/* syscall: "netbsd32__sched_getparam" ret: "int" args: "pid_t" "lwpid_t" "netbsd32_intp" "netbsd32_sched_paramp_t" */ 910#define NETBSD32_SYS_netbsd32__sched_getparam 347 911 912/* syscall: "netbsd32__sched_setaffinity" ret: "int" args: "pid_t" "lwpid_t" "netbsd32_size_t" "const netbsd32_cpusetp_t" */ 913#define NETBSD32_SYS_netbsd32__sched_setaffinity 348 914 915/* syscall: "netbsd32__sched_getaffinity" ret: "int" args: "pid_t" "lwpid_t" "netbsd32_size_t" "netbsd32_cpusetp_t" */ 916#define NETBSD32_SYS_netbsd32__sched_getaffinity 349 917 918/* syscall: "sched_yield" ret: "int" args: */ 919#define NETBSD32_SYS_sched_yield 350 920 921/* syscall: "netbsd32__sched_protect" ret: "int" args: "int" */ 922#define NETBSD32_SYS_netbsd32__sched_protect 351 923 924/* syscall: "netbsd32_fsync_range" ret: "int" args: "int" "int" "netbsd32_off_t" "netbsd32_off_t" */ 925#define NETBSD32_SYS_netbsd32_fsync_range 354 926 927/* syscall: "netbsd32_uuidgen" ret: "int" args: "netbsd32_uuidp_t" "int" */ 928#define NETBSD32_SYS_netbsd32_uuidgen 355 929 930/* syscall: "compat_90_netbsd32_getvfsstat" ret: "int" args: "netbsd32_statvfs90p_t" "netbsd32_size_t" "int" */ 931#define NETBSD32_SYS_compat_90_netbsd32_getvfsstat 356 932 933/* syscall: "compat_90_netbsd32_statvfs1" ret: "int" args: "netbsd32_charp" "netbsd32_statvfs90p_t" "int" */ 934#define NETBSD32_SYS_compat_90_netbsd32_statvfs1 357 935 936/* syscall: "compat_90_netbsd32_fstatvfs1" ret: "int" args: "int" "netbsd32_statvfs90p_t" "int" */ 937#define NETBSD32_SYS_compat_90_netbsd32_fstatvfs1 358 938 939/* syscall: "compat_30_netbsd32_fhstatvfs1" ret: "int" args: "netbsd32_fhandlep_t" "netbsd32_statvfs90p_t" "int" */ 940#define NETBSD32_SYS_compat_30_netbsd32_fhstatvfs1 359 941 942/* syscall: "netbsd32_extattrctl" ret: "int" args: "netbsd32_charp" "int" "netbsd32_charp" "int" "netbsd32_charp" */ 943#define NETBSD32_SYS_netbsd32_extattrctl 360 944 945/* syscall: "netbsd32_extattr_set_file" ret: "int" args: "netbsd32_charp" "int" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */ 946#define NETBSD32_SYS_netbsd32_extattr_set_file 361 947 948/* syscall: "netbsd32_extattr_get_file" ret: "int" args: "netbsd32_charp" "int" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */ 949#define NETBSD32_SYS_netbsd32_extattr_get_file 362 950 951/* syscall: "netbsd32_extattr_delete_file" ret: "int" args: "netbsd32_charp" "int" "netbsd32_charp" */ 952#define NETBSD32_SYS_netbsd32_extattr_delete_file 363 953 954/* syscall: "netbsd32_extattr_set_fd" ret: "int" args: "int" "int" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */ 955#define NETBSD32_SYS_netbsd32_extattr_set_fd 364 956 957/* syscall: "netbsd32_extattr_get_fd" ret: "int" args: "int" "int" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */ 958#define NETBSD32_SYS_netbsd32_extattr_get_fd 365 959 960/* syscall: "netbsd32_extattr_delete_fd" ret: "int" args: "int" "int" "netbsd32_charp" */ 961#define NETBSD32_SYS_netbsd32_extattr_delete_fd 366 962 963/* syscall: "netbsd32_extattr_set_link" ret: "int" args: "netbsd32_charp" "int" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */ 964#define NETBSD32_SYS_netbsd32_extattr_set_link 367 965 966/* syscall: "netbsd32_extattr_get_link" ret: "int" args: "netbsd32_charp" "int" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */ 967#define NETBSD32_SYS_netbsd32_extattr_get_link 368 968 969/* syscall: "netbsd32_extattr_delete_link" ret: "int" args: "netbsd32_charp" "int" "netbsd32_charp" */ 970#define NETBSD32_SYS_netbsd32_extattr_delete_link 369 971 972/* syscall: "netbsd32_extattr_list_fd" ret: "int" args: "int" "int" "netbsd32_voidp" "netbsd32_size_t" */ 973#define NETBSD32_SYS_netbsd32_extattr_list_fd 370 974 975/* syscall: "netbsd32_extattr_list_file" ret: "int" args: "netbsd32_charp" "int" "netbsd32_voidp" "netbsd32_size_t" */ 976#define NETBSD32_SYS_netbsd32_extattr_list_file 371 977 978/* syscall: "netbsd32_extattr_list_link" ret: "int" args: "netbsd32_charp" "int" "netbsd32_voidp" "netbsd32_size_t" */ 979#define NETBSD32_SYS_netbsd32_extattr_list_link 372 980 981/* syscall: "compat_50_netbsd32_pselect" ret: "int" args: "int" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "netbsd32_timespec50p_t" "netbsd32_sigsetp_t" */ 982#define NETBSD32_SYS_compat_50_netbsd32_pselect 373 983 984/* syscall: "compat_50_netbsd32_pollts" ret: "int" args: "netbsd32_pollfdp_t" "u_int" "netbsd32_timespec50p_t" "netbsd32_sigsetp_t" */ 985#define NETBSD32_SYS_compat_50_netbsd32_pollts 374 986 987/* syscall: "netbsd32_setxattr" ret: "int" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" "int" */ 988#define NETBSD32_SYS_netbsd32_setxattr 375 989 990/* syscall: "netbsd32_lsetxattr" ret: "int" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" "int" */ 991#define NETBSD32_SYS_netbsd32_lsetxattr 376 992 993/* syscall: "netbsd32_fsetxattr" ret: "int" args: "int" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" "int" */ 994#define NETBSD32_SYS_netbsd32_fsetxattr 377 995 996/* syscall: "netbsd32_getxattr" ret: "int" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */ 997#define NETBSD32_SYS_netbsd32_getxattr 378 998 999/* syscall: "netbsd32_lgetxattr" ret: "int" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */ 1000#define NETBSD32_SYS_netbsd32_lgetxattr 379 1001 1002/* syscall: "netbsd32_fgetxattr" ret: "int" args: "int" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */ 1003#define NETBSD32_SYS_netbsd32_fgetxattr 380 1004 1005/* syscall: "netbsd32_listxattr" ret: "int" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_size_t" */ 1006#define NETBSD32_SYS_netbsd32_listxattr 381 1007 1008/* syscall: "netbsd32_llistxattr" ret: "int" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_size_t" */ 1009#define NETBSD32_SYS_netbsd32_llistxattr 382 1010 1011/* syscall: "netbsd32_flistxattr" ret: "int" args: "int" "netbsd32_charp" "netbsd32_size_t" */ 1012#define NETBSD32_SYS_netbsd32_flistxattr 383 1013 1014/* syscall: "netbsd32_removexattr" ret: "int" args: "netbsd32_charp" "netbsd32_charp" */ 1015#define NETBSD32_SYS_netbsd32_removexattr 384 1016 1017/* syscall: "netbsd32_lremovexattr" ret: "int" args: "netbsd32_charp" "netbsd32_charp" */ 1018#define NETBSD32_SYS_netbsd32_lremovexattr 385 1019 1020/* syscall: "netbsd32_fremovexattr" ret: "int" args: "int" "netbsd32_charp" */ 1021#define NETBSD32_SYS_netbsd32_fremovexattr 386 1022 1023/* syscall: "compat_50_netbsd32___stat30" ret: "int" args: "netbsd32_charp" "netbsd32_stat50p_t" */ 1024#define NETBSD32_SYS_compat_50_netbsd32___stat30 387 1025 1026/* syscall: "compat_50_netbsd32___fstat30" ret: "int" args: "int" "netbsd32_stat50p_t" */ 1027#define NETBSD32_SYS_compat_50_netbsd32___fstat30 388 1028 1029/* syscall: "compat_50_netbsd32___lstat30" ret: "int" args: "netbsd32_charp" "netbsd32_stat50p_t" */ 1030#define NETBSD32_SYS_compat_50_netbsd32___lstat30 389 1031 1032/* syscall: "netbsd32___getdents30" ret: "int" args: "int" "netbsd32_charp" "netbsd32_size_t" */ 1033#define NETBSD32_SYS_netbsd32___getdents30 390 1034 1035 /* 391 is ignored old posix fadvise */ 1036/* syscall: "compat_30_netbsd32___fhstat30" ret: "int" args: "netbsd32_fhandlep_t" "netbsd32_stat50p_t" */ 1037#define NETBSD32_SYS_compat_30_netbsd32___fhstat30 392 1038 1039/* syscall: "compat_50_netbsd32_ntp_gettime" ret: "int" args: "netbsd32_ntptimeval50p_t" */ 1040#define NETBSD32_SYS_compat_50_netbsd32_ntp_gettime 393 1041 1042/* syscall: "netbsd32___socket30" ret: "int" args: "int" "int" "int" */ 1043#define NETBSD32_SYS_netbsd32___socket30 394 1044 1045/* syscall: "netbsd32___getfh30" ret: "int" args: "netbsd32_charp" "netbsd32_pointer_t" "netbsd32_size_tp" */ 1046#define NETBSD32_SYS_netbsd32___getfh30 395 1047 1048/* syscall: "netbsd32___fhopen40" ret: "int" args: "netbsd32_pointer_t" "netbsd32_size_t" "int" */ 1049#define NETBSD32_SYS_netbsd32___fhopen40 396 1050 1051/* syscall: "compat_90_netbsd32_fhstatvfs1" ret: "int" args: "netbsd32_pointer_t" "netbsd32_size_t" "netbsd32_statvfs90p_t" "int" */ 1052#define NETBSD32_SYS_compat_90_netbsd32_fhstatvfs1 397 1053 1054/* syscall: "compat_50_netbsd32___fhstat40" ret: "int" args: "netbsd32_pointer_t" "netbsd32_size_t" "netbsd32_stat50p_t" */ 1055#define NETBSD32_SYS_compat_50_netbsd32___fhstat40 398 1056 1057/* syscall: "netbsd32___mount50" ret: "int" args: "netbsd32_charp" "netbsd32_charp" "int" "netbsd32_voidp" "netbsd32_size_t" */ 1058#define NETBSD32_SYS_netbsd32___mount50 410 1059 1060/* syscall: "netbsd32_mremap" ret: "netbsd32_voidp" args: "netbsd32_voidp" "netbsd32_size_t" "netbsd32_voidp" "netbsd32_size_t" "int" */ 1061#define NETBSD32_SYS_netbsd32_mremap 411 1062 1063/* syscall: "netbsd32_pset_create" ret: "int" args: "netbsd32_psetidp_t" */ 1064#define NETBSD32_SYS_netbsd32_pset_create 412 1065 1066/* syscall: "netbsd32_pset_destroy" ret: "int" args: "psetid_t" */ 1067#define NETBSD32_SYS_netbsd32_pset_destroy 413 1068 1069/* syscall: "netbsd32_pset_assign" ret: "int" args: "psetid_t" "cpuid_t" "netbsd32_psetidp_t" */ 1070#define NETBSD32_SYS_netbsd32_pset_assign 414 1071 1072/* syscall: "netbsd32__pset_bind" ret: "int" args: "idtype_t" "id_t" "id_t" "psetid_t" "netbsd32_psetidp_t" */ 1073#define NETBSD32_SYS_netbsd32__pset_bind 415 1074 1075/* syscall: "netbsd32___posix_fadvise50" ret: "int" args: "int" "int" "netbsd32_off_t" "netbsd32_off_t" "int" */ 1076#define NETBSD32_SYS_netbsd32___posix_fadvise50 416 1077 1078/* syscall: "netbsd32___select50" ret: "int" args: "int" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "netbsd32_timevalp_t" */ 1079#define NETBSD32_SYS_netbsd32___select50 417 1080 1081/* syscall: "netbsd32___gettimeofday50" ret: "int" args: "netbsd32_timevalp_t" "netbsd32_voidp" */ 1082#define NETBSD32_SYS_netbsd32___gettimeofday50 418 1083 1084/* syscall: "netbsd32___settimeofday50" ret: "int" args: "const netbsd32_timevalp_t" "const netbsd32_voidp" */ 1085#define NETBSD32_SYS_netbsd32___settimeofday50 419 1086 1087/* syscall: "netbsd32___utimes50" ret: "int" args: "const netbsd32_charp" "const netbsd32_timevalp_t" */ 1088#define NETBSD32_SYS_netbsd32___utimes50 420 1089 1090/* syscall: "netbsd32___adjtime50" ret: "int" args: "const netbsd32_timevalp_t" "netbsd32_timevalp_t" */ 1091#define NETBSD32_SYS_netbsd32___adjtime50 421 1092 1093 /* 422 is excluded __lfs_segwait50 */ 1094/* syscall: "netbsd32___futimes50" ret: "int" args: "int" "const netbsd32_timevalp_t" */ 1095#define NETBSD32_SYS_netbsd32___futimes50 423 1096 1097/* syscall: "netbsd32___lutimes50" ret: "int" args: "const netbsd32_charp" "const netbsd32_timevalp_t" */ 1098#define NETBSD32_SYS_netbsd32___lutimes50 424 1099 1100/* syscall: "netbsd32___setitimer50" ret: "int" args: "int" "const netbsd32_itimervalp_t" "netbsd32_itimervalp_t" */ 1101#define NETBSD32_SYS_netbsd32___setitimer50 425 1102 1103/* syscall: "netbsd32___getitimer50" ret: "int" args: "int" "netbsd32_itimervalp_t" */ 1104#define NETBSD32_SYS_netbsd32___getitimer50 426 1105 1106/* syscall: "netbsd32___clock_gettime50" ret: "int" args: "clockid_t" "netbsd32_timespecp_t" */ 1107#define NETBSD32_SYS_netbsd32___clock_gettime50 427 1108 1109/* syscall: "netbsd32___clock_settime50" ret: "int" args: "clockid_t" "const netbsd32_timespecp_t" */ 1110#define NETBSD32_SYS_netbsd32___clock_settime50 428 1111 1112/* syscall: "netbsd32___clock_getres50" ret: "int" args: "clockid_t" "netbsd32_timespecp_t" */ 1113#define NETBSD32_SYS_netbsd32___clock_getres50 429 1114 1115/* syscall: "netbsd32___nanosleep50" ret: "int" args: "const netbsd32_timespecp_t" "netbsd32_timespecp_t" */ 1116#define NETBSD32_SYS_netbsd32___nanosleep50 430 1117 1118/* syscall: "netbsd32_____sigtimedwait50" ret: "int" args: "const netbsd32_sigsetp_t" "netbsd32_siginfop_t" "netbsd32_timespecp_t" */ 1119#define NETBSD32_SYS_netbsd32_____sigtimedwait50 431 1120 1121/* syscall: "netbsd32___mq_timedsend50" ret: "int" args: "mqd_t" "const netbsd32_charp" "netbsd32_size_t" "unsigned" "const netbsd32_timespecp_t" */ 1122#define NETBSD32_SYS_netbsd32___mq_timedsend50 432 1123 1124/* syscall: "netbsd32___mq_timedreceive50" ret: "netbsd32_ssize_t" args: "mqd_t" "netbsd32_charp" "netbsd32_size_t" "netbsd32_uintp" "const netbsd32_timespecp_t" */ 1125#define NETBSD32_SYS_netbsd32___mq_timedreceive50 433 1126 1127/* syscall: "compat_60_netbsd32__lwp_park" ret: "int" args: "const netbsd32_timespecp_t" "lwpid_t" "const netbsd32_voidp" "const netbsd32_voidp" */ 1128#define NETBSD32_SYS_compat_60_netbsd32__lwp_park 434 1129 1130/* syscall: "netbsd32___kevent50" ret: "int" args: "int" "const netbsd32_keventp_t" "netbsd32_size_t" "netbsd32_keventp_t" "netbsd32_size_t" "const netbsd32_timespecp_t" */ 1131#define NETBSD32_SYS_netbsd32___kevent50 435 1132 1133/* syscall: "netbsd32___pselect50" ret: "int" args: "int" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "const netbsd32_timespecp_t" "const netbsd32_sigsetp_t" */ 1134#define NETBSD32_SYS_netbsd32___pselect50 436 1135 1136/* syscall: "netbsd32___pollts50" ret: "int" args: "netbsd32_pollfdp_t" "u_int" "const netbsd32_timespecp_t" "const netbsd32_sigsetp_t" */ 1137#define NETBSD32_SYS_netbsd32___pollts50 437 1138 1139/* syscall: "netbsd32___stat50" ret: "int" args: "const netbsd32_charp" "netbsd32_statp_t" */ 1140#define NETBSD32_SYS_netbsd32___stat50 439 1141 1142/* syscall: "netbsd32___fstat50" ret: "int" args: "int" "netbsd32_statp_t" */ 1143#define NETBSD32_SYS_netbsd32___fstat50 440 1144 1145/* syscall: "netbsd32___lstat50" ret: "int" args: "const netbsd32_charp" "netbsd32_statp_t" */ 1146#define NETBSD32_SYS_netbsd32___lstat50 441 1147 1148/* syscall: "netbsd32_____semctl50" ret: "int" args: "int" "int" "int" "..." */ 1149#define NETBSD32_SYS_netbsd32_____semctl50 442 1150 1151/* syscall: "netbsd32___shmctl50" ret: "int" args: "int" "int" "netbsd32_shmid_dsp_t" */ 1152#define NETBSD32_SYS_netbsd32___shmctl50 443 1153 1154/* syscall: "netbsd32___msgctl50" ret: "int" args: "int" "int" "netbsd32_msqid_dsp_t" */ 1155#define NETBSD32_SYS_netbsd32___msgctl50 444 1156 1157/* syscall: "netbsd32___getrusage50" ret: "int" args: "int" "netbsd32_rusagep_t" */ 1158#define NETBSD32_SYS_netbsd32___getrusage50 445 1159 1160/* syscall: "netbsd32___timer_settime50" ret: "int" args: "timer_t" "int" "const netbsd32_itimerspecp_t" "netbsd32_itimerspecp_t" */ 1161#define NETBSD32_SYS_netbsd32___timer_settime50 446 1162 1163/* syscall: "netbsd32___timer_gettime50" ret: "int" args: "timer_t" "netbsd32_itimerspecp_t" */ 1164#define NETBSD32_SYS_netbsd32___timer_gettime50 447 1165 1166#if defined(NTP) || !defined(_KERNEL_OPT) 1167/* syscall: "netbsd32___ntp_gettime50" ret: "int" args: "netbsd32_ntptimevalp_t" */ 1168#define NETBSD32_SYS_netbsd32___ntp_gettime50 448 1169 1170#else 1171 /* 448 is excluded ___ntp_gettime50 */ 1172#endif 1173/* syscall: "netbsd32___wait450" ret: "int" args: "int" "netbsd32_intp" "int" "netbsd32_rusagep_t" */ 1174#define NETBSD32_SYS_netbsd32___wait450 449 1175 1176/* syscall: "netbsd32___mknod50" ret: "int" args: "const netbsd32_charp" "mode_t" "netbsd32_dev_t" */ 1177#define NETBSD32_SYS_netbsd32___mknod50 450 1178 1179/* syscall: "netbsd32___fhstat50" ret: "int" args: "const netbsd32_voidp" "netbsd32_size_t" "netbsd32_statp_t" */ 1180#define NETBSD32_SYS_netbsd32___fhstat50 451 1181 1182 /* 452 is obsolete 5.99 quotactl */ 1183/* syscall: "netbsd32_pipe2" ret: "int" args: "netbsd32_intp" "int" */ 1184#define NETBSD32_SYS_netbsd32_pipe2 453 1185 1186/* syscall: "netbsd32_dup3" ret: "int" args: "int" "int" "int" */ 1187#define NETBSD32_SYS_netbsd32_dup3 454 1188 1189/* syscall: "netbsd32_kqueue1" ret: "int" args: "int" */ 1190#define NETBSD32_SYS_netbsd32_kqueue1 455 1191 1192/* syscall: "netbsd32_paccept" ret: "int" args: "int" "netbsd32_sockaddrp_t" "netbsd32_socklenp_t" "const netbsd32_sigsetp_t" "int" */ 1193#define NETBSD32_SYS_netbsd32_paccept 456 1194 1195/* syscall: "netbsd32_linkat" ret: "int" args: "int" "const netbsd32_charp" "int" "const netbsd32_charp" "int" */ 1196#define NETBSD32_SYS_netbsd32_linkat 457 1197 1198/* syscall: "netbsd32_renameat" ret: "int" args: "int" "const netbsd32_charp" "int" "const netbsd32_charp" */ 1199#define NETBSD32_SYS_netbsd32_renameat 458 1200 1201/* syscall: "netbsd32_mkfifoat" ret: "int" args: "int" "const netbsd32_charp" "mode_t" */ 1202#define NETBSD32_SYS_netbsd32_mkfifoat 459 1203 1204/* syscall: "netbsd32_mknodat" ret: "int" args: "int" "const netbsd32_charp" "mode_t" "int" "netbsd32_dev_t" */ 1205#define NETBSD32_SYS_netbsd32_mknodat 460 1206 1207/* syscall: "netbsd32_mkdirat" ret: "int" args: "int" "const netbsd32_charp" "mode_t" */ 1208#define NETBSD32_SYS_netbsd32_mkdirat 461 1209 1210/* syscall: "netbsd32_faccessat" ret: "int" args: "int" "const netbsd32_charp" "int" "int" */ 1211#define NETBSD32_SYS_netbsd32_faccessat 462 1212 1213/* syscall: "netbsd32_fchmodat" ret: "int" args: "int" "const netbsd32_charp" "mode_t" "int" */ 1214#define NETBSD32_SYS_netbsd32_fchmodat 463 1215 1216/* syscall: "netbsd32_fchownat" ret: "int" args: "int" "const netbsd32_charp" "uid_t" "gid_t" "int" */ 1217#define NETBSD32_SYS_netbsd32_fchownat 464 1218 1219/* syscall: "netbsd32_fexecve" ret: "int" args: "int" "netbsd32_charpp" "netbsd32_charpp" */ 1220#define NETBSD32_SYS_netbsd32_fexecve 465 1221 1222/* syscall: "netbsd32_fstatat" ret: "int" args: "int" "const netbsd32_charp" "netbsd32_statp_t" "int" */ 1223#define NETBSD32_SYS_netbsd32_fstatat 466 1224 1225/* syscall: "netbsd32_utimensat" ret: "int" args: "int" "const netbsd32_charp" "const netbsd32_timespecp_t" "int" */ 1226#define NETBSD32_SYS_netbsd32_utimensat 467 1227 1228/* syscall: "netbsd32_openat" ret: "int" args: "int" "const netbsd32_charp" "int" "..." */ 1229#define NETBSD32_SYS_netbsd32_openat 468 1230 1231/* syscall: "netbsd32_readlinkat" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_charp" "netbsd32_charp" "netbsd32_size_t" */ 1232#define NETBSD32_SYS_netbsd32_readlinkat 469 1233 1234/* syscall: "netbsd32_symlinkat" ret: "int" args: "const netbsd32_charp" "int" "const netbsd32_charp" */ 1235#define NETBSD32_SYS_netbsd32_symlinkat 470 1236 1237/* syscall: "netbsd32_unlinkat" ret: "int" args: "int" "const netbsd32_charp" "int" */ 1238#define NETBSD32_SYS_netbsd32_unlinkat 471 1239 1240/* syscall: "netbsd32_futimens" ret: "int" args: "int" "const netbsd32_timespecp_t" */ 1241#define NETBSD32_SYS_netbsd32_futimens 472 1242 1243#if defined(QUOTA) || !defined(_KERNEL_OPT) 1244/* syscall: "netbsd32___quotactl" ret: "int" args: "const netbsd32_charp" "netbsd32_voidp" */ 1245#define NETBSD32_SYS_netbsd32___quotactl 473 1246 1247#else 1248 /* 473 is excluded netbsd32___quotactl */ 1249#endif 1250/* syscall: "netbsd32_posix_spawn" ret: "int" args: "netbsd32_pid_tp" "const netbsd32_charp" "const netbsd32_posix_spawn_file_actionsp" "const netbsd32_posix_spawnattrp" "netbsd32_charpp" "netbsd32_charpp" */ 1251#define NETBSD32_SYS_netbsd32_posix_spawn 474 1252 1253/* syscall: "netbsd32_recvmmsg" ret: "int" args: "int" "netbsd32_mmsghdrp_t" "unsigned int" "unsigned int" "netbsd32_timespecp_t" */ 1254#define NETBSD32_SYS_netbsd32_recvmmsg 475 1255 1256/* syscall: "netbsd32_sendmmsg" ret: "int" args: "int" "netbsd32_mmsghdrp_t" "unsigned int" "unsigned int" */ 1257#define NETBSD32_SYS_netbsd32_sendmmsg 476 1258 1259/* syscall: "netbsd32_clock_nanosleep" ret: "int" args: "netbsd32_clockid_t" "int" "const netbsd32_timespecp_t" "netbsd32_timespecp_t" */ 1260#define NETBSD32_SYS_netbsd32_clock_nanosleep 477 1261 1262/* syscall: "netbsd32____lwp_park60" ret: "int" args: "netbsd32_clockid_t" "int" "netbsd32_timespecp_t" "lwpid_t" "netbsd32_voidp" "netbsd32_voidp" */ 1263#define NETBSD32_SYS_netbsd32____lwp_park60 478 1264 1265/* syscall: "netbsd32_posix_fallocate" ret: "int" args: "int" "int" "netbsd32_off_t" "netbsd32_off_t" */ 1266#define NETBSD32_SYS_netbsd32_posix_fallocate 479 1267 1268/* syscall: "netbsd32_fdiscard" ret: "int" args: "int" "int" "netbsd32_off_t" "netbsd32_off_t" */ 1269#define NETBSD32_SYS_netbsd32_fdiscard 480 1270 1271/* syscall: "netbsd32_wait6" ret: "int" args: "idtype_t" "id_t" "netbsd32_intp" "int" "netbsd32_wrusagep_t" "netbsd32_siginfop_t" */ 1272#define NETBSD32_SYS_netbsd32_wait6 481 1273 1274/* syscall: "netbsd32_clock_getcpuclockid2" ret: "int" args: "idtype_t" "id_t" "netbsd32_clockidp_t" */ 1275#define NETBSD32_SYS_netbsd32_clock_getcpuclockid2 482 1276 1277/* syscall: "netbsd32___getvfsstat90" ret: "int" args: "netbsd32_statvfsp_t" "netbsd32_size_t" "int" */ 1278#define NETBSD32_SYS_netbsd32___getvfsstat90 483 1279 1280/* syscall: "netbsd32___statvfs190" ret: "int" args: "netbsd32_charp" "netbsd32_statvfsp_t" "int" */ 1281#define NETBSD32_SYS_netbsd32___statvfs190 484 1282 1283/* syscall: "netbsd32___fstatvfs190" ret: "int" args: "int" "netbsd32_statvfsp_t" "int" */ 1284#define NETBSD32_SYS_netbsd32___fstatvfs190 485 1285 1286/* syscall: "netbsd32___fhstatvfs190" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "netbsd32_statvfsp_t" "int" */ 1287#define NETBSD32_SYS_netbsd32___fhstatvfs190 486 1288 1289#define NETBSD32_SYS_MAXSYSCALL 487 1290#define NETBSD32_SYS_NSYSENT 512 1291#endif /* _NETBSD32_SYS_SYSCALL_H_ */ 1292