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