Home | History | Annotate | Line # | Download | only in netbsd32
netbsd32_syscall.h revision 1.9
      1 /*	$NetBSD: netbsd32_syscall.h,v 1.9 1999/03/25 16:32:27 mrg 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.7 1999/03/25 16:22:50 mrg Exp
      8  */
      9 
     10 /* syscall: "syscall" ret: "int" args: "int" "..." */
     11 #define	netbsd32_SYS_syscall	0
     12 
     13 /* syscall: "compat_netbsd32_exit" ret: "void" args: "int" */
     14 #define	netbsd32_SYS_compat_netbsd32_exit	1
     15 
     16 /* syscall: "fork" ret: "int" args: */
     17 #define	netbsd32_SYS_fork	2
     18 
     19 /* syscall: "compat_netbsd32_read" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" */
     20 #define	netbsd32_SYS_compat_netbsd32_read	3
     21 
     22 /* syscall: "compat_netbsd32_write" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_voidp" "netbsd32_size_t" */
     23 #define	netbsd32_SYS_compat_netbsd32_write	4
     24 
     25 /* syscall: "compat_netbsd32_open" ret: "int" args: "const netbsd32_charp" "int" "..." */
     26 #define	netbsd32_SYS_compat_netbsd32_open	5
     27 
     28 /* syscall: "compat_netbsd32_close" ret: "int" args: "int" */
     29 #define	netbsd32_SYS_compat_netbsd32_close	6
     30 
     31 /* syscall: "compat_netbsd32_wait4" ret: "int" args: "int" "netbsd32_intp" "int" "netbsd32_rusagep_t" */
     32 #define	netbsd32_SYS_compat_netbsd32_wait4	7
     33 
     34 #define	netbsd32_SYS_compat_43_compat_netbsd32_ocreat	8
     35 
     36 /* syscall: "compat_netbsd32_link" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" */
     37 #define	netbsd32_SYS_compat_netbsd32_link	9
     38 
     39 /* syscall: "compat_netbsd32_unlink" ret: "int" args: "const netbsd32_charp" */
     40 #define	netbsd32_SYS_compat_netbsd32_unlink	10
     41 
     42 				/* 11 is obsolete execv */
     43 /* syscall: "compat_netbsd32_chdir" ret: "int" args: "const netbsd32_charp" */
     44 #define	netbsd32_SYS_compat_netbsd32_chdir	12
     45 
     46 /* syscall: "compat_netbsd32_fchdir" ret: "int" args: "int" */
     47 #define	netbsd32_SYS_compat_netbsd32_fchdir	13
     48 
     49 /* syscall: "compat_netbsd32_mknod" ret: "int" args: "const netbsd32_charp" "mode_t" "dev_t" */
     50 #define	netbsd32_SYS_compat_netbsd32_mknod	14
     51 
     52 /* syscall: "compat_netbsd32_chmod" ret: "int" args: "const netbsd32_charp" "mode_t" */
     53 #define	netbsd32_SYS_compat_netbsd32_chmod	15
     54 
     55 /* syscall: "compat_netbsd32_chown" ret: "int" args: "const netbsd32_charp" "uid_t" "gid_t" */
     56 #define	netbsd32_SYS_compat_netbsd32_chown	16
     57 
     58 /* syscall: "compat_netbsd32_break" ret: "int" args: "netbsd32_charp" */
     59 #define	netbsd32_SYS_compat_netbsd32_break	17
     60 
     61 /* syscall: "compat_netbsd32_getfsstat" ret: "int" args: "netbsd32_statfsp_t" "netbsd32_long" "int" */
     62 #define	netbsd32_SYS_compat_netbsd32_getfsstat	18
     63 
     64 #define	netbsd32_SYS_compat_43_compat_netbsd32_olseek	19
     65 
     66 /* syscall: "getpid" ret: "pid_t" args: */
     67 #define	netbsd32_SYS_getpid	20
     68 
     69 /* syscall: "compat_netbsd32_mount" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" "int" "netbsd32_voidp" */
     70 #define	netbsd32_SYS_compat_netbsd32_mount	21
     71 
     72 /* syscall: "compat_netbsd32_unmount" ret: "int" args: "const netbsd32_charp" "int" */
     73 #define	netbsd32_SYS_compat_netbsd32_unmount	22
     74 
     75 /* syscall: "compat_netbsd32_setuid" ret: "int" args: "uid_t" */
     76 #define	netbsd32_SYS_compat_netbsd32_setuid	23
     77 
     78 /* syscall: "getuid" ret: "uid_t" args: */
     79 #define	netbsd32_SYS_getuid	24
     80 
     81 /* syscall: "geteuid" ret: "uid_t" args: */
     82 #define	netbsd32_SYS_geteuid	25
     83 
     84 /* syscall: "compat_netbsd32_ptrace" ret: "int" args: "int" "pid_t" "netbsd32_caddr_t" "int" */
     85 #define	netbsd32_SYS_compat_netbsd32_ptrace	26
     86 
     87 /* syscall: "compat_netbsd32_recvmsg" ret: "netbsd32_ssize_t" args: "int" "netbsd32_msghdrp_t" "int" */
     88 #define	netbsd32_SYS_compat_netbsd32_recvmsg	27
     89 
     90 /* syscall: "compat_netbsd32_sendmsg" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_msghdrp_t" "int" */
     91 #define	netbsd32_SYS_compat_netbsd32_sendmsg	28
     92 
     93 /* syscall: "compat_netbsd32_recvfrom" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" "int" "netbsd32_sockaddrp_t" "netbsd32_intp" */
     94 #define	netbsd32_SYS_compat_netbsd32_recvfrom	29
     95 
     96 /* syscall: "compat_netbsd32_accept" ret: "int" args: "int" "netbsd32_sockaddrp_t" "netbsd32_intp" */
     97 #define	netbsd32_SYS_compat_netbsd32_accept	30
     98 
     99 /* syscall: "compat_netbsd32_getpeername" ret: "int" args: "int" "netbsd32_sockaddrp_t" "netbsd32_intp" */
    100 #define	netbsd32_SYS_compat_netbsd32_getpeername	31
    101 
    102 /* syscall: "compat_netbsd32_getsockname" ret: "int" args: "int" "netbsd32_sockaddrp_t" "netbsd32_intp" */
    103 #define	netbsd32_SYS_compat_netbsd32_getsockname	32
    104 
    105 /* syscall: "compat_netbsd32_access" ret: "int" args: "const netbsd32_charp" "int" */
    106 #define	netbsd32_SYS_compat_netbsd32_access	33
    107 
    108 /* syscall: "compat_netbsd32_chflags" ret: "int" args: "const netbsd32_charp" "netbsd32_u_long" */
    109 #define	netbsd32_SYS_compat_netbsd32_chflags	34
    110 
    111 /* syscall: "compat_netbsd32_fchflags" ret: "int" args: "int" "netbsd32_u_long" */
    112 #define	netbsd32_SYS_compat_netbsd32_fchflags	35
    113 
    114 /* syscall: "sync" ret: "void" args: */
    115 #define	netbsd32_SYS_sync	36
    116 
    117 /* syscall: "compat_netbsd32_kill" ret: "int" args: "int" "int" */
    118 #define	netbsd32_SYS_compat_netbsd32_kill	37
    119 
    120 #define	netbsd32_SYS_compat_43_compat_netbsd32_stat43	38
    121 
    122 /* syscall: "getppid" ret: "pid_t" args: */
    123 #define	netbsd32_SYS_getppid	39
    124 
    125 #define	netbsd32_SYS_compat_43_compat_netbsd32_lstat43	40
    126 
    127 /* syscall: "compat_netbsd32_dup" ret: "int" args: "int" */
    128 #define	netbsd32_SYS_compat_netbsd32_dup	41
    129 
    130 /* syscall: "pipe" ret: "int" args: */
    131 #define	netbsd32_SYS_pipe	42
    132 
    133 /* syscall: "getegid" ret: "gid_t" args: */
    134 #define	netbsd32_SYS_getegid	43
    135 
    136 /* syscall: "compat_netbsd32_profil" ret: "int" args: "netbsd32_caddr_t" "netbsd32_size_t" "netbsd32_u_long" "u_int" */
    137 #define	netbsd32_SYS_compat_netbsd32_profil	44
    138 
    139 /* syscall: "compat_netbsd32_ktrace" ret: "int" args: "const netbsd32_charp" "int" "int" "int" */
    140 #define	netbsd32_SYS_compat_netbsd32_ktrace	45
    141 
    142 /* syscall: "compat_netbsd32_sigaction" ret: "int" args: "int" "const netbsd32_sigactionp_t" "netbsd32_sigactionp_t" */
    143 #define	netbsd32_SYS_compat_netbsd32_sigaction	46
    144 
    145 /* syscall: "getgid" ret: "gid_t" args: */
    146 #define	netbsd32_SYS_getgid	47
    147 
    148 #define	netbsd32_SYS_compat_13_sigprocmask13	48
    149 
    150 /* syscall: "compat_netbsd32___getlogin" ret: "int" args: "netbsd32_charp" "u_int" */
    151 #define	netbsd32_SYS_compat_netbsd32___getlogin	49
    152 
    153 /* syscall: "compat_netbsd32_setlogin" ret: "int" args: "const netbsd32_charp" */
    154 #define	netbsd32_SYS_compat_netbsd32_setlogin	50
    155 
    156 /* syscall: "compat_netbsd32_acct" ret: "int" args: "const netbsd32_charp" */
    157 #define	netbsd32_SYS_compat_netbsd32_acct	51
    158 
    159 #define	netbsd32_SYS_compat_13_sigpending13	52
    160 
    161 #define	netbsd32_SYS_compat_13_compat_netbsd32_sigaltstack13	53
    162 
    163 /* syscall: "compat_netbsd32_ioctl" ret: "int" args: "int" "netbsd32_u_long" "..." */
    164 #define	netbsd32_SYS_compat_netbsd32_ioctl	54
    165 
    166 #define	netbsd32_SYS_compat_12_compat_netbsd32_reboot	55
    167 
    168 				/* 55 is obsolete oreboot */
    169 /* syscall: "compat_netbsd32_revoke" ret: "int" args: "const netbsd32_charp" */
    170 #define	netbsd32_SYS_compat_netbsd32_revoke	56
    171 
    172 /* syscall: "compat_netbsd32_symlink" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" */
    173 #define	netbsd32_SYS_compat_netbsd32_symlink	57
    174 
    175 /* syscall: "compat_netbsd32_readlink" ret: "int" args: "const netbsd32_charp" "netbsd32_charp" "netbsd32_size_t" */
    176 #define	netbsd32_SYS_compat_netbsd32_readlink	58
    177 
    178 /* syscall: "compat_netbsd32_execve" ret: "int" args: "const netbsd32_charp" "netbsd32_charpp" "netbsd32_charpp" */
    179 #define	netbsd32_SYS_compat_netbsd32_execve	59
    180 
    181 /* syscall: "compat_netbsd32_umask" ret: "mode_t" args: "mode_t" */
    182 #define	netbsd32_SYS_compat_netbsd32_umask	60
    183 
    184 /* syscall: "compat_netbsd32_chroot" ret: "int" args: "const netbsd32_charp" */
    185 #define	netbsd32_SYS_compat_netbsd32_chroot	61
    186 
    187 #define	netbsd32_SYS_compat_43_compat_netbsd32_fstat43	62
    188 
    189 #define	netbsd32_SYS_compat_43_compat_netbsd32_ogetkerninfo	63
    190 
    191 #define	netbsd32_SYS_compat_43_ogetpagesize	64
    192 
    193 #define	netbsd32_SYS_compat_12_compat_netbsd32_msync	65
    194 
    195 /* syscall: "vfork" ret: "int" args: */
    196 #define	netbsd32_SYS_vfork	66
    197 
    198 				/* 67 is obsolete vread */
    199 				/* 68 is obsolete vwrite */
    200 /* syscall: "compat_netbsd32_sbrk" ret: "int" args: "int" */
    201 #define	netbsd32_SYS_compat_netbsd32_sbrk	69
    202 
    203 /* syscall: "compat_netbsd32_sstk" ret: "int" args: "int" */
    204 #define	netbsd32_SYS_compat_netbsd32_sstk	70
    205 
    206 #define	netbsd32_SYS_compat_43_compat_netbsd32_ommap	71
    207 
    208 /* syscall: "vadvise" ret: "int" args: "int" */
    209 #define	netbsd32_SYS_vadvise	72
    210 
    211 /* syscall: "compat_netbsd32_munmap" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" */
    212 #define	netbsd32_SYS_compat_netbsd32_munmap	73
    213 
    214 /* syscall: "compat_netbsd32_mprotect" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */
    215 #define	netbsd32_SYS_compat_netbsd32_mprotect	74
    216 
    217 /* syscall: "compat_netbsd32_madvise" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */
    218 #define	netbsd32_SYS_compat_netbsd32_madvise	75
    219 
    220 				/* 76 is obsolete vhangup */
    221 				/* 77 is obsolete vlimit */
    222 /* syscall: "compat_netbsd32_mincore" ret: "int" args: "netbsd32_caddr_t" "netbsd32_size_t" "netbsd32_charp" */
    223 #define	netbsd32_SYS_compat_netbsd32_mincore	78
    224 
    225 /* syscall: "compat_netbsd32_getgroups" ret: "int" args: "int" "netbsd32_gid_tp" */
    226 #define	netbsd32_SYS_compat_netbsd32_getgroups	79
    227 
    228 /* syscall: "compat_netbsd32_setgroups" ret: "int" args: "int" "const netbsd32_gid_tp" */
    229 #define	netbsd32_SYS_compat_netbsd32_setgroups	80
    230 
    231 /* syscall: "getpgrp" ret: "int" args: */
    232 #define	netbsd32_SYS_getpgrp	81
    233 
    234 /* syscall: "compat_netbsd32_setpgid" ret: "int" args: "int" "int" */
    235 #define	netbsd32_SYS_compat_netbsd32_setpgid	82
    236 
    237 /* syscall: "compat_netbsd32_setitimer" ret: "int" args: "int" "const netbsd32_itimervalp_t" "netbsd32_itimervalp_t" */
    238 #define	netbsd32_SYS_compat_netbsd32_setitimer	83
    239 
    240 #define	netbsd32_SYS_compat_43_owait	84
    241 
    242 #define	netbsd32_SYS_compat_12_compat_netbsd32_oswapon	85
    243 
    244 /* syscall: "compat_netbsd32_getitimer" ret: "int" args: "int" "netbsd32_itimervalp_t" */
    245 #define	netbsd32_SYS_compat_netbsd32_getitimer	86
    246 
    247 #define	netbsd32_SYS_compat_43_compat_netbsd32_ogethostname	87
    248 
    249 #define	netbsd32_SYS_compat_43_compat_netbsd32_osethostname	88
    250 
    251 #define	netbsd32_SYS_compat_43_ogetdtablesize	89
    252 
    253 /* syscall: "compat_netbsd32_dup2" ret: "int" args: "int" "int" */
    254 #define	netbsd32_SYS_compat_netbsd32_dup2	90
    255 
    256 /* syscall: "compat_netbsd32_fcntl" ret: "int" args: "int" "int" "..." */
    257 #define	netbsd32_SYS_compat_netbsd32_fcntl	92
    258 
    259 /* syscall: "compat_netbsd32_select" ret: "int" args: "int" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "netbsd32_timevalp_t" */
    260 #define	netbsd32_SYS_compat_netbsd32_select	93
    261 
    262 /* syscall: "compat_netbsd32_fsync" ret: "int" args: "int" */
    263 #define	netbsd32_SYS_compat_netbsd32_fsync	95
    264 
    265 /* syscall: "compat_netbsd32_setpriority" ret: "int" args: "int" "int" "int" */
    266 #define	netbsd32_SYS_compat_netbsd32_setpriority	96
    267 
    268 /* syscall: "compat_netbsd32_socket" ret: "int" args: "int" "int" "int" */
    269 #define	netbsd32_SYS_compat_netbsd32_socket	97
    270 
    271 /* syscall: "compat_netbsd32_connect" ret: "int" args: "int" "const netbsd32_sockaddrp_t" "int" */
    272 #define	netbsd32_SYS_compat_netbsd32_connect	98
    273 
    274 #define	netbsd32_SYS_compat_43_compat_netbsd32_oaccept	99
    275 
    276 /* syscall: "compat_netbsd32_getpriority" ret: "int" args: "int" "int" */
    277 #define	netbsd32_SYS_compat_netbsd32_getpriority	100
    278 
    279 #define	netbsd32_SYS_compat_43_compat_netbsd32_osend	101
    280 
    281 #define	netbsd32_SYS_compat_43_compat_netbsd32_orecv	102
    282 
    283 /* syscall: "compat_netbsd32_sigreturn" ret: "int" args: "netbsd32_sigcontextp_t" */
    284 #define	netbsd32_SYS_compat_netbsd32_sigreturn	103
    285 
    286 /* syscall: "compat_netbsd32_bind" ret: "int" args: "int" "const netbsd32_sockaddrp_t" "int" */
    287 #define	netbsd32_SYS_compat_netbsd32_bind	104
    288 
    289 /* syscall: "compat_netbsd32_setsockopt" ret: "int" args: "int" "int" "int" "const netbsd32_voidp" "int" */
    290 #define	netbsd32_SYS_compat_netbsd32_setsockopt	105
    291 
    292 /* syscall: "compat_netbsd32_listen" ret: "int" args: "int" "int" */
    293 #define	netbsd32_SYS_compat_netbsd32_listen	106
    294 
    295 				/* 107 is obsolete vtimes */
    296 #define	netbsd32_SYS_compat_43_compat_netbsd32_osigvec	108
    297 
    298 #define	netbsd32_SYS_compat_43_compat_netbsd32_sigblock	109
    299 
    300 #define	netbsd32_SYS_compat_43_compat_netbsd32_sigsetmask	110
    301 
    302 				/* 109 is obsolete sigblock */
    303 				/* 110 is obsolete sigsetmask */
    304 #define	netbsd32_SYS_compat_13_sigsuspend13	111
    305 
    306 #define	netbsd32_SYS_compat_43_compat_netbsd32_osigstack	112
    307 
    308 #define	netbsd32_SYS_compat_43_compat_netbsd32_orecvmsg	113
    309 
    310 #define	netbsd32_SYS_compat_43_compat_netbsd32_osendmsg	114
    311 
    312 /* syscall: "compat_netbsd32_vtrace" ret: "int" args: "int" "int" */
    313 #define	netbsd32_SYS_compat_netbsd32_vtrace	115
    314 
    315 				/* 115 is obsolete vtrace */
    316 /* syscall: "compat_netbsd32_gettimeofday" ret: "int" args: "netbsd32_timevalp_t" "netbsd32_timezonep_t" */
    317 #define	netbsd32_SYS_compat_netbsd32_gettimeofday	116
    318 
    319 /* syscall: "compat_netbsd32_getrusage" ret: "int" args: "int" "netbsd32_rusagep_t" */
    320 #define	netbsd32_SYS_compat_netbsd32_getrusage	117
    321 
    322 /* syscall: "compat_netbsd32_getsockopt" ret: "int" args: "int" "int" "int" "netbsd32_voidp" "netbsd32_intp" */
    323 #define	netbsd32_SYS_compat_netbsd32_getsockopt	118
    324 
    325 				/* 119 is obsolete resuba */
    326 /* syscall: "compat_netbsd32_readv" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_iovecp_t" "int" */
    327 #define	netbsd32_SYS_compat_netbsd32_readv	120
    328 
    329 /* syscall: "compat_netbsd32_writev" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_iovecp_t" "int" */
    330 #define	netbsd32_SYS_compat_netbsd32_writev	121
    331 
    332 /* syscall: "compat_netbsd32_settimeofday" ret: "int" args: "const netbsd32_timevalp_t" "const netbsd32_timezonep_t" */
    333 #define	netbsd32_SYS_compat_netbsd32_settimeofday	122
    334 
    335 /* syscall: "compat_netbsd32_fchown" ret: "int" args: "int" "uid_t" "gid_t" */
    336 #define	netbsd32_SYS_compat_netbsd32_fchown	123
    337 
    338 /* syscall: "compat_netbsd32_fchmod" ret: "int" args: "int" "mode_t" */
    339 #define	netbsd32_SYS_compat_netbsd32_fchmod	124
    340 
    341 #define	netbsd32_SYS_compat_43_compat_netbsd32_orecvfrom	125
    342 
    343 /* syscall: "compat_netbsd32_setreuid" ret: "int" args: "uid_t" "uid_t" */
    344 #define	netbsd32_SYS_compat_netbsd32_setreuid	126
    345 
    346 /* syscall: "compat_netbsd32_setregid" ret: "int" args: "gid_t" "gid_t" */
    347 #define	netbsd32_SYS_compat_netbsd32_setregid	127
    348 
    349 /* syscall: "compat_netbsd32_rename" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" */
    350 #define	netbsd32_SYS_compat_netbsd32_rename	128
    351 
    352 #define	netbsd32_SYS_compat_43_compat_netbsd32_otruncate	129
    353 
    354 #define	netbsd32_SYS_compat_43_compat_netbsd32_oftruncate	130
    355 
    356 /* syscall: "compat_netbsd32_flock" ret: "int" args: "int" "int" */
    357 #define	netbsd32_SYS_compat_netbsd32_flock	131
    358 
    359 /* syscall: "compat_netbsd32_mkfifo" ret: "int" args: "const netbsd32_charp" "mode_t" */
    360 #define	netbsd32_SYS_compat_netbsd32_mkfifo	132
    361 
    362 /* syscall: "compat_netbsd32_sendto" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_voidp" "netbsd32_size_t" "int" "const netbsd32_sockaddrp_t" "int" */
    363 #define	netbsd32_SYS_compat_netbsd32_sendto	133
    364 
    365 /* syscall: "compat_netbsd32_shutdown" ret: "int" args: "int" "int" */
    366 #define	netbsd32_SYS_compat_netbsd32_shutdown	134
    367 
    368 /* syscall: "compat_netbsd32_socketpair" ret: "int" args: "int" "int" "int" "netbsd32_intp" */
    369 #define	netbsd32_SYS_compat_netbsd32_socketpair	135
    370 
    371 /* syscall: "compat_netbsd32_mkdir" ret: "int" args: "const netbsd32_charp" "mode_t" */
    372 #define	netbsd32_SYS_compat_netbsd32_mkdir	136
    373 
    374 /* syscall: "compat_netbsd32_rmdir" ret: "int" args: "const netbsd32_charp" */
    375 #define	netbsd32_SYS_compat_netbsd32_rmdir	137
    376 
    377 /* syscall: "compat_netbsd32_utimes" ret: "int" args: "const netbsd32_charp" "const netbsd32_timevalp_t" */
    378 #define	netbsd32_SYS_compat_netbsd32_utimes	138
    379 
    380 				/* 139 is obsolete 4.2 sigreturn */
    381 /* syscall: "compat_netbsd32_adjtime" ret: "int" args: "const netbsd32_timevalp_t" "netbsd32_timevalp_t" */
    382 #define	netbsd32_SYS_compat_netbsd32_adjtime	140
    383 
    384 #define	netbsd32_SYS_compat_43_compat_netbsd32_ogetpeername	141
    385 
    386 #define	netbsd32_SYS_compat_43_ogethostid	142
    387 
    388 #define	netbsd32_SYS_compat_43_compat_netbsd32_sethostid	143
    389 
    390 				/* 143 is obsolete sethostid */
    391 #define	netbsd32_SYS_compat_43_compat_netbsd32_ogetrlimit	144
    392 
    393 #define	netbsd32_SYS_compat_43_compat_netbsd32_osetrlimit	145
    394 
    395 #define	netbsd32_SYS_compat_43_compat_netbsd32_killpg	146
    396 
    397 				/* 146 is obsolete killpg */
    398 /* syscall: "setsid" ret: "int" args: */
    399 #define	netbsd32_SYS_setsid	147
    400 
    401 /* syscall: "compat_netbsd32_quotactl" ret: "int" args: "const netbsd32_charp" "int" "int" "netbsd32_caddr_t" */
    402 #define	netbsd32_SYS_compat_netbsd32_quotactl	148
    403 
    404 #define	netbsd32_SYS_compat_43_oquota	149
    405 
    406 #define	netbsd32_SYS_compat_43_compat_netbsd32_ogetsockname	150
    407 
    408 /* syscall: "compat_netbsd32_nfssvc" ret: "int" args: "int" "netbsd32_voidp" */
    409 #define	netbsd32_SYS_compat_netbsd32_nfssvc	155
    410 
    411 #define	netbsd32_SYS_compat_43_compat_netbsd32_ogetdirentries	156
    412 
    413 /* syscall: "compat_netbsd32_statfs" ret: "int" args: "const netbsd32_charp" "netbsd32_statfsp_t" */
    414 #define	netbsd32_SYS_compat_netbsd32_statfs	157
    415 
    416 /* syscall: "compat_netbsd32_fstatfs" ret: "int" args: "int" "netbsd32_statfsp_t" */
    417 #define	netbsd32_SYS_compat_netbsd32_fstatfs	158
    418 
    419 /* syscall: "compat_netbsd32_getfh" ret: "int" args: "const netbsd32_charp" "netbsd32_fhandlep_t" */
    420 #define	netbsd32_SYS_compat_netbsd32_getfh	161
    421 
    422 #define	netbsd32_SYS_compat_09_compat_netbsd32_ogetdomainname	162
    423 
    424 #define	netbsd32_SYS_compat_09_compat_netbsd32_osetdomainname	163
    425 
    426 #define	netbsd32_SYS_compat_09_compat_netbsd32_uname	164
    427 
    428 /* syscall: "compat_netbsd32_sysarch" ret: "int" args: "int" "netbsd32_voidp" */
    429 #define	netbsd32_SYS_compat_netbsd32_sysarch	165
    430 
    431 /* syscall: "osemsys" ret: "int" args: "int" "int" "int" "int" "int" */
    432 #define	netbsd32_SYS_osemsys	169
    433 
    434 /* syscall: "omsgsys" ret: "int" args: "int" "int" "int" "int" "int" "int" */
    435 #define	netbsd32_SYS_omsgsys	170
    436 
    437 /* syscall: "oshmsys" ret: "int" args: "int" "int" "int" "int" */
    438 #define	netbsd32_SYS_oshmsys	171
    439 
    440 /* syscall: "compat_netbsd32_pread" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" "int" "off_t" */
    441 #define	netbsd32_SYS_compat_netbsd32_pread	173
    442 
    443 /* syscall: "compat_netbsd32_pwrite" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_voidp" "netbsd32_size_t" "int" "off_t" */
    444 #define	netbsd32_SYS_compat_netbsd32_pwrite	174
    445 
    446 /* syscall: "compat_netbsd32_ntp_gettime" ret: "int" args: "netbsd32_ntptimevalp_t" */
    447 #define	netbsd32_SYS_compat_netbsd32_ntp_gettime	175
    448 
    449 /* syscall: "compat_netbsd32_ntp_adjtime" ret: "int" args: "netbsd32_timexp_t" */
    450 #define	netbsd32_SYS_compat_netbsd32_ntp_adjtime	176
    451 
    452 /* syscall: "compat_netbsd32_setgid" ret: "int" args: "gid_t" */
    453 #define	netbsd32_SYS_compat_netbsd32_setgid	181
    454 
    455 /* syscall: "compat_netbsd32_setegid" ret: "int" args: "gid_t" */
    456 #define	netbsd32_SYS_compat_netbsd32_setegid	182
    457 
    458 /* syscall: "compat_netbsd32_seteuid" ret: "int" args: "uid_t" */
    459 #define	netbsd32_SYS_compat_netbsd32_seteuid	183
    460 
    461 /* syscall: "compat_netbsd32_lfs_bmapv" ret: "int" args: "netbsd32_fsid_tp_t" "netbsd32_block_infop_t" "int" */
    462 #define	netbsd32_SYS_compat_netbsd32_lfs_bmapv	184
    463 
    464 /* syscall: "compat_netbsd32_lfs_markv" ret: "int" args: "netbsd32_fsid_tp_t" "netbsd32_block_infop_t" "int" */
    465 #define	netbsd32_SYS_compat_netbsd32_lfs_markv	185
    466 
    467 /* syscall: "compat_netbsd32_lfs_segclean" ret: "int" args: "netbsd32_fsid_tp_t" "netbsd32_u_long" */
    468 #define	netbsd32_SYS_compat_netbsd32_lfs_segclean	186
    469 
    470 /* syscall: "compat_netbsd32_lfs_segwait" ret: "int" args: "netbsd32_fsid_tp_t" "netbsd32_timevalp_t" */
    471 #define	netbsd32_SYS_compat_netbsd32_lfs_segwait	187
    472 
    473 #define	netbsd32_SYS_compat_12_compat_netbsd32_stat12	188
    474 
    475 #define	netbsd32_SYS_compat_12_compat_netbsd32_fstat12	189
    476 
    477 #define	netbsd32_SYS_compat_12_compat_netbsd32_lstat12	190
    478 
    479 /* syscall: "compat_netbsd32_pathconf" ret: "netbsd32_long" args: "const netbsd32_charp" "int" */
    480 #define	netbsd32_SYS_compat_netbsd32_pathconf	191
    481 
    482 /* syscall: "compat_netbsd32_fpathconf" ret: "netbsd32_long" args: "int" "int" */
    483 #define	netbsd32_SYS_compat_netbsd32_fpathconf	192
    484 
    485 /* syscall: "compat_netbsd32_getrlimit" ret: "int" args: "int" "netbsd32_rlimitp_t" */
    486 #define	netbsd32_SYS_compat_netbsd32_getrlimit	194
    487 
    488 /* syscall: "compat_netbsd32_setrlimit" ret: "int" args: "int" "const netbsd32_rlimitp_t" */
    489 #define	netbsd32_SYS_compat_netbsd32_setrlimit	195
    490 
    491 #define	netbsd32_SYS_compat_12_compat_netbsd32_getdirentries	196
    492 
    493 /* syscall: "compat_netbsd32_mmap" ret: "netbsd32_voidp" args: "netbsd32_voidp" "netbsd32_size_t" "int" "int" "int" "netbsd32_long" "off_t" */
    494 #define	netbsd32_SYS_compat_netbsd32_mmap	197
    495 
    496 /* syscall: "__syscall" ret: "quad_t" args: "quad_t" "..." */
    497 #define	netbsd32_SYS___syscall	198
    498 
    499 /* syscall: "compat_netbsd32_lseek" ret: "off_t" args: "int" "int" "off_t" "int" */
    500 #define	netbsd32_SYS_compat_netbsd32_lseek	199
    501 
    502 /* syscall: "compat_netbsd32_truncate" ret: "int" args: "const netbsd32_charp" "int" "off_t" */
    503 #define	netbsd32_SYS_compat_netbsd32_truncate	200
    504 
    505 /* syscall: "compat_netbsd32_ftruncate" ret: "int" args: "int" "int" "off_t" */
    506 #define	netbsd32_SYS_compat_netbsd32_ftruncate	201
    507 
    508 /* syscall: "compat_netbsd32___sysctl" ret: "int" args: "netbsd32_intp" "u_int" "netbsd32_voidp" "netbsd32_size_tp" "netbsd32_voidp" "netbsd32_size_t" */
    509 #define	netbsd32_SYS_compat_netbsd32___sysctl	202
    510 
    511 /* syscall: "compat_netbsd32_mlock" ret: "int" args: "const netbsd32_voidp" "netbsd32_size_t" */
    512 #define	netbsd32_SYS_compat_netbsd32_mlock	203
    513 
    514 /* syscall: "compat_netbsd32_munlock" ret: "int" args: "const netbsd32_voidp" "netbsd32_size_t" */
    515 #define	netbsd32_SYS_compat_netbsd32_munlock	204
    516 
    517 /* syscall: "compat_netbsd32_undelete" ret: "int" args: "const netbsd32_charp" */
    518 #define	netbsd32_SYS_compat_netbsd32_undelete	205
    519 
    520 /* syscall: "compat_netbsd32_futimes" ret: "int" args: "int" "const netbsd32_timevalp_t" */
    521 #define	netbsd32_SYS_compat_netbsd32_futimes	206
    522 
    523 /* syscall: "compat_netbsd32_getpgid" ret: "int" args: "pid_t" */
    524 #define	netbsd32_SYS_compat_netbsd32_getpgid	207
    525 
    526 /* syscall: "compat_netbsd32_reboot" ret: "int" args: "int" "netbsd32_charp" */
    527 #define	netbsd32_SYS_compat_netbsd32_reboot	208
    528 
    529 /* syscall: "compat_netbsd32_poll" ret: "int" args: "netbsd32_pollfdp_t" "u_int" "int" */
    530 #define	netbsd32_SYS_compat_netbsd32_poll	209
    531 
    532 /* syscall: "compat_netbsd32___semctl" ret: "int" args: "int" "int" "int" "netbsd32_semunu_t" */
    533 #define	netbsd32_SYS_compat_netbsd32___semctl	220
    534 
    535 /* syscall: "compat_netbsd32_semget" ret: "int" args: "netbsd32_key_t" "int" "int" */
    536 #define	netbsd32_SYS_compat_netbsd32_semget	221
    537 
    538 /* syscall: "compat_netbsd32_semop" ret: "int" args: "int" "netbsd32_sembufp_t" "netbsd32_size_t" */
    539 #define	netbsd32_SYS_compat_netbsd32_semop	222
    540 
    541 /* syscall: "compat_netbsd32_semconfig" ret: "int" args: "int" */
    542 #define	netbsd32_SYS_compat_netbsd32_semconfig	223
    543 
    544 /* syscall: "compat_netbsd32_msgctl" ret: "int" args: "int" "int" "netbsd32_msqid_dsp_t" */
    545 #define	netbsd32_SYS_compat_netbsd32_msgctl	224
    546 
    547 /* syscall: "compat_netbsd32_msgget" ret: "int" args: "netbsd32_key_t" "int" */
    548 #define	netbsd32_SYS_compat_netbsd32_msgget	225
    549 
    550 /* syscall: "compat_netbsd32_msgsnd" ret: "int" args: "int" "const netbsd32_voidp" "netbsd32_size_t" "int" */
    551 #define	netbsd32_SYS_compat_netbsd32_msgsnd	226
    552 
    553 /* syscall: "compat_netbsd32_msgrcv" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" "netbsd32_long" "int" */
    554 #define	netbsd32_SYS_compat_netbsd32_msgrcv	227
    555 
    556 /* syscall: "compat_netbsd32_shmat" ret: "netbsd32_voidp" args: "int" "const netbsd32_voidp" "int" */
    557 #define	netbsd32_SYS_compat_netbsd32_shmat	228
    558 
    559 /* syscall: "compat_netbsd32_shmctl" ret: "int" args: "int" "int" "netbsd32_shmid_dsp_t" */
    560 #define	netbsd32_SYS_compat_netbsd32_shmctl	229
    561 
    562 /* syscall: "compat_netbsd32_shmdt" ret: "int" args: "const netbsd32_voidp" */
    563 #define	netbsd32_SYS_compat_netbsd32_shmdt	230
    564 
    565 /* syscall: "compat_netbsd32_shmget" ret: "int" args: "netbsd32_key_t" "netbsd32_size_t" "int" */
    566 #define	netbsd32_SYS_compat_netbsd32_shmget	231
    567 
    568 /* syscall: "compat_netbsd32_clock_gettime" ret: "int" args: "netbsd32_clockid_t" "netbsd32_timespecp_t" */
    569 #define	netbsd32_SYS_compat_netbsd32_clock_gettime	232
    570 
    571 /* syscall: "compat_netbsd32_clock_settime" ret: "int" args: "netbsd32_clockid_t" "const netbsd32_timespecp_t" */
    572 #define	netbsd32_SYS_compat_netbsd32_clock_settime	233
    573 
    574 /* syscall: "compat_netbsd32_clock_getres" ret: "int" args: "netbsd32_clockid_t" "netbsd32_timespecp_t" */
    575 #define	netbsd32_SYS_compat_netbsd32_clock_getres	234
    576 
    577 /* syscall: "compat_netbsd32_nanosleep" ret: "int" args: "const netbsd32_timespecp_t" "netbsd32_timespecp_t" */
    578 #define	netbsd32_SYS_compat_netbsd32_nanosleep	240
    579 
    580 /* syscall: "compat_netbsd32_fdatasync" ret: "int" args: "int" */
    581 #define	netbsd32_SYS_compat_netbsd32_fdatasync	241
    582 
    583 /* syscall: "compat_netbsd32___posix_rename" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" */
    584 #define	netbsd32_SYS_compat_netbsd32___posix_rename	270
    585 
    586 /* syscall: "compat_netbsd32_swapctl" ret: "int" args: "int" "const netbsd32_voidp" "int" */
    587 #define	netbsd32_SYS_compat_netbsd32_swapctl	271
    588 
    589 /* syscall: "compat_netbsd32_getdents" ret: "int" args: "int" "netbsd32_charp" "netbsd32_size_t" */
    590 #define	netbsd32_SYS_compat_netbsd32_getdents	272
    591 
    592 /* syscall: "compat_netbsd32_minherit" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */
    593 #define	netbsd32_SYS_compat_netbsd32_minherit	273
    594 
    595 /* syscall: "compat_netbsd32_lchmod" ret: "int" args: "const netbsd32_charp" "mode_t" */
    596 #define	netbsd32_SYS_compat_netbsd32_lchmod	274
    597 
    598 /* syscall: "compat_netbsd32_lchown" ret: "int" args: "const netbsd32_charp" "uid_t" "gid_t" */
    599 #define	netbsd32_SYS_compat_netbsd32_lchown	275
    600 
    601 /* syscall: "compat_netbsd32_lutimes" ret: "int" args: "const netbsd32_charp" "const netbsd32_timevalp_t" */
    602 #define	netbsd32_SYS_compat_netbsd32_lutimes	276
    603 
    604 /* syscall: "compat_netbsd32___msync13" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */
    605 #define	netbsd32_SYS_compat_netbsd32___msync13	277
    606 
    607 /* syscall: "compat_netbsd32___stat13" ret: "int" args: "const netbsd32_charp" "netbsd32_statp_t" */
    608 #define	netbsd32_SYS_compat_netbsd32___stat13	278
    609 
    610 /* syscall: "compat_netbsd32___fstat13" ret: "int" args: "int" "netbsd32_statp_t" */
    611 #define	netbsd32_SYS_compat_netbsd32___fstat13	279
    612 
    613 /* syscall: "compat_netbsd32___lstat13" ret: "int" args: "const netbsd32_charp" "netbsd32_statp_t" */
    614 #define	netbsd32_SYS_compat_netbsd32___lstat13	280
    615 
    616 /* syscall: "compat_netbsd32___sigaltstack14" ret: "int" args: "const netbsd32_sigaltstackp_t" "netbsd32_sigaltstackp_t" */
    617 #define	netbsd32_SYS_compat_netbsd32___sigaltstack14	281
    618 
    619 /* syscall: "__vfork14" ret: "int" args: */
    620 #define	netbsd32_SYS___vfork14	282
    621 
    622 /* syscall: "compat_netbsd32___posix_chown" ret: "int" args: "const netbsd32_charp" "uid_t" "gid_t" */
    623 #define	netbsd32_SYS_compat_netbsd32___posix_chown	283
    624 
    625 /* syscall: "compat_netbsd32___posix_fchown" ret: "int" args: "int" "uid_t" "gid_t" */
    626 #define	netbsd32_SYS_compat_netbsd32___posix_fchown	284
    627 
    628 /* syscall: "compat_netbsd32___posix_lchown" ret: "int" args: "const netbsd32_charp" "uid_t" "gid_t" */
    629 #define	netbsd32_SYS_compat_netbsd32___posix_lchown	285
    630 
    631 /* syscall: "compat_netbsd32_getsid" ret: "pid_t" args: "pid_t" */
    632 #define	netbsd32_SYS_compat_netbsd32_getsid	286
    633 
    634 /* syscall: "compat_netbsd32_fktrace" ret: "int" args: "const int" "int" "int" "int" */
    635 #define	netbsd32_SYS_compat_netbsd32_fktrace	288
    636 
    637 /* syscall: "compat_netbsd32_preadv" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_iovecp_t" "int" "int" "off_t" */
    638 #define	netbsd32_SYS_compat_netbsd32_preadv	289
    639 
    640 /* syscall: "compat_netbsd32_pwritev" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_iovecp_t" "int" "int" "off_t" */
    641 #define	netbsd32_SYS_compat_netbsd32_pwritev	290
    642 
    643 #define	netbsd32_SYS_MAXSYSCALL	291
    644