Home | History | Annotate | Line # | Download | only in netbsd32
netbsd32_syscall.h revision 1.67
      1 /* $NetBSD: netbsd32_syscall.h,v 1.67 2007/08/07 19:01:23 ad 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.60 2007/08/07 19:00:42 ad Exp
      8  */
      9 
     10 #ifndef _netbsd32_SYS_SYSCALL_H_
     11 #define	_netbsd32_SYS_SYSCALL_H_
     12 
     13 /* syscall: "syscall" ret: "int" args: "int" "..." */
     14 #define	netbsd32_SYS_syscall	0
     15 
     16 /* syscall: "netbsd32_exit" ret: "void" args: "int" */
     17 #define	netbsd32_SYS_netbsd32_exit	1
     18 
     19 /* syscall: "fork" ret: "int" args: */
     20 #define	netbsd32_SYS_fork	2
     21 
     22 /* syscall: "netbsd32_read" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" */
     23 #define	netbsd32_SYS_netbsd32_read	3
     24 
     25 /* syscall: "netbsd32_write" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_voidp" "netbsd32_size_t" */
     26 #define	netbsd32_SYS_netbsd32_write	4
     27 
     28 /* syscall: "netbsd32_open" ret: "int" args: "const netbsd32_charp" "int" "..." */
     29 #define	netbsd32_SYS_netbsd32_open	5
     30 
     31 /* syscall: "netbsd32_close" ret: "int" args: "int" */
     32 #define	netbsd32_SYS_netbsd32_close	6
     33 
     34 /* syscall: "netbsd32_wait4" ret: "int" args: "int" "netbsd32_intp" "int" "netbsd32_rusagep_t" */
     35 #define	netbsd32_SYS_netbsd32_wait4	7
     36 
     37 /* syscall: "compat_43_netbsd32_ocreat" ret: "int" args: "const netbsd32_charp" "mode_t" */
     38 #define	netbsd32_SYS_compat_43_netbsd32_ocreat	8
     39 
     40 /* syscall: "netbsd32_link" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" */
     41 #define	netbsd32_SYS_netbsd32_link	9
     42 
     43 /* syscall: "netbsd32_unlink" ret: "int" args: "const netbsd32_charp" */
     44 #define	netbsd32_SYS_netbsd32_unlink	10
     45 
     46 				/* 11 is obsolete execv */
     47 /* syscall: "netbsd32_chdir" ret: "int" args: "const netbsd32_charp" */
     48 #define	netbsd32_SYS_netbsd32_chdir	12
     49 
     50 /* syscall: "netbsd32_fchdir" ret: "int" args: "int" */
     51 #define	netbsd32_SYS_netbsd32_fchdir	13
     52 
     53 /* syscall: "netbsd32_mknod" ret: "int" args: "const netbsd32_charp" "mode_t" "dev_t" */
     54 #define	netbsd32_SYS_netbsd32_mknod	14
     55 
     56 /* syscall: "netbsd32_chmod" ret: "int" args: "const netbsd32_charp" "mode_t" */
     57 #define	netbsd32_SYS_netbsd32_chmod	15
     58 
     59 /* syscall: "netbsd32_chown" ret: "int" args: "const netbsd32_charp" "uid_t" "gid_t" */
     60 #define	netbsd32_SYS_netbsd32_chown	16
     61 
     62 /* syscall: "netbsd32_break" ret: "int" args: "netbsd32_charp" */
     63 #define	netbsd32_SYS_netbsd32_break	17
     64 
     65 /* syscall: "compat_20_netbsd32_getfsstat" ret: "int" args: "netbsd32_statfsp_t" "netbsd32_long" "int" */
     66 #define	netbsd32_SYS_compat_20_netbsd32_getfsstat	18
     67 
     68 /* syscall: "compat_43_netbsd32_olseek" ret: "netbsd32_long" args: "int" "netbsd32_long" "int" */
     69 #define	netbsd32_SYS_compat_43_netbsd32_olseek	19
     70 
     71 /* syscall: "getpid" ret: "pid_t" args: */
     72 #define	netbsd32_SYS_getpid	20
     73 
     74 /* syscall: "netbsd32_mount" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" "int" "netbsd32_voidp" */
     75 #define	netbsd32_SYS_netbsd32_mount	21
     76 
     77 /* syscall: "netbsd32_unmount" ret: "int" args: "const netbsd32_charp" "int" */
     78 #define	netbsd32_SYS_netbsd32_unmount	22
     79 
     80 /* syscall: "netbsd32_setuid" ret: "int" args: "uid_t" */
     81 #define	netbsd32_SYS_netbsd32_setuid	23
     82 
     83 /* syscall: "getuid" ret: "uid_t" args: */
     84 #define	netbsd32_SYS_getuid	24
     85 
     86 /* syscall: "geteuid" ret: "uid_t" args: */
     87 #define	netbsd32_SYS_geteuid	25
     88 
     89 /* syscall: "netbsd32_ptrace" ret: "int" args: "int" "pid_t" "netbsd32_caddr_t" "int" */
     90 #define	netbsd32_SYS_netbsd32_ptrace	26
     91 
     92 /* syscall: "netbsd32_recvmsg" ret: "netbsd32_ssize_t" args: "int" "netbsd32_msghdrp_t" "int" */
     93 #define	netbsd32_SYS_netbsd32_recvmsg	27
     94 
     95 /* syscall: "netbsd32_sendmsg" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_msghdrp_t" "int" */
     96 #define	netbsd32_SYS_netbsd32_sendmsg	28
     97 
     98 /* syscall: "netbsd32_recvfrom" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" "int" "netbsd32_sockaddrp_t" "netbsd32_intp" */
     99 #define	netbsd32_SYS_netbsd32_recvfrom	29
    100 
    101 /* syscall: "netbsd32_accept" ret: "int" args: "int" "netbsd32_sockaddrp_t" "netbsd32_intp" */
    102 #define	netbsd32_SYS_netbsd32_accept	30
    103 
    104 /* syscall: "netbsd32_getpeername" ret: "int" args: "int" "netbsd32_sockaddrp_t" "netbsd32_intp" */
    105 #define	netbsd32_SYS_netbsd32_getpeername	31
    106 
    107 /* syscall: "netbsd32_getsockname" ret: "int" args: "int" "netbsd32_sockaddrp_t" "netbsd32_intp" */
    108 #define	netbsd32_SYS_netbsd32_getsockname	32
    109 
    110 /* syscall: "netbsd32_access" ret: "int" args: "const netbsd32_charp" "int" */
    111 #define	netbsd32_SYS_netbsd32_access	33
    112 
    113 /* syscall: "netbsd32_chflags" ret: "int" args: "const netbsd32_charp" "netbsd32_u_long" */
    114 #define	netbsd32_SYS_netbsd32_chflags	34
    115 
    116 /* syscall: "netbsd32_fchflags" ret: "int" args: "int" "netbsd32_u_long" */
    117 #define	netbsd32_SYS_netbsd32_fchflags	35
    118 
    119 /* syscall: "sync" ret: "void" args: */
    120 #define	netbsd32_SYS_sync	36
    121 
    122 /* syscall: "netbsd32_kill" ret: "int" args: "int" "int" */
    123 #define	netbsd32_SYS_netbsd32_kill	37
    124 
    125 /* syscall: "compat_43_netbsd32_stat43" ret: "int" args: "const netbsd32_charp" "netbsd32_stat43p_t" */
    126 #define	netbsd32_SYS_compat_43_netbsd32_stat43	38
    127 
    128 /* syscall: "getppid" ret: "pid_t" args: */
    129 #define	netbsd32_SYS_getppid	39
    130 
    131 /* syscall: "compat_43_netbsd32_lstat43" ret: "int" args: "const netbsd32_charp" "netbsd32_stat43p_t" */
    132 #define	netbsd32_SYS_compat_43_netbsd32_lstat43	40
    133 
    134 /* syscall: "netbsd32_dup" ret: "int" args: "int" */
    135 #define	netbsd32_SYS_netbsd32_dup	41
    136 
    137 /* syscall: "pipe" ret: "int" args: */
    138 #define	netbsd32_SYS_pipe	42
    139 
    140 /* syscall: "getegid" ret: "gid_t" args: */
    141 #define	netbsd32_SYS_getegid	43
    142 
    143 /* syscall: "netbsd32_profil" ret: "int" args: "netbsd32_caddr_t" "netbsd32_size_t" "netbsd32_u_long" "u_int" */
    144 #define	netbsd32_SYS_netbsd32_profil	44
    145 
    146 #if defined(KTRACE) || !defined(_KERNEL)
    147 /* syscall: "netbsd32_ktrace" ret: "int" args: "const netbsd32_charp" "int" "int" "int" */
    148 #define	netbsd32_SYS_netbsd32_ktrace	45
    149 
    150 #else
    151 				/* 45 is excluded netbsd32_ktrace */
    152 #endif
    153 /* syscall: "netbsd32_sigaction" ret: "int" args: "int" "const netbsd32_sigactionp_t" "netbsd32_sigactionp_t" */
    154 #define	netbsd32_SYS_netbsd32_sigaction	46
    155 
    156 /* syscall: "getgid" ret: "gid_t" args: */
    157 #define	netbsd32_SYS_getgid	47
    158 
    159 /* syscall: "compat_13_sigprocmask13" ret: "int" args: "int" "int" */
    160 #define	netbsd32_SYS_compat_13_sigprocmask13	48
    161 
    162 /* syscall: "netbsd32___getlogin" ret: "int" args: "netbsd32_charp" "u_int" */
    163 #define	netbsd32_SYS_netbsd32___getlogin	49
    164 
    165 /* syscall: "netbsd32_setlogin" ret: "int" args: "const netbsd32_charp" */
    166 #define	netbsd32_SYS_netbsd32_setlogin	50
    167 
    168 /* syscall: "netbsd32_acct" ret: "int" args: "const netbsd32_charp" */
    169 #define	netbsd32_SYS_netbsd32_acct	51
    170 
    171 /* syscall: "compat_13_sigpending13" ret: "int" args: */
    172 #define	netbsd32_SYS_compat_13_sigpending13	52
    173 
    174 /* syscall: "compat_13_netbsd32_sigaltstack13" ret: "int" args: "const netbsd32_sigaltstack13p_t" "netbsd32_sigaltstack13p_t" */
    175 #define	netbsd32_SYS_compat_13_netbsd32_sigaltstack13	53
    176 
    177 /* syscall: "netbsd32_ioctl" ret: "int" args: "int" "netbsd32_u_long" "..." */
    178 #define	netbsd32_SYS_netbsd32_ioctl	54
    179 
    180 /* syscall: "compat_12_netbsd32_reboot" ret: "int" args: "int" */
    181 #define	netbsd32_SYS_compat_12_netbsd32_reboot	55
    182 
    183 /* syscall: "netbsd32_revoke" ret: "int" args: "const netbsd32_charp" */
    184 #define	netbsd32_SYS_netbsd32_revoke	56
    185 
    186 /* syscall: "netbsd32_symlink" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" */
    187 #define	netbsd32_SYS_netbsd32_symlink	57
    188 
    189 /* syscall: "netbsd32_readlink" ret: "int" args: "const netbsd32_charp" "netbsd32_charp" "netbsd32_size_t" */
    190 #define	netbsd32_SYS_netbsd32_readlink	58
    191 
    192 /* syscall: "netbsd32_execve" ret: "int" args: "const netbsd32_charp" "netbsd32_charpp" "netbsd32_charpp" */
    193 #define	netbsd32_SYS_netbsd32_execve	59
    194 
    195 /* syscall: "netbsd32_umask" ret: "mode_t" args: "mode_t" */
    196 #define	netbsd32_SYS_netbsd32_umask	60
    197 
    198 /* syscall: "netbsd32_chroot" ret: "int" args: "const netbsd32_charp" */
    199 #define	netbsd32_SYS_netbsd32_chroot	61
    200 
    201 /* syscall: "compat_43_netbsd32_fstat43" ret: "int" args: "int" "netbsd32_stat43p_t" */
    202 #define	netbsd32_SYS_compat_43_netbsd32_fstat43	62
    203 
    204 /* syscall: "compat_43_netbsd32_ogetkerninfo" ret: "int" args: "int" "netbsd32_charp" "netbsd32_intp" "int" */
    205 #define	netbsd32_SYS_compat_43_netbsd32_ogetkerninfo	63
    206 
    207 /* syscall: "compat_43_ogetpagesize" ret: "int" args: */
    208 #define	netbsd32_SYS_compat_43_ogetpagesize	64
    209 
    210 /* syscall: "compat_12_netbsd32_msync" ret: "int" args: "netbsd32_caddr_t" "netbsd32_size_t" */
    211 #define	netbsd32_SYS_compat_12_netbsd32_msync	65
    212 
    213 /* syscall: "vfork" ret: "int" args: */
    214 #define	netbsd32_SYS_vfork	66
    215 
    216 				/* 67 is obsolete vread */
    217 				/* 68 is obsolete vwrite */
    218 /* syscall: "netbsd32_sbrk" ret: "int" args: "netbsd32_intptr_t" */
    219 #define	netbsd32_SYS_netbsd32_sbrk	69
    220 
    221 /* syscall: "netbsd32_sstk" ret: "int" args: "int" */
    222 #define	netbsd32_SYS_netbsd32_sstk	70
    223 
    224 /* syscall: "compat_43_netbsd32_ommap" ret: "int" args: "netbsd32_caddr_t" "netbsd32_size_t" "int" "int" "int" "netbsd32_long" */
    225 #define	netbsd32_SYS_compat_43_netbsd32_ommap	71
    226 
    227 /* syscall: "vadvise" ret: "int" args: "int" */
    228 #define	netbsd32_SYS_vadvise	72
    229 
    230 /* syscall: "netbsd32_munmap" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" */
    231 #define	netbsd32_SYS_netbsd32_munmap	73
    232 
    233 /* syscall: "netbsd32_mprotect" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */
    234 #define	netbsd32_SYS_netbsd32_mprotect	74
    235 
    236 /* syscall: "netbsd32_madvise" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */
    237 #define	netbsd32_SYS_netbsd32_madvise	75
    238 
    239 				/* 76 is obsolete vhangup */
    240 				/* 77 is obsolete vlimit */
    241 /* syscall: "netbsd32_mincore" ret: "int" args: "netbsd32_caddr_t" "netbsd32_size_t" "netbsd32_charp" */
    242 #define	netbsd32_SYS_netbsd32_mincore	78
    243 
    244 /* syscall: "netbsd32_getgroups" ret: "int" args: "int" "netbsd32_gid_tp" */
    245 #define	netbsd32_SYS_netbsd32_getgroups	79
    246 
    247 /* syscall: "netbsd32_setgroups" ret: "int" args: "int" "const netbsd32_gid_tp" */
    248 #define	netbsd32_SYS_netbsd32_setgroups	80
    249 
    250 /* syscall: "getpgrp" ret: "int" args: */
    251 #define	netbsd32_SYS_getpgrp	81
    252 
    253 /* syscall: "netbsd32_setpgid" ret: "int" args: "int" "int" */
    254 #define	netbsd32_SYS_netbsd32_setpgid	82
    255 
    256 /* syscall: "netbsd32_setitimer" ret: "int" args: "int" "const netbsd32_itimervalp_t" "netbsd32_itimervalp_t" */
    257 #define	netbsd32_SYS_netbsd32_setitimer	83
    258 
    259 /* syscall: "compat_43_owait" ret: "int" args: */
    260 #define	netbsd32_SYS_compat_43_owait	84
    261 
    262 /* syscall: "compat_12_netbsd32_oswapon" ret: "int" args: "const netbsd32_charp" */
    263 #define	netbsd32_SYS_compat_12_netbsd32_oswapon	85
    264 
    265 /* syscall: "netbsd32_getitimer" ret: "int" args: "int" "netbsd32_itimervalp_t" */
    266 #define	netbsd32_SYS_netbsd32_getitimer	86
    267 
    268 /* syscall: "compat_43_netbsd32_ogethostname" ret: "int" args: "netbsd32_charp" "u_int" */
    269 #define	netbsd32_SYS_compat_43_netbsd32_ogethostname	87
    270 
    271 /* syscall: "compat_43_netbsd32_osethostname" ret: "int" args: "netbsd32_charp" "u_int" */
    272 #define	netbsd32_SYS_compat_43_netbsd32_osethostname	88
    273 
    274 /* syscall: "compat_43_ogetdtablesize" ret: "int" args: */
    275 #define	netbsd32_SYS_compat_43_ogetdtablesize	89
    276 
    277 /* syscall: "netbsd32_dup2" ret: "int" args: "int" "int" */
    278 #define	netbsd32_SYS_netbsd32_dup2	90
    279 
    280 /* syscall: "netbsd32_fcntl" ret: "int" args: "int" "int" "..." */
    281 #define	netbsd32_SYS_netbsd32_fcntl	92
    282 
    283 /* syscall: "netbsd32_select" ret: "int" args: "int" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "netbsd32_timevalp_t" */
    284 #define	netbsd32_SYS_netbsd32_select	93
    285 
    286 /* syscall: "netbsd32_fsync" ret: "int" args: "int" */
    287 #define	netbsd32_SYS_netbsd32_fsync	95
    288 
    289 /* syscall: "netbsd32_setpriority" ret: "int" args: "int" "int" "int" */
    290 #define	netbsd32_SYS_netbsd32_setpriority	96
    291 
    292 /* syscall: "compat_30_netbsd32_socket" ret: "int" args: "int" "int" "int" */
    293 #define	netbsd32_SYS_compat_30_netbsd32_socket	97
    294 
    295 /* syscall: "netbsd32_connect" ret: "int" args: "int" "const netbsd32_sockaddrp_t" "int" */
    296 #define	netbsd32_SYS_netbsd32_connect	98
    297 
    298 /* syscall: "compat_43_netbsd32_oaccept" ret: "int" args: "int" "netbsd32_caddr_t" "netbsd32_intp" */
    299 #define	netbsd32_SYS_compat_43_netbsd32_oaccept	99
    300 
    301 /* syscall: "netbsd32_getpriority" ret: "int" args: "int" "int" */
    302 #define	netbsd32_SYS_netbsd32_getpriority	100
    303 
    304 /* syscall: "compat_43_netbsd32_osend" ret: "int" args: "int" "netbsd32_caddr_t" "int" "int" */
    305 #define	netbsd32_SYS_compat_43_netbsd32_osend	101
    306 
    307 /* syscall: "compat_43_netbsd32_orecv" ret: "int" args: "int" "netbsd32_caddr_t" "int" "int" */
    308 #define	netbsd32_SYS_compat_43_netbsd32_orecv	102
    309 
    310 /* syscall: "compat_13_sigreturn13" ret: "int" args: "netbsd32_sigcontextp_t" */
    311 #define	netbsd32_SYS_compat_13_sigreturn13	103
    312 
    313 /* syscall: "netbsd32_bind" ret: "int" args: "int" "const netbsd32_sockaddrp_t" "int" */
    314 #define	netbsd32_SYS_netbsd32_bind	104
    315 
    316 /* syscall: "netbsd32_setsockopt" ret: "int" args: "int" "int" "int" "const netbsd32_voidp" "int" */
    317 #define	netbsd32_SYS_netbsd32_setsockopt	105
    318 
    319 /* syscall: "netbsd32_listen" ret: "int" args: "int" "int" */
    320 #define	netbsd32_SYS_netbsd32_listen	106
    321 
    322 				/* 107 is obsolete vtimes */
    323 /* syscall: "compat_43_netbsd32_osigvec" ret: "int" args: "int" "netbsd32_sigvecp_t" "netbsd32_sigvecp_t" */
    324 #define	netbsd32_SYS_compat_43_netbsd32_osigvec	108
    325 
    326 /* syscall: "compat_43_netbsd32_sigblock" ret: "int" args: "int" */
    327 #define	netbsd32_SYS_compat_43_netbsd32_sigblock	109
    328 
    329 /* syscall: "compat_43_netbsd32_sigsetmask" ret: "int" args: "int" */
    330 #define	netbsd32_SYS_compat_43_netbsd32_sigsetmask	110
    331 
    332 /* syscall: "compat_13_sigsuspend13" ret: "int" args: "int" */
    333 #define	netbsd32_SYS_compat_13_sigsuspend13	111
    334 
    335 /* syscall: "compat_43_netbsd32_osigstack" ret: "int" args: "netbsd32_sigstackp_t" "netbsd32_sigstackp_t" */
    336 #define	netbsd32_SYS_compat_43_netbsd32_osigstack	112
    337 
    338 /* syscall: "compat_43_netbsd32_orecvmsg" ret: "int" args: "int" "netbsd32_omsghdrp_t" "int" */
    339 #define	netbsd32_SYS_compat_43_netbsd32_orecvmsg	113
    340 
    341 /* syscall: "compat_43_netbsd32_osendmsg" ret: "int" args: "int" "netbsd32_caddr_t" "int" */
    342 #define	netbsd32_SYS_compat_43_netbsd32_osendmsg	114
    343 
    344 				/* 115 is obsolete vtrace */
    345 /* syscall: "netbsd32_gettimeofday" ret: "int" args: "netbsd32_timevalp_t" "netbsd32_timezonep_t" */
    346 #define	netbsd32_SYS_netbsd32_gettimeofday	116
    347 
    348 /* syscall: "netbsd32_getrusage" ret: "int" args: "int" "netbsd32_rusagep_t" */
    349 #define	netbsd32_SYS_netbsd32_getrusage	117
    350 
    351 /* syscall: "netbsd32_getsockopt" ret: "int" args: "int" "int" "int" "netbsd32_voidp" "netbsd32_intp" */
    352 #define	netbsd32_SYS_netbsd32_getsockopt	118
    353 
    354 				/* 119 is obsolete resuba */
    355 /* syscall: "netbsd32_readv" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_iovecp_t" "int" */
    356 #define	netbsd32_SYS_netbsd32_readv	120
    357 
    358 /* syscall: "netbsd32_writev" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_iovecp_t" "int" */
    359 #define	netbsd32_SYS_netbsd32_writev	121
    360 
    361 /* syscall: "netbsd32_settimeofday" ret: "int" args: "const netbsd32_timevalp_t" "const netbsd32_timezonep_t" */
    362 #define	netbsd32_SYS_netbsd32_settimeofday	122
    363 
    364 /* syscall: "netbsd32_fchown" ret: "int" args: "int" "uid_t" "gid_t" */
    365 #define	netbsd32_SYS_netbsd32_fchown	123
    366 
    367 /* syscall: "netbsd32_fchmod" ret: "int" args: "int" "mode_t" */
    368 #define	netbsd32_SYS_netbsd32_fchmod	124
    369 
    370 /* syscall: "compat_43_netbsd32_orecvfrom" ret: "int" args: "int" "netbsd32_caddr_t" "netbsd32_size_t" "int" "netbsd32_caddr_t" "netbsd32_intp" */
    371 #define	netbsd32_SYS_compat_43_netbsd32_orecvfrom	125
    372 
    373 /* syscall: "netbsd32_setreuid" ret: "int" args: "uid_t" "uid_t" */
    374 #define	netbsd32_SYS_netbsd32_setreuid	126
    375 
    376 /* syscall: "netbsd32_setregid" ret: "int" args: "gid_t" "gid_t" */
    377 #define	netbsd32_SYS_netbsd32_setregid	127
    378 
    379 /* syscall: "netbsd32_rename" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" */
    380 #define	netbsd32_SYS_netbsd32_rename	128
    381 
    382 /* syscall: "compat_43_netbsd32_otruncate" ret: "int" args: "const netbsd32_charp" "netbsd32_long" */
    383 #define	netbsd32_SYS_compat_43_netbsd32_otruncate	129
    384 
    385 /* syscall: "compat_43_netbsd32_oftruncate" ret: "int" args: "int" "netbsd32_long" */
    386 #define	netbsd32_SYS_compat_43_netbsd32_oftruncate	130
    387 
    388 /* syscall: "netbsd32_flock" ret: "int" args: "int" "int" */
    389 #define	netbsd32_SYS_netbsd32_flock	131
    390 
    391 /* syscall: "netbsd32_mkfifo" ret: "int" args: "const netbsd32_charp" "mode_t" */
    392 #define	netbsd32_SYS_netbsd32_mkfifo	132
    393 
    394 /* syscall: "netbsd32_sendto" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_voidp" "netbsd32_size_t" "int" "const netbsd32_sockaddrp_t" "int" */
    395 #define	netbsd32_SYS_netbsd32_sendto	133
    396 
    397 /* syscall: "netbsd32_shutdown" ret: "int" args: "int" "int" */
    398 #define	netbsd32_SYS_netbsd32_shutdown	134
    399 
    400 /* syscall: "netbsd32_socketpair" ret: "int" args: "int" "int" "int" "netbsd32_intp" */
    401 #define	netbsd32_SYS_netbsd32_socketpair	135
    402 
    403 /* syscall: "netbsd32_mkdir" ret: "int" args: "const netbsd32_charp" "mode_t" */
    404 #define	netbsd32_SYS_netbsd32_mkdir	136
    405 
    406 /* syscall: "netbsd32_rmdir" ret: "int" args: "const netbsd32_charp" */
    407 #define	netbsd32_SYS_netbsd32_rmdir	137
    408 
    409 /* syscall: "netbsd32_utimes" ret: "int" args: "const netbsd32_charp" "const netbsd32_timevalp_t" */
    410 #define	netbsd32_SYS_netbsd32_utimes	138
    411 
    412 				/* 139 is obsolete 4.2 sigreturn */
    413 /* syscall: "netbsd32_adjtime" ret: "int" args: "const netbsd32_timevalp_t" "netbsd32_timevalp_t" */
    414 #define	netbsd32_SYS_netbsd32_adjtime	140
    415 
    416 /* syscall: "compat_43_netbsd32_ogetpeername" ret: "int" args: "int" "netbsd32_caddr_t" "netbsd32_intp" */
    417 #define	netbsd32_SYS_compat_43_netbsd32_ogetpeername	141
    418 
    419 /* syscall: "compat_43_ogethostid" ret: "int32_t" args: */
    420 #define	netbsd32_SYS_compat_43_ogethostid	142
    421 
    422 /* syscall: "compat_43_netbsd32_sethostid" ret: "int" args: "int32_t" */
    423 #define	netbsd32_SYS_compat_43_netbsd32_sethostid	143
    424 
    425 /* syscall: "compat_43_netbsd32_ogetrlimit" ret: "int" args: "int" "netbsd32_orlimitp_t" */
    426 #define	netbsd32_SYS_compat_43_netbsd32_ogetrlimit	144
    427 
    428 /* syscall: "compat_43_netbsd32_osetrlimit" ret: "int" args: "int" "const netbsd32_orlimitp_t" */
    429 #define	netbsd32_SYS_compat_43_netbsd32_osetrlimit	145
    430 
    431 /* syscall: "compat_43_netbsd32_killpg" ret: "int" args: "int" "int" */
    432 #define	netbsd32_SYS_compat_43_netbsd32_killpg	146
    433 
    434 /* syscall: "setsid" ret: "int" args: */
    435 #define	netbsd32_SYS_setsid	147
    436 
    437 /* syscall: "netbsd32_quotactl" ret: "int" args: "const netbsd32_charp" "int" "int" "netbsd32_caddr_t" */
    438 #define	netbsd32_SYS_netbsd32_quotactl	148
    439 
    440 /* syscall: "compat_43_oquota" ret: "int" args: */
    441 #define	netbsd32_SYS_compat_43_oquota	149
    442 
    443 /* syscall: "compat_43_netbsd32_ogetsockname" ret: "int" args: "int" "netbsd32_caddr_t" "netbsd32_intp" */
    444 #define	netbsd32_SYS_compat_43_netbsd32_ogetsockname	150
    445 
    446 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
    447 /* syscall: "netbsd32_nfssvc" ret: "int" args: "int" "netbsd32_voidp" */
    448 #define	netbsd32_SYS_netbsd32_nfssvc	155
    449 
    450 #else
    451 				/* 155 is excluded netbsd32_nfssvc */
    452 #endif
    453 /* syscall: "compat_43_netbsd32_ogetdirentries" ret: "int" args: "int" "netbsd32_charp" "u_int" "netbsd32_longp" */
    454 #define	netbsd32_SYS_compat_43_netbsd32_ogetdirentries	156
    455 
    456 /* syscall: "compat_20_netbsd32_statfs" ret: "int" args: "const netbsd32_charp" "netbsd32_statfsp_t" */
    457 #define	netbsd32_SYS_compat_20_netbsd32_statfs	157
    458 
    459 /* syscall: "compat_20_netbsd32_fstatfs" ret: "int" args: "int" "netbsd32_statfsp_t" */
    460 #define	netbsd32_SYS_compat_20_netbsd32_fstatfs	158
    461 
    462 /* syscall: "compat_30_netbsd32_getfh" ret: "int" args: "const netbsd32_charp" "netbsd32_compat_30_fhandlep_t" */
    463 #define	netbsd32_SYS_compat_30_netbsd32_getfh	161
    464 
    465 /* syscall: "compat_09_netbsd32_ogetdomainname" ret: "int" args: "netbsd32_charp" "int" */
    466 #define	netbsd32_SYS_compat_09_netbsd32_ogetdomainname	162
    467 
    468 /* syscall: "compat_09_netbsd32_osetdomainname" ret: "int" args: "netbsd32_charp" "int" */
    469 #define	netbsd32_SYS_compat_09_netbsd32_osetdomainname	163
    470 
    471 /* syscall: "compat_09_netbsd32_uname" ret: "int" args: "netbsd32_outsnamep_t" */
    472 #define	netbsd32_SYS_compat_09_netbsd32_uname	164
    473 
    474 /* syscall: "netbsd32_sysarch" ret: "int" args: "int" "netbsd32_voidp" */
    475 #define	netbsd32_SYS_netbsd32_sysarch	165
    476 
    477 #if defined(SYSVSEM) || !defined(_KERNEL)
    478 /* syscall: "compat_10_osemsys" ret: "int" args: "int" "int" "int" "int" "int" */
    479 #define	netbsd32_SYS_compat_10_osemsys	169
    480 
    481 #else
    482 				/* 169 is excluded netbsd32_sys_semsys */
    483 #endif
    484 #if defined(SYSVMSG) || !defined(_KERNEL)
    485 /* syscall: "compat_10_omsgsys" ret: "int" args: "int" "int" "int" "int" "int" "int" */
    486 #define	netbsd32_SYS_compat_10_omsgsys	170
    487 
    488 #else
    489 				/* 170 is excluded netbsd32_sys_msgsys */
    490 #endif
    491 #if defined(SYSVSHM) || !defined(_KERNEL)
    492 /* syscall: "compat_10_oshmsys" ret: "int" args: "int" "int" "int" "int" */
    493 #define	netbsd32_SYS_compat_10_oshmsys	171
    494 
    495 #else
    496 				/* 171 is excluded netbsd32_sys_shmsys */
    497 #endif
    498 /* syscall: "netbsd32_pread" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" "int" "off_t" */
    499 #define	netbsd32_SYS_netbsd32_pread	173
    500 
    501 /* syscall: "netbsd32_pwrite" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_voidp" "netbsd32_size_t" "int" "off_t" */
    502 #define	netbsd32_SYS_netbsd32_pwrite	174
    503 
    504 /* syscall: "compat_30_netbsd32_ntp_gettime" ret: "int" args: "netbsd32_ntptimevalp_t" */
    505 #define	netbsd32_SYS_compat_30_netbsd32_ntp_gettime	175
    506 
    507 /* syscall: "netbsd32_ntp_adjtime" ret: "int" args: "netbsd32_timexp_t" */
    508 #define	netbsd32_SYS_netbsd32_ntp_adjtime	176
    509 
    510 /* syscall: "netbsd32_setgid" ret: "int" args: "gid_t" */
    511 #define	netbsd32_SYS_netbsd32_setgid	181
    512 
    513 /* syscall: "netbsd32_setegid" ret: "int" args: "gid_t" */
    514 #define	netbsd32_SYS_netbsd32_setegid	182
    515 
    516 /* syscall: "netbsd32_seteuid" ret: "int" args: "uid_t" */
    517 #define	netbsd32_SYS_netbsd32_seteuid	183
    518 
    519 #if defined(LFS) || !defined(_KERNEL)
    520 /* syscall: "lfs_bmapv" ret: "int" args: "netbsd32_fsid_tp_t" "netbsd32_block_infop_t" "int" */
    521 #define	netbsd32_SYS_lfs_bmapv	184
    522 
    523 /* syscall: "lfs_markv" ret: "int" args: "netbsd32_fsid_tp_t" "netbsd32_block_infop_t" "int" */
    524 #define	netbsd32_SYS_lfs_markv	185
    525 
    526 /* syscall: "lfs_segclean" ret: "int" args: "netbsd32_fsid_tp_t" "netbsd32_u_long" */
    527 #define	netbsd32_SYS_lfs_segclean	186
    528 
    529 /* syscall: "lfs_segwait" ret: "int" args: "netbsd32_fsid_tp_t" "netbsd32_timevalp_t" */
    530 #define	netbsd32_SYS_lfs_segwait	187
    531 
    532 #else
    533 				/* 184 is excluded netbsd32_sys_lfs_bmapv */
    534 				/* 185 is excluded netbsd32_sys_lfs_markv */
    535 				/* 186 is excluded netbsd32_sys_lfs_segclean */
    536 				/* 187 is excluded netbsd32_sys_lfs_segwait */
    537 #endif
    538 /* syscall: "compat_12_netbsd32_stat12" ret: "int" args: "const netbsd32_charp" "netbsd32_stat12p_t" */
    539 #define	netbsd32_SYS_compat_12_netbsd32_stat12	188
    540 
    541 /* syscall: "compat_12_netbsd32_fstat12" ret: "int" args: "int" "netbsd32_stat12p_t" */
    542 #define	netbsd32_SYS_compat_12_netbsd32_fstat12	189
    543 
    544 /* syscall: "compat_12_netbsd32_lstat12" ret: "int" args: "const netbsd32_charp" "netbsd32_stat12p_t" */
    545 #define	netbsd32_SYS_compat_12_netbsd32_lstat12	190
    546 
    547 /* syscall: "netbsd32_pathconf" ret: "netbsd32_long" args: "const netbsd32_charp" "int" */
    548 #define	netbsd32_SYS_netbsd32_pathconf	191
    549 
    550 /* syscall: "netbsd32_fpathconf" ret: "netbsd32_long" args: "int" "int" */
    551 #define	netbsd32_SYS_netbsd32_fpathconf	192
    552 
    553 /* syscall: "netbsd32_getrlimit" ret: "int" args: "int" "netbsd32_rlimitp_t" */
    554 #define	netbsd32_SYS_netbsd32_getrlimit	194
    555 
    556 /* syscall: "netbsd32_setrlimit" ret: "int" args: "int" "const netbsd32_rlimitp_t" */
    557 #define	netbsd32_SYS_netbsd32_setrlimit	195
    558 
    559 /* syscall: "compat_12_netbsd32_getdirentries" ret: "int" args: "int" "netbsd32_charp" "u_int" "netbsd32_longp" */
    560 #define	netbsd32_SYS_compat_12_netbsd32_getdirentries	196
    561 
    562 /* syscall: "netbsd32_mmap" ret: "netbsd32_voidp" args: "netbsd32_voidp" "netbsd32_size_t" "int" "int" "int" "netbsd32_long" "off_t" */
    563 #define	netbsd32_SYS_netbsd32_mmap	197
    564 
    565 /* syscall: "__syscall" ret: "quad_t" args: "quad_t" "..." */
    566 #define	netbsd32_SYS___syscall	198
    567 
    568 /* syscall: "netbsd32_lseek" ret: "off_t" args: "int" "int" "off_t" "int" */
    569 #define	netbsd32_SYS_netbsd32_lseek	199
    570 
    571 /* syscall: "netbsd32_truncate" ret: "int" args: "const netbsd32_charp" "int" "off_t" */
    572 #define	netbsd32_SYS_netbsd32_truncate	200
    573 
    574 /* syscall: "netbsd32_ftruncate" ret: "int" args: "int" "int" "off_t" */
    575 #define	netbsd32_SYS_netbsd32_ftruncate	201
    576 
    577 /* syscall: "netbsd32___sysctl" ret: "int" args: "netbsd32_intp" "u_int" "netbsd32_voidp" "netbsd32_size_tp" "netbsd32_voidp" "netbsd32_size_t" */
    578 #define	netbsd32_SYS_netbsd32___sysctl	202
    579 
    580 /* syscall: "netbsd32_mlock" ret: "int" args: "const netbsd32_voidp" "netbsd32_size_t" */
    581 #define	netbsd32_SYS_netbsd32_mlock	203
    582 
    583 /* syscall: "netbsd32_munlock" ret: "int" args: "const netbsd32_voidp" "netbsd32_size_t" */
    584 #define	netbsd32_SYS_netbsd32_munlock	204
    585 
    586 /* syscall: "netbsd32_undelete" ret: "int" args: "const netbsd32_charp" */
    587 #define	netbsd32_SYS_netbsd32_undelete	205
    588 
    589 /* syscall: "netbsd32_futimes" ret: "int" args: "int" "const netbsd32_timevalp_t" */
    590 #define	netbsd32_SYS_netbsd32_futimes	206
    591 
    592 /* syscall: "netbsd32_getpgid" ret: "int" args: "pid_t" */
    593 #define	netbsd32_SYS_netbsd32_getpgid	207
    594 
    595 /* syscall: "netbsd32_reboot" ret: "int" args: "int" "netbsd32_charp" */
    596 #define	netbsd32_SYS_netbsd32_reboot	208
    597 
    598 /* syscall: "netbsd32_poll" ret: "int" args: "netbsd32_pollfdp_t" "u_int" "int" */
    599 #define	netbsd32_SYS_netbsd32_poll	209
    600 
    601 #if defined(LKM) || !defined(_KERNEL)
    602 #else	/* !LKM || !_KERNEL */
    603 				/* 210 is excluded lkmnosys */
    604 				/* 211 is excluded lkmnosys */
    605 				/* 212 is excluded lkmnosys */
    606 				/* 213 is excluded lkmnosys */
    607 				/* 214 is excluded lkmnosys */
    608 				/* 215 is excluded lkmnosys */
    609 				/* 216 is excluded lkmnosys */
    610 				/* 217 is excluded lkmnosys */
    611 				/* 218 is excluded lkmnosys */
    612 				/* 219 is excluded lkmnosys */
    613 #endif	/* !LKM || !_KERNEL */
    614 #if defined(SYSVSEM) || !defined(_KERNEL)
    615 /* syscall: "compat_14_netbsd32___semctl" ret: "int" args: "int" "int" "int" "netbsd32_semunu_t" */
    616 #define	netbsd32_SYS_compat_14_netbsd32___semctl	220
    617 
    618 /* syscall: "netbsd32_semget" ret: "int" args: "netbsd32_key_t" "int" "int" */
    619 #define	netbsd32_SYS_netbsd32_semget	221
    620 
    621 /* syscall: "netbsd32_semop" ret: "int" args: "int" "netbsd32_sembufp_t" "netbsd32_size_t" */
    622 #define	netbsd32_SYS_netbsd32_semop	222
    623 
    624 /* syscall: "netbsd32_semconfig" ret: "int" args: "int" */
    625 #define	netbsd32_SYS_netbsd32_semconfig	223
    626 
    627 #else
    628 				/* 220 is excluded compat_14_netbsd32_semctl */
    629 				/* 221 is excluded netbsd32_semget */
    630 				/* 222 is excluded netbsd32_semop */
    631 				/* 223 is excluded netbsd32_semconfig */
    632 #endif
    633 #if defined(SYSVMSG) || !defined(_KERNEL)
    634 /* syscall: "compat_14_netbsd32_msgctl" ret: "int" args: "int" "int" "netbsd32_msqid_dsp_t" */
    635 #define	netbsd32_SYS_compat_14_netbsd32_msgctl	224
    636 
    637 /* syscall: "netbsd32_msgget" ret: "int" args: "netbsd32_key_t" "int" */
    638 #define	netbsd32_SYS_netbsd32_msgget	225
    639 
    640 /* syscall: "netbsd32_msgsnd" ret: "int" args: "int" "const netbsd32_voidp" "netbsd32_size_t" "int" */
    641 #define	netbsd32_SYS_netbsd32_msgsnd	226
    642 
    643 /* syscall: "netbsd32_msgrcv" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" "netbsd32_long" "int" */
    644 #define	netbsd32_SYS_netbsd32_msgrcv	227
    645 
    646 #else
    647 				/* 224 is excluded compat_14_netbsd32_msgctl */
    648 				/* 225 is excluded netbsd32_msgget */
    649 				/* 226 is excluded netbsd32_msgsnd */
    650 				/* 227 is excluded netbsd32_msgrcv */
    651 #endif
    652 #if defined(SYSVSHM) || !defined(_KERNEL)
    653 /* syscall: "netbsd32_shmat" ret: "netbsd32_voidp" args: "int" "const netbsd32_voidp" "int" */
    654 #define	netbsd32_SYS_netbsd32_shmat	228
    655 
    656 /* syscall: "compat_14_netbsd32_shmctl" ret: "int" args: "int" "int" "netbsd32_shmid_dsp_t" */
    657 #define	netbsd32_SYS_compat_14_netbsd32_shmctl	229
    658 
    659 /* syscall: "netbsd32_shmdt" ret: "int" args: "const netbsd32_voidp" */
    660 #define	netbsd32_SYS_netbsd32_shmdt	230
    661 
    662 /* syscall: "netbsd32_shmget" ret: "int" args: "netbsd32_key_t" "netbsd32_size_t" "int" */
    663 #define	netbsd32_SYS_netbsd32_shmget	231
    664 
    665 #else
    666 				/* 228 is excluded netbsd32_shmat */
    667 				/* 229 is excluded compat_14_netbsd32_shmctl */
    668 				/* 230 is excluded netbsd32_shmdt */
    669 				/* 231 is excluded netbsd32_shmget */
    670 #endif
    671 /* syscall: "netbsd32_clock_gettime" ret: "int" args: "netbsd32_clockid_t" "netbsd32_timespecp_t" */
    672 #define	netbsd32_SYS_netbsd32_clock_gettime	232
    673 
    674 /* syscall: "netbsd32_clock_settime" ret: "int" args: "netbsd32_clockid_t" "const netbsd32_timespecp_t" */
    675 #define	netbsd32_SYS_netbsd32_clock_settime	233
    676 
    677 /* syscall: "netbsd32_clock_getres" ret: "int" args: "netbsd32_clockid_t" "netbsd32_timespecp_t" */
    678 #define	netbsd32_SYS_netbsd32_clock_getres	234
    679 
    680 /* syscall: "netbsd32_timer_create" ret: "int" args: "netbsd32_clockid_t" "netbsd32_sigeventp_t" "netbsd32_timerp_t" */
    681 #define	netbsd32_SYS_netbsd32_timer_create	235
    682 
    683 /* syscall: "netbsd32_timer_delete" ret: "int" args: "netbsd32_timer_t" */
    684 #define	netbsd32_SYS_netbsd32_timer_delete	236
    685 
    686 /* syscall: "netbsd32_timer_settime" ret: "int" args: "netbsd32_timer_t" "int" "const netbsd32_itimerspecp_t" "netbsd32_itimerspecp_t" */
    687 #define	netbsd32_SYS_netbsd32_timer_settime	237
    688 
    689 /* syscall: "netbsd32_timer_gettime" ret: "int" args: "netbsd32_timer_t" "netbsd32_itimerspecp_t" */
    690 #define	netbsd32_SYS_netbsd32_timer_gettime	238
    691 
    692 /* syscall: "netbsd32_timer_getoverrun" ret: "int" args: "netbsd32_timer_t" */
    693 #define	netbsd32_SYS_netbsd32_timer_getoverrun	239
    694 
    695 /* syscall: "netbsd32_nanosleep" ret: "int" args: "const netbsd32_timespecp_t" "netbsd32_timespecp_t" */
    696 #define	netbsd32_SYS_netbsd32_nanosleep	240
    697 
    698 /* syscall: "netbsd32_fdatasync" ret: "int" args: "int" */
    699 #define	netbsd32_SYS_netbsd32_fdatasync	241
    700 
    701 /* syscall: "netbsd32_mlockall" ret: "int" args: "int" */
    702 #define	netbsd32_SYS_netbsd32_mlockall	242
    703 
    704 /* syscall: "munlockall" ret: "int" args: */
    705 #define	netbsd32_SYS_munlockall	243
    706 
    707 /* syscall: "netbsd32___sigtimedwait" ret: "int" args: "const netbsd32_sigsetp_t" "netbsd32_siginfop_t" "netbsd32_timespecp_t" */
    708 #define	netbsd32_SYS_netbsd32___sigtimedwait	244
    709 
    710 #if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL) && defined(_LIBC))
    711 /* syscall: "netbsd32__ksem_init" ret: "int" args: "unsigned int" "netbsd32_semidp_t" */
    712 #define	netbsd32_SYS_netbsd32__ksem_init	247
    713 
    714 /* syscall: "netbsd32__ksem_open" ret: "int" args: "const netbsd32_charp" "int" "mode_t" "unsigned int" "netbsd32_semidp_t" */
    715 #define	netbsd32_SYS_netbsd32__ksem_open	248
    716 
    717 /* syscall: "netbsd32__ksem_unlink" ret: "int" args: "const netbsd32_charp" */
    718 #define	netbsd32_SYS_netbsd32__ksem_unlink	249
    719 
    720 /* syscall: "netbsd32__ksem_close" ret: "int" args: "netbsd32_semid_t" */
    721 #define	netbsd32_SYS_netbsd32__ksem_close	250
    722 
    723 /* syscall: "netbsd32__ksem_post" ret: "int" args: "netbsd32_semid_t" */
    724 #define	netbsd32_SYS_netbsd32__ksem_post	251
    725 
    726 /* syscall: "netbsd32__ksem_wait" ret: "int" args: "netbsd32_semid_t" */
    727 #define	netbsd32_SYS_netbsd32__ksem_wait	252
    728 
    729 /* syscall: "netbsd32__ksem_trywait" ret: "int" args: "netbsd32_semid_t" */
    730 #define	netbsd32_SYS_netbsd32__ksem_trywait	253
    731 
    732 /* syscall: "netbsd32__ksem_getvalue" ret: "int" args: "netbsd32_semid_t" "netbsd32_intp" */
    733 #define	netbsd32_SYS_netbsd32__ksem_getvalue	254
    734 
    735 /* syscall: "netbsd32__ksem_destroy" ret: "int" args: "netbsd32_semid_t" */
    736 #define	netbsd32_SYS_netbsd32__ksem_destroy	255
    737 
    738 #else
    739 				/* 247 is excluded sys__ksem_init */
    740 				/* 248 is excluded sys__ksem_open */
    741 				/* 249 is excluded sys__ksem_unlink */
    742 				/* 250 is excluded sys__ksem_close */
    743 				/* 251 is excluded sys__ksem_post */
    744 				/* 252 is excluded sys__ksem_wait */
    745 				/* 253 is excluded sys__ksem_trywait */
    746 				/* 254 is excluded sys__ksem_getvalue */
    747 				/* 255 is excluded sys__ksem_destroy */
    748 #endif
    749 /* syscall: "netbsd32___posix_rename" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" */
    750 #define	netbsd32_SYS_netbsd32___posix_rename	270
    751 
    752 /* syscall: "netbsd32_swapctl" ret: "int" args: "int" "netbsd32_voidp" "int" */
    753 #define	netbsd32_SYS_netbsd32_swapctl	271
    754 
    755 /* syscall: "compat_30_netbsd32_getdents" ret: "int" args: "int" "netbsd32_charp" "netbsd32_size_t" */
    756 #define	netbsd32_SYS_compat_30_netbsd32_getdents	272
    757 
    758 /* syscall: "netbsd32_minherit" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */
    759 #define	netbsd32_SYS_netbsd32_minherit	273
    760 
    761 /* syscall: "netbsd32_lchmod" ret: "int" args: "const netbsd32_charp" "mode_t" */
    762 #define	netbsd32_SYS_netbsd32_lchmod	274
    763 
    764 /* syscall: "netbsd32_lchown" ret: "int" args: "const netbsd32_charp" "uid_t" "gid_t" */
    765 #define	netbsd32_SYS_netbsd32_lchown	275
    766 
    767 /* syscall: "netbsd32_lutimes" ret: "int" args: "const netbsd32_charp" "const netbsd32_timevalp_t" */
    768 #define	netbsd32_SYS_netbsd32_lutimes	276
    769 
    770 /* syscall: "netbsd32___msync13" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */
    771 #define	netbsd32_SYS_netbsd32___msync13	277
    772 
    773 /* syscall: "compat_30_netbsd32___stat13" ret: "int" args: "const netbsd32_charp" "netbsd32_stat13p_t" */
    774 #define	netbsd32_SYS_compat_30_netbsd32___stat13	278
    775 
    776 /* syscall: "compat_30_netbsd32___fstat13" ret: "int" args: "int" "netbsd32_stat13p_t" */
    777 #define	netbsd32_SYS_compat_30_netbsd32___fstat13	279
    778 
    779 /* syscall: "compat_30_netbsd32___lstat13" ret: "int" args: "const netbsd32_charp" "netbsd32_stat13p_t" */
    780 #define	netbsd32_SYS_compat_30_netbsd32___lstat13	280
    781 
    782 /* syscall: "netbsd32___sigaltstack14" ret: "int" args: "const netbsd32_sigaltstackp_t" "netbsd32_sigaltstackp_t" */
    783 #define	netbsd32_SYS_netbsd32___sigaltstack14	281
    784 
    785 /* syscall: "__vfork14" ret: "int" args: */
    786 #define	netbsd32_SYS___vfork14	282
    787 
    788 /* syscall: "netbsd32___posix_chown" ret: "int" args: "const netbsd32_charp" "uid_t" "gid_t" */
    789 #define	netbsd32_SYS_netbsd32___posix_chown	283
    790 
    791 /* syscall: "netbsd32___posix_fchown" ret: "int" args: "int" "uid_t" "gid_t" */
    792 #define	netbsd32_SYS_netbsd32___posix_fchown	284
    793 
    794 /* syscall: "netbsd32___posix_lchown" ret: "int" args: "const netbsd32_charp" "uid_t" "gid_t" */
    795 #define	netbsd32_SYS_netbsd32___posix_lchown	285
    796 
    797 /* syscall: "netbsd32_getsid" ret: "pid_t" args: "pid_t" */
    798 #define	netbsd32_SYS_netbsd32_getsid	286
    799 
    800 /* syscall: "netbsd32___clone" ret: "int" args: "int" "netbsd32_voidp" */
    801 #define	netbsd32_SYS_netbsd32___clone	287
    802 
    803 #if defined(KTRACE) || !defined(_KERNEL)
    804 /* syscall: "netbsd32_fktrace" ret: "int" args: "const int" "int" "int" "int" */
    805 #define	netbsd32_SYS_netbsd32_fktrace	288
    806 
    807 #else
    808 				/* 288 is excluded netbsd32_fktrace */
    809 #endif
    810 /* syscall: "netbsd32_preadv" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_iovecp_t" "int" "int" "off_t" */
    811 #define	netbsd32_SYS_netbsd32_preadv	289
    812 
    813 /* syscall: "netbsd32_pwritev" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_iovecp_t" "int" "int" "off_t" */
    814 #define	netbsd32_SYS_netbsd32_pwritev	290
    815 
    816 /* syscall: "netbsd32___sigaction14" ret: "int" args: "int" "const netbsd32_sigactionp_t" "netbsd32_sigactionp_t" */
    817 #define	netbsd32_SYS_netbsd32___sigaction14	291
    818 
    819 /* syscall: "netbsd32___sigpending14" ret: "int" args: "netbsd32_sigsetp_t" */
    820 #define	netbsd32_SYS_netbsd32___sigpending14	292
    821 
    822 /* syscall: "netbsd32___sigprocmask14" ret: "int" args: "int" "const netbsd32_sigsetp_t" "netbsd32_sigsetp_t" */
    823 #define	netbsd32_SYS_netbsd32___sigprocmask14	293
    824 
    825 /* syscall: "netbsd32___sigsuspend14" ret: "int" args: "const netbsd32_sigsetp_t" */
    826 #define	netbsd32_SYS_netbsd32___sigsuspend14	294
    827 
    828 /* syscall: "compat_16_netbsd32___sigreturn14" ret: "int" args: "netbsd32_sigcontextp_t" */
    829 #define	netbsd32_SYS_compat_16_netbsd32___sigreturn14	295
    830 
    831 /* syscall: "netbsd32___getcwd" ret: "int" args: "netbsd32_charp" "netbsd32_size_t" */
    832 #define	netbsd32_SYS_netbsd32___getcwd	296
    833 
    834 /* syscall: "netbsd32_fchroot" ret: "int" args: "int" */
    835 #define	netbsd32_SYS_netbsd32_fchroot	297
    836 
    837 /* syscall: "compat_30_netbsd32_fhopen" ret: "int" args: "const netbsd32_fhandlep_t" "int" */
    838 #define	netbsd32_SYS_compat_30_netbsd32_fhopen	298
    839 
    840 /* syscall: "compat_30_netbsd32_fhstat" ret: "int" args: "const netbsd32_fhandlep_t" "netbsd32_stat13p_t" */
    841 #define	netbsd32_SYS_compat_30_netbsd32_fhstat	299
    842 
    843 /* syscall: "compat_20_netbsd32_fhstatfs" ret: "int" args: "netbsd32_fhandlep_t" "netbsd32_statp_t" */
    844 #define	netbsd32_SYS_compat_20_netbsd32_fhstatfs	300
    845 
    846 #if defined(SYSVSEM) || !defined(_KERNEL)
    847 /* syscall: "netbsd32___semctl14" ret: "int" args: "int" "int" "int" "..." */
    848 #define	netbsd32_SYS_netbsd32___semctl14	301
    849 
    850 #else
    851 				/* 301 is excluded __semctl14 */
    852 #endif
    853 #if defined(SYSVMSG) || !defined(_KERNEL)
    854 /* syscall: "netbsd32___msgctl13" ret: "int" args: "int" "int" "netbsd32_msqid_dsp_t" */
    855 #define	netbsd32_SYS_netbsd32___msgctl13	302
    856 
    857 #else
    858 				/* 302 is excluded __msgctl13 */
    859 #endif
    860 #if defined(SYSVSHM) || !defined(_KERNEL)
    861 /* syscall: "netbsd32___shmctl13" ret: "int" args: "int" "int" "netbsd32_shmid_dsp_t" */
    862 #define	netbsd32_SYS_netbsd32___shmctl13	303
    863 
    864 #else
    865 				/* 303 is excluded __shmctl13 */
    866 #endif
    867 /* syscall: "netbsd32_lchflags" ret: "int" args: "const netbsd32_charp" "netbsd32_u_long" */
    868 #define	netbsd32_SYS_netbsd32_lchflags	304
    869 
    870 /* syscall: "issetugid" ret: "int" args: */
    871 #define	netbsd32_SYS_issetugid	305
    872 
    873 /* syscall: "netbsd32_utrace" ret: "int" args: "const netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */
    874 #define	netbsd32_SYS_netbsd32_utrace	306
    875 
    876 /* syscall: "netbsd32_getcontext" ret: "int" args: "netbsd32_ucontextp" */
    877 #define	netbsd32_SYS_netbsd32_getcontext	307
    878 
    879 /* syscall: "netbsd32_setcontext" ret: "int" args: "netbsd32_ucontextp" "uint32_t" "netbsd32_lwpidp" */
    880 #define	netbsd32_SYS_netbsd32_setcontext	308
    881 
    882 /* syscall: "netbsd32__lwp_create" ret: "int" args: "const netbsd32_ucontextp" "netbsd32_u_long" "netbsd32_lwpidp" */
    883 #define	netbsd32_SYS_netbsd32__lwp_create	309
    884 
    885 /* syscall: "_lwp_exit" ret: "int" args: */
    886 #define	netbsd32_SYS__lwp_exit	310
    887 
    888 /* syscall: "_lwp_self" ret: "lwpid_t" args: */
    889 #define	netbsd32_SYS__lwp_self	311
    890 
    891 /* syscall: "netbsd32__lwp_wait" ret: "int" args: "lwpid_t" "netbsd32_lwpidp" */
    892 #define	netbsd32_SYS_netbsd32__lwp_wait	312
    893 
    894 /* syscall: "netbsd32__lwp_suspend" ret: "int" args: "lwpid_t" */
    895 #define	netbsd32_SYS_netbsd32__lwp_suspend	313
    896 
    897 /* syscall: "netbsd32__lwp_continue" ret: "int" args: "lwpid_t" */
    898 #define	netbsd32_SYS_netbsd32__lwp_continue	314
    899 
    900 /* syscall: "netbsd32__lwp_wakeup" ret: "int" args: "lwpid_t" */
    901 #define	netbsd32_SYS_netbsd32__lwp_wakeup	315
    902 
    903 /* syscall: "_lwp_getprivate" ret: "void *" args: */
    904 #define	netbsd32_SYS__lwp_getprivate	316
    905 
    906 /* syscall: "netbsd32__lwp_setprivate" ret: "void" args: "netbsd32_voidp" */
    907 #define	netbsd32_SYS_netbsd32__lwp_setprivate	317
    908 
    909 /* syscall: "netbsd32__lwp_kill" ret: "int" args: "lwpid_t" "int" */
    910 #define	netbsd32_SYS_netbsd32__lwp_kill	318
    911 
    912 /* syscall: "netbsd32__lwp_detach" ret: "int" args: "lwpid_t" */
    913 #define	netbsd32_SYS_netbsd32__lwp_detach	319
    914 
    915 /* syscall: "netbsd32__lwp_park" ret: "int" args: "const netbsd32_timespecp_t" "lwpid_t" "const netbsd32_voidp" "const netbsd32_voidp" */
    916 #define	netbsd32_SYS_netbsd32__lwp_park	320
    917 
    918 /* syscall: "netbsd32__lwp_unpark" ret: "int" args: "lwpid_t" "const netbsd32_voidp" */
    919 #define	netbsd32_SYS_netbsd32__lwp_unpark	321
    920 
    921 /* syscall: "netbsd32__lwp_unpark_all" ret: "netbsd32_size_t" args: "const netbsd32_lwpidp" "netbsd32_size_t" "const netbsd32_voidp" */
    922 #define	netbsd32_SYS_netbsd32__lwp_unpark_all	322
    923 
    924 				/* 330 is obsolete netbsd32_sa_register */
    925 				/* 331 is obsolete netbsd32_sa_stacks */
    926 				/* 332 is obsolete sys_sa_enable */
    927 				/* 333 is obsolete netbsd32_sa_setconcurrency */
    928 				/* 334 is obsolete sys_sa_yield */
    929 				/* 335 is obsolete netbsd32_sa_preempt */
    930 				/* 336 is obsolete sys_sa_unblockyield */
    931 /* syscall: "netbsd32___sigaction_sigtramp" ret: "int" args: "int" "const netbsd32_sigactionp_t" "netbsd32_sigactionp_t" "netbsd32_voidp" "int" */
    932 #define	netbsd32_SYS_netbsd32___sigaction_sigtramp	340
    933 
    934 /* syscall: "netbsd32_rasctl" ret: "int" args: "netbsd32_caddr_t" "netbsd32_size_t" "int" */
    935 #define	netbsd32_SYS_netbsd32_rasctl	343
    936 
    937 /* syscall: "kqueue" ret: "int" args: */
    938 #define	netbsd32_SYS_kqueue	344
    939 
    940 /* syscall: "netbsd32_kevent" ret: "int" args: "int" "netbsd32_keventp_t" "netbsd32_size_t" "netbsd32_keventp_t" "netbsd32_size_t" "netbsd32_timespecp_t" */
    941 #define	netbsd32_SYS_netbsd32_kevent	345
    942 
    943 /* syscall: "sched_yield" ret: "int" args: */
    944 #define	netbsd32_SYS_sched_yield	350
    945 
    946 /* syscall: "netbsd32_fsync_range" ret: "int" args: "int" "int" "off_t" "off_t" */
    947 #define	netbsd32_SYS_netbsd32_fsync_range	354
    948 
    949 /* syscall: "netbsd32_uuidgen" ret: "int" args: "netbsd32_uuidp_t" "int" */
    950 #define	netbsd32_SYS_netbsd32_uuidgen	355
    951 
    952 /* syscall: "netbsd32_getvfsstat" ret: "int" args: "netbsd32_statvfsp_t" "netbsd32_size_t" "int" */
    953 #define	netbsd32_SYS_netbsd32_getvfsstat	356
    954 
    955 /* syscall: "netbsd32_statvfs1" ret: "int" args: "const netbsd32_charp" "netbsd32_statvfsp_t" "int" */
    956 #define	netbsd32_SYS_netbsd32_statvfs1	357
    957 
    958 /* syscall: "netbsd32_fstatvfs1" ret: "int" args: "int" "netbsd32_statvfsp_t" "int" */
    959 #define	netbsd32_SYS_netbsd32_fstatvfs1	358
    960 
    961 /* syscall: "compat_30_netbsd32_fhstatvfs1" ret: "int" args: "const netbsd32_fhandlep_t" "netbsd32_statvfsp_t" "int" */
    962 #define	netbsd32_SYS_compat_30_netbsd32_fhstatvfs1	359
    963 
    964 /* syscall: "netbsd32_extattrctl" ret: "int" args: "const netbsd32_charp" "int" "const netbsd32_charp" "int" "const netbsd32_charp" */
    965 #define	netbsd32_SYS_netbsd32_extattrctl	360
    966 
    967 /* syscall: "netbsd32_extattr_set_file" ret: "int" args: "const netbsd32_charp" "int" "const netbsd32_charp" "const netbsd32_voidp" "netbsd32_size_t" */
    968 #define	netbsd32_SYS_netbsd32_extattr_set_file	361
    969 
    970 /* syscall: "netbsd32_extattr_get_file" ret: "int" args: "const netbsd32_charp" "int" "const netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */
    971 #define	netbsd32_SYS_netbsd32_extattr_get_file	362
    972 
    973 /* syscall: "netbsd32_extattr_delete_file" ret: "int" args: "const netbsd32_charp" "int" "const netbsd32_charp" */
    974 #define	netbsd32_SYS_netbsd32_extattr_delete_file	363
    975 
    976 /* syscall: "netbsd32_extattr_set_fd" ret: "int" args: "int" "int" "const netbsd32_charp" "const netbsd32_voidp" "netbsd32_size_t" */
    977 #define	netbsd32_SYS_netbsd32_extattr_set_fd	364
    978 
    979 /* syscall: "netbsd32_extattr_get_fd" ret: "int" args: "int" "int" "const netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */
    980 #define	netbsd32_SYS_netbsd32_extattr_get_fd	365
    981 
    982 /* syscall: "netbsd32_extattr_delete_fd" ret: "int" args: "int" "int" "const netbsd32_charp" */
    983 #define	netbsd32_SYS_netbsd32_extattr_delete_fd	366
    984 
    985 /* syscall: "netbsd32_extattr_set_link" ret: "int" args: "const netbsd32_charp" "int" "const netbsd32_charp" "const netbsd32_voidp" "netbsd32_size_t" */
    986 #define	netbsd32_SYS_netbsd32_extattr_set_link	367
    987 
    988 /* syscall: "netbsd32_extattr_get_link" ret: "int" args: "const netbsd32_charp" "int" "const netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */
    989 #define	netbsd32_SYS_netbsd32_extattr_get_link	368
    990 
    991 /* syscall: "netbsd32_extattr_delete_link" ret: "int" args: "const netbsd32_charp" "int" "const netbsd32_charp" */
    992 #define	netbsd32_SYS_netbsd32_extattr_delete_link	369
    993 
    994 /* syscall: "netbsd32_extattr_list_fd" ret: "int" args: "int" "int" "netbsd32_voidp" "netbsd32_size_t" */
    995 #define	netbsd32_SYS_netbsd32_extattr_list_fd	370
    996 
    997 /* syscall: "netbsd32_extattr_list_file" ret: "int" args: "const netbsd32_charp" "int" "netbsd32_voidp" "netbsd32_size_t" */
    998 #define	netbsd32_SYS_netbsd32_extattr_list_file	371
    999 
   1000 /* syscall: "netbsd32_extattr_list_link" ret: "int" args: "const netbsd32_charp" "int" "netbsd32_voidp" "netbsd32_size_t" */
   1001 #define	netbsd32_SYS_netbsd32_extattr_list_link	372
   1002 
   1003 /* syscall: "netbsd32_pselect" ret: "int" args: "int" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "const netbsd32_timespecp_t" "const netbsd32_sigsetp_t" */
   1004 #define	netbsd32_SYS_netbsd32_pselect	373
   1005 
   1006 /* syscall: "netbsd32_pollts" ret: "int" args: "netbsd32_pollfdp_t" "u_int" "const netbsd32_timespecp_t" "const netbsd32_sigsetp_t" */
   1007 #define	netbsd32_SYS_netbsd32_pollts	374
   1008 
   1009 /* syscall: "netbsd32_setxattr" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" "int" */
   1010 #define	netbsd32_SYS_netbsd32_setxattr	375
   1011 
   1012 /* syscall: "netbsd32_lsetxattr" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" "int" */
   1013 #define	netbsd32_SYS_netbsd32_lsetxattr	376
   1014 
   1015 /* syscall: "netbsd32_fsetxattr" ret: "int" args: "int" "const netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" "int" */
   1016 #define	netbsd32_SYS_netbsd32_fsetxattr	377
   1017 
   1018 /* syscall: "netbsd32_getxattr" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */
   1019 #define	netbsd32_SYS_netbsd32_getxattr	378
   1020 
   1021 /* syscall: "netbsd32_lgetxattr" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */
   1022 #define	netbsd32_SYS_netbsd32_lgetxattr	379
   1023 
   1024 /* syscall: "netbsd32_fgetxattr" ret: "int" args: "int" "const netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */
   1025 #define	netbsd32_SYS_netbsd32_fgetxattr	380
   1026 
   1027 /* syscall: "netbsd32_listxattr" ret: "int" args: "const netbsd32_charp" "netbsd32_charp" "netbsd32_size_t" */
   1028 #define	netbsd32_SYS_netbsd32_listxattr	381
   1029 
   1030 /* syscall: "netbsd32_llistxattr" ret: "int" args: "const netbsd32_charp" "netbsd32_charp" "netbsd32_size_t" */
   1031 #define	netbsd32_SYS_netbsd32_llistxattr	382
   1032 
   1033 /* syscall: "netbsd32_flistxattr" ret: "int" args: "int" "netbsd32_charp" "netbsd32_size_t" */
   1034 #define	netbsd32_SYS_netbsd32_flistxattr	383
   1035 
   1036 /* syscall: "netbsd32_removexattr" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" */
   1037 #define	netbsd32_SYS_netbsd32_removexattr	384
   1038 
   1039 /* syscall: "netbsd32_lremovexattr" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" */
   1040 #define	netbsd32_SYS_netbsd32_lremovexattr	385
   1041 
   1042 /* syscall: "netbsd32_fremovexattr" ret: "int" args: "int" "const netbsd32_charp" */
   1043 #define	netbsd32_SYS_netbsd32_fremovexattr	386
   1044 
   1045 /* syscall: "__stat30" ret: "int" args: "const netbsd32_charp" "netbsd32_statp_t" */
   1046 #define	netbsd32_SYS___stat30	387
   1047 
   1048 /* syscall: "__fstat30" ret: "int" args: "int" "netbsd32_statp_t" */
   1049 #define	netbsd32_SYS___fstat30	388
   1050 
   1051 /* syscall: "__lstat30" ret: "int" args: "const netbsd32_charp" "netbsd32_statp_t" */
   1052 #define	netbsd32_SYS___lstat30	389
   1053 
   1054 /* syscall: "__getdents30" ret: "int" args: "int" "netbsd32_charp" "netbsd32_size_t" */
   1055 #define	netbsd32_SYS___getdents30	390
   1056 
   1057 /* syscall: "posix_fadvise" ret: "int" args: "int" "off_t" "off_t" "int" */
   1058 #define	netbsd32_SYS_posix_fadvise	391
   1059 
   1060 /* syscall: "compat_30___fhstat30" ret: "int" args: "const netbsd32_fhandlep_t" "netbsd32_statp_t" */
   1061 #define	netbsd32_SYS_compat_30___fhstat30	392
   1062 
   1063 /* syscall: "netbsd32_ntp_gettime" ret: "int" args: "netbsd32_ntptimevalp_t" */
   1064 #define	netbsd32_SYS_netbsd32_ntp_gettime	393
   1065 
   1066 /* syscall: "__socket30" ret: "int" args: "int" "int" "int" */
   1067 #define	netbsd32_SYS___socket30	394
   1068 
   1069 /* syscall: "netbsd32___getfh30" ret: "int" args: "const netbsd32_charp" "netbsd32_pointer_t" "netbsd32_size_tp" */
   1070 #define	netbsd32_SYS_netbsd32___getfh30	395
   1071 
   1072 /* syscall: "netbsd32___fhopen40" ret: "int" args: "const netbsd32_pointer_t" "netbsd32_size_t" "int" */
   1073 #define	netbsd32_SYS_netbsd32___fhopen40	396
   1074 
   1075 /* syscall: "netbsd32___fhstatvfs140" ret: "int" args: "netbsd32_pointer_t" "netbsd32_size_t" "netbsd32_statvfsp_t" "int" */
   1076 #define	netbsd32_SYS_netbsd32___fhstatvfs140	397
   1077 
   1078 /* syscall: "netbsd32___fhstat40" ret: "int" args: "netbsd32_pointer_t" "netbsd32_size_t" "netbsd32_statp_t" */
   1079 #define	netbsd32_SYS_netbsd32___fhstat40	398
   1080 
   1081 #define	netbsd32_SYS_MAXSYSCALL	399
   1082 #define	netbsd32_SYS_NSYSENT	512
   1083 #endif /* _netbsd32_SYS_SYSCALL_H_ */
   1084