xref: /netbsd-src/sys/compat/netbsd32/netbsd32_syscall.h (revision 8b0f9554ff8762542c4defc4f70e1eb76fb508fa)
1 /* $NetBSD: netbsd32_syscall.h,v 1.70 2007/12/07 22:42:11 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.63 2007/12/07 22:41:05 ad Exp
8  */
9 
10 #ifndef _NETBSD32_SYS_SYSCALL_H_
11 #define	_NETBSD32_SYS_SYSCALL_H_
12 
13 #define	NETBSD32_SYS_MAXSYSARGS	8
14 
15 /* syscall: "syscall" ret: "int" args: "int" "..." */
16 #define	NETBSD32_SYS_syscall	0
17 
18 /* syscall: "netbsd32_exit" ret: "void" args: "int" */
19 #define	NETBSD32_SYS_netbsd32_exit	1
20 
21 /* syscall: "fork" ret: "int" args: */
22 #define	NETBSD32_SYS_fork	2
23 
24 /* syscall: "netbsd32_read" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" */
25 #define	NETBSD32_SYS_netbsd32_read	3
26 
27 /* syscall: "netbsd32_write" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_voidp" "netbsd32_size_t" */
28 #define	NETBSD32_SYS_netbsd32_write	4
29 
30 /* syscall: "netbsd32_open" ret: "int" args: "const netbsd32_charp" "int" "..." */
31 #define	NETBSD32_SYS_netbsd32_open	5
32 
33 /* syscall: "netbsd32_close" ret: "int" args: "int" */
34 #define	NETBSD32_SYS_netbsd32_close	6
35 
36 /* syscall: "netbsd32_wait4" ret: "int" args: "int" "netbsd32_intp" "int" "netbsd32_rusagep_t" */
37 #define	NETBSD32_SYS_netbsd32_wait4	7
38 
39 /* syscall: "compat_43_netbsd32_ocreat" ret: "int" args: "const netbsd32_charp" "mode_t" */
40 #define	NETBSD32_SYS_compat_43_netbsd32_ocreat	8
41 
42 /* syscall: "netbsd32_link" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" */
43 #define	NETBSD32_SYS_netbsd32_link	9
44 
45 /* syscall: "netbsd32_unlink" ret: "int" args: "const netbsd32_charp" */
46 #define	NETBSD32_SYS_netbsd32_unlink	10
47 
48 				/* 11 is obsolete execv */
49 /* syscall: "netbsd32_chdir" ret: "int" args: "const netbsd32_charp" */
50 #define	NETBSD32_SYS_netbsd32_chdir	12
51 
52 /* syscall: "netbsd32_fchdir" ret: "int" args: "int" */
53 #define	NETBSD32_SYS_netbsd32_fchdir	13
54 
55 /* syscall: "netbsd32_mknod" ret: "int" args: "const netbsd32_charp" "mode_t" "dev_t" */
56 #define	NETBSD32_SYS_netbsd32_mknod	14
57 
58 /* syscall: "netbsd32_chmod" ret: "int" args: "const netbsd32_charp" "mode_t" */
59 #define	NETBSD32_SYS_netbsd32_chmod	15
60 
61 /* syscall: "netbsd32_chown" ret: "int" args: "const netbsd32_charp" "uid_t" "gid_t" */
62 #define	NETBSD32_SYS_netbsd32_chown	16
63 
64 /* syscall: "netbsd32_break" ret: "int" args: "netbsd32_charp" */
65 #define	NETBSD32_SYS_netbsd32_break	17
66 
67 /* syscall: "compat_20_netbsd32_getfsstat" ret: "int" args: "netbsd32_statfsp_t" "netbsd32_long" "int" */
68 #define	NETBSD32_SYS_compat_20_netbsd32_getfsstat	18
69 
70 /* syscall: "compat_43_netbsd32_olseek" ret: "netbsd32_long" args: "int" "netbsd32_long" "int" */
71 #define	NETBSD32_SYS_compat_43_netbsd32_olseek	19
72 
73 /* syscall: "getpid" ret: "pid_t" args: */
74 #define	NETBSD32_SYS_getpid	20
75 
76 /* syscall: "netbsd32_mount" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" "int" "netbsd32_voidp" */
77 #define	NETBSD32_SYS_netbsd32_mount	21
78 
79 /* syscall: "netbsd32_unmount" ret: "int" args: "const netbsd32_charp" "int" */
80 #define	NETBSD32_SYS_netbsd32_unmount	22
81 
82 /* syscall: "netbsd32_setuid" ret: "int" args: "uid_t" */
83 #define	NETBSD32_SYS_netbsd32_setuid	23
84 
85 /* syscall: "getuid" ret: "uid_t" args: */
86 #define	NETBSD32_SYS_getuid	24
87 
88 /* syscall: "geteuid" ret: "uid_t" args: */
89 #define	NETBSD32_SYS_geteuid	25
90 
91 /* syscall: "netbsd32_ptrace" ret: "int" args: "int" "pid_t" "netbsd32_caddr_t" "int" */
92 #define	NETBSD32_SYS_netbsd32_ptrace	26
93 
94 /* syscall: "netbsd32_recvmsg" ret: "netbsd32_ssize_t" args: "int" "netbsd32_msghdrp_t" "int" */
95 #define	NETBSD32_SYS_netbsd32_recvmsg	27
96 
97 /* syscall: "netbsd32_sendmsg" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_msghdrp_t" "int" */
98 #define	NETBSD32_SYS_netbsd32_sendmsg	28
99 
100 /* syscall: "netbsd32_recvfrom" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" "int" "netbsd32_sockaddrp_t" "netbsd32_intp" */
101 #define	NETBSD32_SYS_netbsd32_recvfrom	29
102 
103 /* syscall: "netbsd32_accept" ret: "int" args: "int" "netbsd32_sockaddrp_t" "netbsd32_intp" */
104 #define	NETBSD32_SYS_netbsd32_accept	30
105 
106 /* syscall: "netbsd32_getpeername" ret: "int" args: "int" "netbsd32_sockaddrp_t" "netbsd32_intp" */
107 #define	NETBSD32_SYS_netbsd32_getpeername	31
108 
109 /* syscall: "netbsd32_getsockname" ret: "int" args: "int" "netbsd32_sockaddrp_t" "netbsd32_intp" */
110 #define	NETBSD32_SYS_netbsd32_getsockname	32
111 
112 /* syscall: "netbsd32_access" ret: "int" args: "const netbsd32_charp" "int" */
113 #define	NETBSD32_SYS_netbsd32_access	33
114 
115 /* syscall: "netbsd32_chflags" ret: "int" args: "const netbsd32_charp" "netbsd32_u_long" */
116 #define	NETBSD32_SYS_netbsd32_chflags	34
117 
118 /* syscall: "netbsd32_fchflags" ret: "int" args: "int" "netbsd32_u_long" */
119 #define	NETBSD32_SYS_netbsd32_fchflags	35
120 
121 /* syscall: "sync" ret: "void" args: */
122 #define	NETBSD32_SYS_sync	36
123 
124 /* syscall: "netbsd32_kill" ret: "int" args: "int" "int" */
125 #define	NETBSD32_SYS_netbsd32_kill	37
126 
127 /* syscall: "compat_43_netbsd32_stat43" ret: "int" args: "const netbsd32_charp" "netbsd32_stat43p_t" */
128 #define	NETBSD32_SYS_compat_43_netbsd32_stat43	38
129 
130 /* syscall: "getppid" ret: "pid_t" args: */
131 #define	NETBSD32_SYS_getppid	39
132 
133 /* syscall: "compat_43_netbsd32_lstat43" ret: "int" args: "const netbsd32_charp" "netbsd32_stat43p_t" */
134 #define	NETBSD32_SYS_compat_43_netbsd32_lstat43	40
135 
136 /* syscall: "netbsd32_dup" ret: "int" args: "int" */
137 #define	NETBSD32_SYS_netbsd32_dup	41
138 
139 /* syscall: "pipe" ret: "int" args: */
140 #define	NETBSD32_SYS_pipe	42
141 
142 /* syscall: "getegid" ret: "gid_t" args: */
143 #define	NETBSD32_SYS_getegid	43
144 
145 /* syscall: "netbsd32_profil" ret: "int" args: "netbsd32_caddr_t" "netbsd32_size_t" "netbsd32_u_long" "u_int" */
146 #define	NETBSD32_SYS_netbsd32_profil	44
147 
148 /* syscall: "netbsd32_ktrace" ret: "int" args: "const netbsd32_charp" "int" "int" "int" */
149 #define	NETBSD32_SYS_netbsd32_ktrace	45
150 
151 /* syscall: "netbsd32_sigaction" ret: "int" args: "int" "const netbsd32_sigactionp_t" "netbsd32_sigactionp_t" */
152 #define	NETBSD32_SYS_netbsd32_sigaction	46
153 
154 /* syscall: "getgid" ret: "gid_t" args: */
155 #define	NETBSD32_SYS_getgid	47
156 
157 /* syscall: "compat_13_sigprocmask13" ret: "int" args: "int" "int" */
158 #define	NETBSD32_SYS_compat_13_sigprocmask13	48
159 
160 /* syscall: "netbsd32___getlogin" ret: "int" args: "netbsd32_charp" "u_int" */
161 #define	NETBSD32_SYS_netbsd32___getlogin	49
162 
163 /* syscall: "netbsd32_setlogin" ret: "int" args: "const netbsd32_charp" */
164 #define	NETBSD32_SYS_netbsd32_setlogin	50
165 
166 /* syscall: "netbsd32_acct" ret: "int" args: "const netbsd32_charp" */
167 #define	NETBSD32_SYS_netbsd32_acct	51
168 
169 /* syscall: "compat_13_sigpending13" ret: "int" args: */
170 #define	NETBSD32_SYS_compat_13_sigpending13	52
171 
172 /* syscall: "compat_13_netbsd32_sigaltstack13" ret: "int" args: "const netbsd32_sigaltstack13p_t" "netbsd32_sigaltstack13p_t" */
173 #define	NETBSD32_SYS_compat_13_netbsd32_sigaltstack13	53
174 
175 /* syscall: "netbsd32_ioctl" ret: "int" args: "int" "netbsd32_u_long" "..." */
176 #define	NETBSD32_SYS_netbsd32_ioctl	54
177 
178 /* syscall: "compat_12_netbsd32_reboot" ret: "int" args: "int" */
179 #define	NETBSD32_SYS_compat_12_netbsd32_reboot	55
180 
181 /* syscall: "netbsd32_revoke" ret: "int" args: "const netbsd32_charp" */
182 #define	NETBSD32_SYS_netbsd32_revoke	56
183 
184 /* syscall: "netbsd32_symlink" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" */
185 #define	NETBSD32_SYS_netbsd32_symlink	57
186 
187 /* syscall: "netbsd32_readlink" ret: "int" args: "const netbsd32_charp" "netbsd32_charp" "netbsd32_size_t" */
188 #define	NETBSD32_SYS_netbsd32_readlink	58
189 
190 /* syscall: "netbsd32_execve" ret: "int" args: "const netbsd32_charp" "netbsd32_charpp" "netbsd32_charpp" */
191 #define	NETBSD32_SYS_netbsd32_execve	59
192 
193 /* syscall: "netbsd32_umask" ret: "mode_t" args: "mode_t" */
194 #define	NETBSD32_SYS_netbsd32_umask	60
195 
196 /* syscall: "netbsd32_chroot" ret: "int" args: "const netbsd32_charp" */
197 #define	NETBSD32_SYS_netbsd32_chroot	61
198 
199 /* syscall: "compat_43_netbsd32_fstat43" ret: "int" args: "int" "netbsd32_stat43p_t" */
200 #define	NETBSD32_SYS_compat_43_netbsd32_fstat43	62
201 
202 /* syscall: "compat_43_netbsd32_ogetkerninfo" ret: "int" args: "int" "netbsd32_charp" "netbsd32_intp" "int" */
203 #define	NETBSD32_SYS_compat_43_netbsd32_ogetkerninfo	63
204 
205 /* syscall: "compat_43_ogetpagesize" ret: "int" args: */
206 #define	NETBSD32_SYS_compat_43_ogetpagesize	64
207 
208 /* syscall: "compat_12_netbsd32_msync" ret: "int" args: "netbsd32_caddr_t" "netbsd32_size_t" */
209 #define	NETBSD32_SYS_compat_12_netbsd32_msync	65
210 
211 /* syscall: "vfork" ret: "int" args: */
212 #define	NETBSD32_SYS_vfork	66
213 
214 				/* 67 is obsolete vread */
215 				/* 68 is obsolete vwrite */
216 /* syscall: "netbsd32_sbrk" ret: "int" args: "netbsd32_intptr_t" */
217 #define	NETBSD32_SYS_netbsd32_sbrk	69
218 
219 /* syscall: "netbsd32_sstk" ret: "int" args: "int" */
220 #define	NETBSD32_SYS_netbsd32_sstk	70
221 
222 /* syscall: "compat_43_netbsd32_ommap" ret: "int" args: "netbsd32_caddr_t" "netbsd32_size_t" "int" "int" "int" "netbsd32_long" */
223 #define	NETBSD32_SYS_compat_43_netbsd32_ommap	71
224 
225 /* syscall: "vadvise" ret: "int" args: "int" */
226 #define	NETBSD32_SYS_vadvise	72
227 
228 /* syscall: "netbsd32_munmap" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" */
229 #define	NETBSD32_SYS_netbsd32_munmap	73
230 
231 /* syscall: "netbsd32_mprotect" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */
232 #define	NETBSD32_SYS_netbsd32_mprotect	74
233 
234 /* syscall: "netbsd32_madvise" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */
235 #define	NETBSD32_SYS_netbsd32_madvise	75
236 
237 				/* 76 is obsolete vhangup */
238 				/* 77 is obsolete vlimit */
239 /* syscall: "netbsd32_mincore" ret: "int" args: "netbsd32_caddr_t" "netbsd32_size_t" "netbsd32_charp" */
240 #define	NETBSD32_SYS_netbsd32_mincore	78
241 
242 /* syscall: "netbsd32_getgroups" ret: "int" args: "int" "netbsd32_gid_tp" */
243 #define	NETBSD32_SYS_netbsd32_getgroups	79
244 
245 /* syscall: "netbsd32_setgroups" ret: "int" args: "int" "const netbsd32_gid_tp" */
246 #define	NETBSD32_SYS_netbsd32_setgroups	80
247 
248 /* syscall: "getpgrp" ret: "int" args: */
249 #define	NETBSD32_SYS_getpgrp	81
250 
251 /* syscall: "netbsd32_setpgid" ret: "int" args: "int" "int" */
252 #define	NETBSD32_SYS_netbsd32_setpgid	82
253 
254 /* syscall: "netbsd32_setitimer" ret: "int" args: "int" "const netbsd32_itimervalp_t" "netbsd32_itimervalp_t" */
255 #define	NETBSD32_SYS_netbsd32_setitimer	83
256 
257 /* syscall: "compat_43_owait" ret: "int" args: */
258 #define	NETBSD32_SYS_compat_43_owait	84
259 
260 /* syscall: "compat_12_netbsd32_oswapon" ret: "int" args: "const netbsd32_charp" */
261 #define	NETBSD32_SYS_compat_12_netbsd32_oswapon	85
262 
263 /* syscall: "netbsd32_getitimer" ret: "int" args: "int" "netbsd32_itimervalp_t" */
264 #define	NETBSD32_SYS_netbsd32_getitimer	86
265 
266 /* syscall: "compat_43_netbsd32_ogethostname" ret: "int" args: "netbsd32_charp" "u_int" */
267 #define	NETBSD32_SYS_compat_43_netbsd32_ogethostname	87
268 
269 /* syscall: "compat_43_netbsd32_osethostname" ret: "int" args: "netbsd32_charp" "u_int" */
270 #define	NETBSD32_SYS_compat_43_netbsd32_osethostname	88
271 
272 /* syscall: "compat_43_ogetdtablesize" ret: "int" args: */
273 #define	NETBSD32_SYS_compat_43_ogetdtablesize	89
274 
275 /* syscall: "netbsd32_dup2" ret: "int" args: "int" "int" */
276 #define	NETBSD32_SYS_netbsd32_dup2	90
277 
278 /* syscall: "netbsd32_fcntl" ret: "int" args: "int" "int" "..." */
279 #define	NETBSD32_SYS_netbsd32_fcntl	92
280 
281 /* syscall: "netbsd32_select" ret: "int" args: "int" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "netbsd32_timevalp_t" */
282 #define	NETBSD32_SYS_netbsd32_select	93
283 
284 /* syscall: "netbsd32_fsync" ret: "int" args: "int" */
285 #define	NETBSD32_SYS_netbsd32_fsync	95
286 
287 /* syscall: "netbsd32_setpriority" ret: "int" args: "int" "int" "int" */
288 #define	NETBSD32_SYS_netbsd32_setpriority	96
289 
290 /* syscall: "compat_30_netbsd32_socket" ret: "int" args: "int" "int" "int" */
291 #define	NETBSD32_SYS_compat_30_netbsd32_socket	97
292 
293 /* syscall: "netbsd32_connect" ret: "int" args: "int" "const netbsd32_sockaddrp_t" "int" */
294 #define	NETBSD32_SYS_netbsd32_connect	98
295 
296 /* syscall: "compat_43_netbsd32_oaccept" ret: "int" args: "int" "netbsd32_caddr_t" "netbsd32_intp" */
297 #define	NETBSD32_SYS_compat_43_netbsd32_oaccept	99
298 
299 /* syscall: "netbsd32_getpriority" ret: "int" args: "int" "int" */
300 #define	NETBSD32_SYS_netbsd32_getpriority	100
301 
302 /* syscall: "compat_43_netbsd32_osend" ret: "int" args: "int" "netbsd32_caddr_t" "int" "int" */
303 #define	NETBSD32_SYS_compat_43_netbsd32_osend	101
304 
305 /* syscall: "compat_43_netbsd32_orecv" ret: "int" args: "int" "netbsd32_caddr_t" "int" "int" */
306 #define	NETBSD32_SYS_compat_43_netbsd32_orecv	102
307 
308 /* syscall: "compat_13_sigreturn13" ret: "int" args: "netbsd32_sigcontextp_t" */
309 #define	NETBSD32_SYS_compat_13_sigreturn13	103
310 
311 /* syscall: "netbsd32_bind" ret: "int" args: "int" "const netbsd32_sockaddrp_t" "int" */
312 #define	NETBSD32_SYS_netbsd32_bind	104
313 
314 /* syscall: "netbsd32_setsockopt" ret: "int" args: "int" "int" "int" "const netbsd32_voidp" "int" */
315 #define	NETBSD32_SYS_netbsd32_setsockopt	105
316 
317 /* syscall: "netbsd32_listen" ret: "int" args: "int" "int" */
318 #define	NETBSD32_SYS_netbsd32_listen	106
319 
320 				/* 107 is obsolete vtimes */
321 /* syscall: "compat_43_netbsd32_osigvec" ret: "int" args: "int" "netbsd32_sigvecp_t" "netbsd32_sigvecp_t" */
322 #define	NETBSD32_SYS_compat_43_netbsd32_osigvec	108
323 
324 /* syscall: "compat_43_netbsd32_sigblock" ret: "int" args: "int" */
325 #define	NETBSD32_SYS_compat_43_netbsd32_sigblock	109
326 
327 /* syscall: "compat_43_netbsd32_sigsetmask" ret: "int" args: "int" */
328 #define	NETBSD32_SYS_compat_43_netbsd32_sigsetmask	110
329 
330 /* syscall: "compat_13_sigsuspend13" ret: "int" args: "int" */
331 #define	NETBSD32_SYS_compat_13_sigsuspend13	111
332 
333 /* syscall: "compat_43_netbsd32_osigstack" ret: "int" args: "netbsd32_sigstackp_t" "netbsd32_sigstackp_t" */
334 #define	NETBSD32_SYS_compat_43_netbsd32_osigstack	112
335 
336 /* syscall: "compat_43_netbsd32_orecvmsg" ret: "int" args: "int" "netbsd32_omsghdrp_t" "int" */
337 #define	NETBSD32_SYS_compat_43_netbsd32_orecvmsg	113
338 
339 /* syscall: "compat_43_netbsd32_osendmsg" ret: "int" args: "int" "netbsd32_caddr_t" "int" */
340 #define	NETBSD32_SYS_compat_43_netbsd32_osendmsg	114
341 
342 				/* 115 is obsolete vtrace */
343 /* syscall: "netbsd32_gettimeofday" ret: "int" args: "netbsd32_timevalp_t" "netbsd32_timezonep_t" */
344 #define	NETBSD32_SYS_netbsd32_gettimeofday	116
345 
346 /* syscall: "netbsd32_getrusage" ret: "int" args: "int" "netbsd32_rusagep_t" */
347 #define	NETBSD32_SYS_netbsd32_getrusage	117
348 
349 /* syscall: "netbsd32_getsockopt" ret: "int" args: "int" "int" "int" "netbsd32_voidp" "netbsd32_intp" */
350 #define	NETBSD32_SYS_netbsd32_getsockopt	118
351 
352 				/* 119 is obsolete resuba */
353 /* syscall: "netbsd32_readv" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_iovecp_t" "int" */
354 #define	NETBSD32_SYS_netbsd32_readv	120
355 
356 /* syscall: "netbsd32_writev" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_iovecp_t" "int" */
357 #define	NETBSD32_SYS_netbsd32_writev	121
358 
359 /* syscall: "netbsd32_settimeofday" ret: "int" args: "const netbsd32_timevalp_t" "const netbsd32_timezonep_t" */
360 #define	NETBSD32_SYS_netbsd32_settimeofday	122
361 
362 /* syscall: "netbsd32_fchown" ret: "int" args: "int" "uid_t" "gid_t" */
363 #define	NETBSD32_SYS_netbsd32_fchown	123
364 
365 /* syscall: "netbsd32_fchmod" ret: "int" args: "int" "mode_t" */
366 #define	NETBSD32_SYS_netbsd32_fchmod	124
367 
368 /* syscall: "compat_43_netbsd32_orecvfrom" ret: "int" args: "int" "netbsd32_caddr_t" "netbsd32_size_t" "int" "netbsd32_caddr_t" "netbsd32_intp" */
369 #define	NETBSD32_SYS_compat_43_netbsd32_orecvfrom	125
370 
371 /* syscall: "netbsd32_setreuid" ret: "int" args: "uid_t" "uid_t" */
372 #define	NETBSD32_SYS_netbsd32_setreuid	126
373 
374 /* syscall: "netbsd32_setregid" ret: "int" args: "gid_t" "gid_t" */
375 #define	NETBSD32_SYS_netbsd32_setregid	127
376 
377 /* syscall: "netbsd32_rename" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" */
378 #define	NETBSD32_SYS_netbsd32_rename	128
379 
380 /* syscall: "compat_43_netbsd32_otruncate" ret: "int" args: "const netbsd32_charp" "netbsd32_long" */
381 #define	NETBSD32_SYS_compat_43_netbsd32_otruncate	129
382 
383 /* syscall: "compat_43_netbsd32_oftruncate" ret: "int" args: "int" "netbsd32_long" */
384 #define	NETBSD32_SYS_compat_43_netbsd32_oftruncate	130
385 
386 /* syscall: "netbsd32_flock" ret: "int" args: "int" "int" */
387 #define	NETBSD32_SYS_netbsd32_flock	131
388 
389 /* syscall: "netbsd32_mkfifo" ret: "int" args: "const netbsd32_charp" "mode_t" */
390 #define	NETBSD32_SYS_netbsd32_mkfifo	132
391 
392 /* syscall: "netbsd32_sendto" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_voidp" "netbsd32_size_t" "int" "const netbsd32_sockaddrp_t" "int" */
393 #define	NETBSD32_SYS_netbsd32_sendto	133
394 
395 /* syscall: "netbsd32_shutdown" ret: "int" args: "int" "int" */
396 #define	NETBSD32_SYS_netbsd32_shutdown	134
397 
398 /* syscall: "netbsd32_socketpair" ret: "int" args: "int" "int" "int" "netbsd32_intp" */
399 #define	NETBSD32_SYS_netbsd32_socketpair	135
400 
401 /* syscall: "netbsd32_mkdir" ret: "int" args: "const netbsd32_charp" "mode_t" */
402 #define	NETBSD32_SYS_netbsd32_mkdir	136
403 
404 /* syscall: "netbsd32_rmdir" ret: "int" args: "const netbsd32_charp" */
405 #define	NETBSD32_SYS_netbsd32_rmdir	137
406 
407 /* syscall: "netbsd32_utimes" ret: "int" args: "const netbsd32_charp" "const netbsd32_timevalp_t" */
408 #define	NETBSD32_SYS_netbsd32_utimes	138
409 
410 				/* 139 is obsolete 4.2 sigreturn */
411 /* syscall: "netbsd32_adjtime" ret: "int" args: "const netbsd32_timevalp_t" "netbsd32_timevalp_t" */
412 #define	NETBSD32_SYS_netbsd32_adjtime	140
413 
414 /* syscall: "compat_43_netbsd32_ogetpeername" ret: "int" args: "int" "netbsd32_caddr_t" "netbsd32_intp" */
415 #define	NETBSD32_SYS_compat_43_netbsd32_ogetpeername	141
416 
417 /* syscall: "compat_43_ogethostid" ret: "int32_t" args: */
418 #define	NETBSD32_SYS_compat_43_ogethostid	142
419 
420 /* syscall: "compat_43_netbsd32_sethostid" ret: "int" args: "int32_t" */
421 #define	NETBSD32_SYS_compat_43_netbsd32_sethostid	143
422 
423 /* syscall: "compat_43_netbsd32_ogetrlimit" ret: "int" args: "int" "netbsd32_orlimitp_t" */
424 #define	NETBSD32_SYS_compat_43_netbsd32_ogetrlimit	144
425 
426 /* syscall: "compat_43_netbsd32_osetrlimit" ret: "int" args: "int" "const netbsd32_orlimitp_t" */
427 #define	NETBSD32_SYS_compat_43_netbsd32_osetrlimit	145
428 
429 /* syscall: "compat_43_netbsd32_killpg" ret: "int" args: "int" "int" */
430 #define	NETBSD32_SYS_compat_43_netbsd32_killpg	146
431 
432 /* syscall: "setsid" ret: "int" args: */
433 #define	NETBSD32_SYS_setsid	147
434 
435 /* syscall: "netbsd32_quotactl" ret: "int" args: "const netbsd32_charp" "int" "int" "netbsd32_caddr_t" */
436 #define	NETBSD32_SYS_netbsd32_quotactl	148
437 
438 /* syscall: "compat_43_oquota" ret: "int" args: */
439 #define	NETBSD32_SYS_compat_43_oquota	149
440 
441 /* syscall: "compat_43_netbsd32_ogetsockname" ret: "int" args: "int" "netbsd32_caddr_t" "netbsd32_intp" */
442 #define	NETBSD32_SYS_compat_43_netbsd32_ogetsockname	150
443 
444 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
445 /* syscall: "netbsd32_nfssvc" ret: "int" args: "int" "netbsd32_voidp" */
446 #define	NETBSD32_SYS_netbsd32_nfssvc	155
447 
448 #else
449 				/* 155 is excluded netbsd32_nfssvc */
450 #endif
451 /* syscall: "compat_43_netbsd32_ogetdirentries" ret: "int" args: "int" "netbsd32_charp" "u_int" "netbsd32_longp" */
452 #define	NETBSD32_SYS_compat_43_netbsd32_ogetdirentries	156
453 
454 /* syscall: "compat_20_netbsd32_statfs" ret: "int" args: "const netbsd32_charp" "netbsd32_statfsp_t" */
455 #define	NETBSD32_SYS_compat_20_netbsd32_statfs	157
456 
457 /* syscall: "compat_20_netbsd32_fstatfs" ret: "int" args: "int" "netbsd32_statfsp_t" */
458 #define	NETBSD32_SYS_compat_20_netbsd32_fstatfs	158
459 
460 /* syscall: "compat_30_netbsd32_getfh" ret: "int" args: "const netbsd32_charp" "netbsd32_compat_30_fhandlep_t" */
461 #define	NETBSD32_SYS_compat_30_netbsd32_getfh	161
462 
463 /* syscall: "compat_09_netbsd32_ogetdomainname" ret: "int" args: "netbsd32_charp" "int" */
464 #define	NETBSD32_SYS_compat_09_netbsd32_ogetdomainname	162
465 
466 /* syscall: "compat_09_netbsd32_osetdomainname" ret: "int" args: "netbsd32_charp" "int" */
467 #define	NETBSD32_SYS_compat_09_netbsd32_osetdomainname	163
468 
469 /* syscall: "compat_09_netbsd32_uname" ret: "int" args: "netbsd32_outsnamep_t" */
470 #define	NETBSD32_SYS_compat_09_netbsd32_uname	164
471 
472 /* syscall: "netbsd32_sysarch" ret: "int" args: "int" "netbsd32_voidp" */
473 #define	NETBSD32_SYS_netbsd32_sysarch	165
474 
475 #if defined(SYSVSEM) || !defined(_KERNEL)
476 /* syscall: "compat_10_osemsys" ret: "int" args: "int" "int" "int" "int" "int" */
477 #define	NETBSD32_SYS_compat_10_osemsys	169
478 
479 #else
480 				/* 169 is excluded netbsd32_sys_semsys */
481 #endif
482 #if defined(SYSVMSG) || !defined(_KERNEL)
483 /* syscall: "compat_10_omsgsys" ret: "int" args: "int" "int" "int" "int" "int" "int" */
484 #define	NETBSD32_SYS_compat_10_omsgsys	170
485 
486 #else
487 				/* 170 is excluded netbsd32_sys_msgsys */
488 #endif
489 #if defined(SYSVSHM) || !defined(_KERNEL)
490 /* syscall: "compat_10_oshmsys" ret: "int" args: "int" "int" "int" "int" */
491 #define	NETBSD32_SYS_compat_10_oshmsys	171
492 
493 #else
494 				/* 171 is excluded netbsd32_sys_shmsys */
495 #endif
496 /* syscall: "netbsd32_pread" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" "int" "off_t" */
497 #define	NETBSD32_SYS_netbsd32_pread	173
498 
499 /* syscall: "netbsd32_pwrite" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_voidp" "netbsd32_size_t" "int" "off_t" */
500 #define	NETBSD32_SYS_netbsd32_pwrite	174
501 
502 /* syscall: "compat_30_netbsd32_ntp_gettime" ret: "int" args: "netbsd32_ntptimevalp_t" */
503 #define	NETBSD32_SYS_compat_30_netbsd32_ntp_gettime	175
504 
505 /* syscall: "netbsd32_ntp_adjtime" ret: "int" args: "netbsd32_timexp_t" */
506 #define	NETBSD32_SYS_netbsd32_ntp_adjtime	176
507 
508 /* syscall: "netbsd32_setgid" ret: "int" args: "gid_t" */
509 #define	NETBSD32_SYS_netbsd32_setgid	181
510 
511 /* syscall: "netbsd32_setegid" ret: "int" args: "gid_t" */
512 #define	NETBSD32_SYS_netbsd32_setegid	182
513 
514 /* syscall: "netbsd32_seteuid" ret: "int" args: "uid_t" */
515 #define	NETBSD32_SYS_netbsd32_seteuid	183
516 
517 #if defined(LFS) || !defined(_KERNEL)
518 /* syscall: "lfs_bmapv" ret: "int" args: "netbsd32_fsid_tp_t" "netbsd32_block_infop_t" "int" */
519 #define	NETBSD32_SYS_lfs_bmapv	184
520 
521 /* syscall: "lfs_markv" ret: "int" args: "netbsd32_fsid_tp_t" "netbsd32_block_infop_t" "int" */
522 #define	NETBSD32_SYS_lfs_markv	185
523 
524 /* syscall: "lfs_segclean" ret: "int" args: "netbsd32_fsid_tp_t" "netbsd32_u_long" */
525 #define	NETBSD32_SYS_lfs_segclean	186
526 
527 /* syscall: "lfs_segwait" ret: "int" args: "netbsd32_fsid_tp_t" "netbsd32_timevalp_t" */
528 #define	NETBSD32_SYS_lfs_segwait	187
529 
530 #else
531 				/* 184 is excluded netbsd32_sys_lfs_bmapv */
532 				/* 185 is excluded netbsd32_sys_lfs_markv */
533 				/* 186 is excluded netbsd32_sys_lfs_segclean */
534 				/* 187 is excluded netbsd32_sys_lfs_segwait */
535 #endif
536 /* syscall: "compat_12_netbsd32_stat12" ret: "int" args: "const netbsd32_charp" "netbsd32_stat12p_t" */
537 #define	NETBSD32_SYS_compat_12_netbsd32_stat12	188
538 
539 /* syscall: "compat_12_netbsd32_fstat12" ret: "int" args: "int" "netbsd32_stat12p_t" */
540 #define	NETBSD32_SYS_compat_12_netbsd32_fstat12	189
541 
542 /* syscall: "compat_12_netbsd32_lstat12" ret: "int" args: "const netbsd32_charp" "netbsd32_stat12p_t" */
543 #define	NETBSD32_SYS_compat_12_netbsd32_lstat12	190
544 
545 /* syscall: "netbsd32_pathconf" ret: "netbsd32_long" args: "const netbsd32_charp" "int" */
546 #define	NETBSD32_SYS_netbsd32_pathconf	191
547 
548 /* syscall: "netbsd32_fpathconf" ret: "netbsd32_long" args: "int" "int" */
549 #define	NETBSD32_SYS_netbsd32_fpathconf	192
550 
551 /* syscall: "netbsd32_getrlimit" ret: "int" args: "int" "netbsd32_rlimitp_t" */
552 #define	NETBSD32_SYS_netbsd32_getrlimit	194
553 
554 /* syscall: "netbsd32_setrlimit" ret: "int" args: "int" "const netbsd32_rlimitp_t" */
555 #define	NETBSD32_SYS_netbsd32_setrlimit	195
556 
557 /* syscall: "compat_12_netbsd32_getdirentries" ret: "int" args: "int" "netbsd32_charp" "u_int" "netbsd32_longp" */
558 #define	NETBSD32_SYS_compat_12_netbsd32_getdirentries	196
559 
560 /* syscall: "netbsd32_mmap" ret: "netbsd32_voidp" args: "netbsd32_voidp" "netbsd32_size_t" "int" "int" "int" "netbsd32_long" "off_t" */
561 #define	NETBSD32_SYS_netbsd32_mmap	197
562 
563 /* syscall: "__syscall" ret: "quad_t" args: "quad_t" "..." */
564 #define	NETBSD32_SYS___syscall	198
565 
566 /* syscall: "netbsd32_lseek" ret: "off_t" args: "int" "int" "off_t" "int" */
567 #define	NETBSD32_SYS_netbsd32_lseek	199
568 
569 /* syscall: "netbsd32_truncate" ret: "int" args: "const netbsd32_charp" "int" "off_t" */
570 #define	NETBSD32_SYS_netbsd32_truncate	200
571 
572 /* syscall: "netbsd32_ftruncate" ret: "int" args: "int" "int" "off_t" */
573 #define	NETBSD32_SYS_netbsd32_ftruncate	201
574 
575 /* syscall: "netbsd32___sysctl" ret: "int" args: "netbsd32_intp" "u_int" "netbsd32_voidp" "netbsd32_size_tp" "netbsd32_voidp" "netbsd32_size_t" */
576 #define	NETBSD32_SYS_netbsd32___sysctl	202
577 
578 /* syscall: "netbsd32_mlock" ret: "int" args: "const netbsd32_voidp" "netbsd32_size_t" */
579 #define	NETBSD32_SYS_netbsd32_mlock	203
580 
581 /* syscall: "netbsd32_munlock" ret: "int" args: "const netbsd32_voidp" "netbsd32_size_t" */
582 #define	NETBSD32_SYS_netbsd32_munlock	204
583 
584 /* syscall: "netbsd32_undelete" ret: "int" args: "const netbsd32_charp" */
585 #define	NETBSD32_SYS_netbsd32_undelete	205
586 
587 /* syscall: "netbsd32_futimes" ret: "int" args: "int" "const netbsd32_timevalp_t" */
588 #define	NETBSD32_SYS_netbsd32_futimes	206
589 
590 /* syscall: "netbsd32_getpgid" ret: "int" args: "pid_t" */
591 #define	NETBSD32_SYS_netbsd32_getpgid	207
592 
593 /* syscall: "netbsd32_reboot" ret: "int" args: "int" "netbsd32_charp" */
594 #define	NETBSD32_SYS_netbsd32_reboot	208
595 
596 /* syscall: "netbsd32_poll" ret: "int" args: "netbsd32_pollfdp_t" "u_int" "int" */
597 #define	NETBSD32_SYS_netbsd32_poll	209
598 
599 #if defined(LKM) || !defined(_KERNEL)
600 #else	/* !LKM || !_KERNEL */
601 				/* 210 is excluded lkmnosys */
602 				/* 211 is excluded lkmnosys */
603 				/* 212 is excluded lkmnosys */
604 				/* 213 is excluded lkmnosys */
605 				/* 214 is excluded lkmnosys */
606 				/* 215 is excluded lkmnosys */
607 				/* 216 is excluded lkmnosys */
608 				/* 217 is excluded lkmnosys */
609 				/* 218 is excluded lkmnosys */
610 				/* 219 is excluded lkmnosys */
611 #endif	/* !LKM || !_KERNEL */
612 #if defined(SYSVSEM) || !defined(_KERNEL)
613 /* syscall: "compat_14_netbsd32___semctl" ret: "int" args: "int" "int" "int" "netbsd32_semunu_t" */
614 #define	NETBSD32_SYS_compat_14_netbsd32___semctl	220
615 
616 /* syscall: "netbsd32_semget" ret: "int" args: "netbsd32_key_t" "int" "int" */
617 #define	NETBSD32_SYS_netbsd32_semget	221
618 
619 /* syscall: "netbsd32_semop" ret: "int" args: "int" "netbsd32_sembufp_t" "netbsd32_size_t" */
620 #define	NETBSD32_SYS_netbsd32_semop	222
621 
622 /* syscall: "netbsd32_semconfig" ret: "int" args: "int" */
623 #define	NETBSD32_SYS_netbsd32_semconfig	223
624 
625 #else
626 				/* 220 is excluded compat_14_netbsd32_semctl */
627 				/* 221 is excluded netbsd32_semget */
628 				/* 222 is excluded netbsd32_semop */
629 				/* 223 is excluded netbsd32_semconfig */
630 #endif
631 #if defined(SYSVMSG) || !defined(_KERNEL)
632 /* syscall: "compat_14_netbsd32_msgctl" ret: "int" args: "int" "int" "netbsd32_msqid_dsp_t" */
633 #define	NETBSD32_SYS_compat_14_netbsd32_msgctl	224
634 
635 /* syscall: "netbsd32_msgget" ret: "int" args: "netbsd32_key_t" "int" */
636 #define	NETBSD32_SYS_netbsd32_msgget	225
637 
638 /* syscall: "netbsd32_msgsnd" ret: "int" args: "int" "const netbsd32_voidp" "netbsd32_size_t" "int" */
639 #define	NETBSD32_SYS_netbsd32_msgsnd	226
640 
641 /* syscall: "netbsd32_msgrcv" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" "netbsd32_long" "int" */
642 #define	NETBSD32_SYS_netbsd32_msgrcv	227
643 
644 #else
645 				/* 224 is excluded compat_14_netbsd32_msgctl */
646 				/* 225 is excluded netbsd32_msgget */
647 				/* 226 is excluded netbsd32_msgsnd */
648 				/* 227 is excluded netbsd32_msgrcv */
649 #endif
650 #if defined(SYSVSHM) || !defined(_KERNEL)
651 /* syscall: "netbsd32_shmat" ret: "netbsd32_voidp" args: "int" "const netbsd32_voidp" "int" */
652 #define	NETBSD32_SYS_netbsd32_shmat	228
653 
654 /* syscall: "compat_14_netbsd32_shmctl" ret: "int" args: "int" "int" "netbsd32_shmid_dsp_t" */
655 #define	NETBSD32_SYS_compat_14_netbsd32_shmctl	229
656 
657 /* syscall: "netbsd32_shmdt" ret: "int" args: "const netbsd32_voidp" */
658 #define	NETBSD32_SYS_netbsd32_shmdt	230
659 
660 /* syscall: "netbsd32_shmget" ret: "int" args: "netbsd32_key_t" "netbsd32_size_t" "int" */
661 #define	NETBSD32_SYS_netbsd32_shmget	231
662 
663 #else
664 				/* 228 is excluded netbsd32_shmat */
665 				/* 229 is excluded compat_14_netbsd32_shmctl */
666 				/* 230 is excluded netbsd32_shmdt */
667 				/* 231 is excluded netbsd32_shmget */
668 #endif
669 /* syscall: "netbsd32_clock_gettime" ret: "int" args: "netbsd32_clockid_t" "netbsd32_timespecp_t" */
670 #define	NETBSD32_SYS_netbsd32_clock_gettime	232
671 
672 /* syscall: "netbsd32_clock_settime" ret: "int" args: "netbsd32_clockid_t" "const netbsd32_timespecp_t" */
673 #define	NETBSD32_SYS_netbsd32_clock_settime	233
674 
675 /* syscall: "netbsd32_clock_getres" ret: "int" args: "netbsd32_clockid_t" "netbsd32_timespecp_t" */
676 #define	NETBSD32_SYS_netbsd32_clock_getres	234
677 
678 /* syscall: "netbsd32_timer_create" ret: "int" args: "netbsd32_clockid_t" "netbsd32_sigeventp_t" "netbsd32_timerp_t" */
679 #define	NETBSD32_SYS_netbsd32_timer_create	235
680 
681 /* syscall: "netbsd32_timer_delete" ret: "int" args: "netbsd32_timer_t" */
682 #define	NETBSD32_SYS_netbsd32_timer_delete	236
683 
684 /* syscall: "netbsd32_timer_settime" ret: "int" args: "netbsd32_timer_t" "int" "const netbsd32_itimerspecp_t" "netbsd32_itimerspecp_t" */
685 #define	NETBSD32_SYS_netbsd32_timer_settime	237
686 
687 /* syscall: "netbsd32_timer_gettime" ret: "int" args: "netbsd32_timer_t" "netbsd32_itimerspecp_t" */
688 #define	NETBSD32_SYS_netbsd32_timer_gettime	238
689 
690 /* syscall: "netbsd32_timer_getoverrun" ret: "int" args: "netbsd32_timer_t" */
691 #define	NETBSD32_SYS_netbsd32_timer_getoverrun	239
692 
693 /* syscall: "netbsd32_nanosleep" ret: "int" args: "const netbsd32_timespecp_t" "netbsd32_timespecp_t" */
694 #define	NETBSD32_SYS_netbsd32_nanosleep	240
695 
696 /* syscall: "netbsd32_fdatasync" ret: "int" args: "int" */
697 #define	NETBSD32_SYS_netbsd32_fdatasync	241
698 
699 /* syscall: "netbsd32_mlockall" ret: "int" args: "int" */
700 #define	NETBSD32_SYS_netbsd32_mlockall	242
701 
702 /* syscall: "munlockall" ret: "int" args: */
703 #define	NETBSD32_SYS_munlockall	243
704 
705 /* syscall: "netbsd32___sigtimedwait" ret: "int" args: "const netbsd32_sigsetp_t" "netbsd32_siginfop_t" "netbsd32_timespecp_t" */
706 #define	NETBSD32_SYS_netbsd32___sigtimedwait	244
707 
708 #if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL) && defined(_LIBC))
709 /* syscall: "netbsd32__ksem_init" ret: "int" args: "unsigned int" "netbsd32_semidp_t" */
710 #define	NETBSD32_SYS_netbsd32__ksem_init	247
711 
712 /* syscall: "netbsd32__ksem_open" ret: "int" args: "const netbsd32_charp" "int" "mode_t" "unsigned int" "netbsd32_semidp_t" */
713 #define	NETBSD32_SYS_netbsd32__ksem_open	248
714 
715 /* syscall: "netbsd32__ksem_unlink" ret: "int" args: "const netbsd32_charp" */
716 #define	NETBSD32_SYS_netbsd32__ksem_unlink	249
717 
718 /* syscall: "netbsd32__ksem_close" ret: "int" args: "netbsd32_semid_t" */
719 #define	NETBSD32_SYS_netbsd32__ksem_close	250
720 
721 /* syscall: "netbsd32__ksem_post" ret: "int" args: "netbsd32_semid_t" */
722 #define	NETBSD32_SYS_netbsd32__ksem_post	251
723 
724 /* syscall: "netbsd32__ksem_wait" ret: "int" args: "netbsd32_semid_t" */
725 #define	NETBSD32_SYS_netbsd32__ksem_wait	252
726 
727 /* syscall: "netbsd32__ksem_trywait" ret: "int" args: "netbsd32_semid_t" */
728 #define	NETBSD32_SYS_netbsd32__ksem_trywait	253
729 
730 /* syscall: "netbsd32__ksem_getvalue" ret: "int" args: "netbsd32_semid_t" "netbsd32_intp" */
731 #define	NETBSD32_SYS_netbsd32__ksem_getvalue	254
732 
733 /* syscall: "netbsd32__ksem_destroy" ret: "int" args: "netbsd32_semid_t" */
734 #define	NETBSD32_SYS_netbsd32__ksem_destroy	255
735 
736 #else
737 				/* 247 is excluded sys__ksem_init */
738 				/* 248 is excluded sys__ksem_open */
739 				/* 249 is excluded sys__ksem_unlink */
740 				/* 250 is excluded sys__ksem_close */
741 				/* 251 is excluded sys__ksem_post */
742 				/* 252 is excluded sys__ksem_wait */
743 				/* 253 is excluded sys__ksem_trywait */
744 				/* 254 is excluded sys__ksem_getvalue */
745 				/* 255 is excluded sys__ksem_destroy */
746 #endif
747 /* syscall: "netbsd32___posix_rename" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" */
748 #define	NETBSD32_SYS_netbsd32___posix_rename	270
749 
750 /* syscall: "netbsd32_swapctl" ret: "int" args: "int" "netbsd32_voidp" "int" */
751 #define	NETBSD32_SYS_netbsd32_swapctl	271
752 
753 /* syscall: "compat_30_netbsd32_getdents" ret: "int" args: "int" "netbsd32_charp" "netbsd32_size_t" */
754 #define	NETBSD32_SYS_compat_30_netbsd32_getdents	272
755 
756 /* syscall: "netbsd32_minherit" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */
757 #define	NETBSD32_SYS_netbsd32_minherit	273
758 
759 /* syscall: "netbsd32_lchmod" ret: "int" args: "const netbsd32_charp" "mode_t" */
760 #define	NETBSD32_SYS_netbsd32_lchmod	274
761 
762 /* syscall: "netbsd32_lchown" ret: "int" args: "const netbsd32_charp" "uid_t" "gid_t" */
763 #define	NETBSD32_SYS_netbsd32_lchown	275
764 
765 /* syscall: "netbsd32_lutimes" ret: "int" args: "const netbsd32_charp" "const netbsd32_timevalp_t" */
766 #define	NETBSD32_SYS_netbsd32_lutimes	276
767 
768 /* syscall: "netbsd32___msync13" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */
769 #define	NETBSD32_SYS_netbsd32___msync13	277
770 
771 /* syscall: "compat_30_netbsd32___stat13" ret: "int" args: "const netbsd32_charp" "netbsd32_stat13p_t" */
772 #define	NETBSD32_SYS_compat_30_netbsd32___stat13	278
773 
774 /* syscall: "compat_30_netbsd32___fstat13" ret: "int" args: "int" "netbsd32_stat13p_t" */
775 #define	NETBSD32_SYS_compat_30_netbsd32___fstat13	279
776 
777 /* syscall: "compat_30_netbsd32___lstat13" ret: "int" args: "const netbsd32_charp" "netbsd32_stat13p_t" */
778 #define	NETBSD32_SYS_compat_30_netbsd32___lstat13	280
779 
780 /* syscall: "netbsd32___sigaltstack14" ret: "int" args: "const netbsd32_sigaltstackp_t" "netbsd32_sigaltstackp_t" */
781 #define	NETBSD32_SYS_netbsd32___sigaltstack14	281
782 
783 /* syscall: "__vfork14" ret: "int" args: */
784 #define	NETBSD32_SYS___vfork14	282
785 
786 /* syscall: "netbsd32___posix_chown" ret: "int" args: "const netbsd32_charp" "uid_t" "gid_t" */
787 #define	NETBSD32_SYS_netbsd32___posix_chown	283
788 
789 /* syscall: "netbsd32___posix_fchown" ret: "int" args: "int" "uid_t" "gid_t" */
790 #define	NETBSD32_SYS_netbsd32___posix_fchown	284
791 
792 /* syscall: "netbsd32___posix_lchown" ret: "int" args: "const netbsd32_charp" "uid_t" "gid_t" */
793 #define	NETBSD32_SYS_netbsd32___posix_lchown	285
794 
795 /* syscall: "netbsd32_getsid" ret: "pid_t" args: "pid_t" */
796 #define	NETBSD32_SYS_netbsd32_getsid	286
797 
798 /* syscall: "netbsd32___clone" ret: "int" args: "int" "netbsd32_voidp" */
799 #define	NETBSD32_SYS_netbsd32___clone	287
800 
801 /* syscall: "netbsd32_fktrace" ret: "int" args: "const int" "int" "int" "int" */
802 #define	NETBSD32_SYS_netbsd32_fktrace	288
803 
804 /* syscall: "netbsd32_preadv" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_iovecp_t" "int" "int" "off_t" */
805 #define	NETBSD32_SYS_netbsd32_preadv	289
806 
807 /* syscall: "netbsd32_pwritev" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_iovecp_t" "int" "int" "off_t" */
808 #define	NETBSD32_SYS_netbsd32_pwritev	290
809 
810 /* syscall: "netbsd32___sigaction14" ret: "int" args: "int" "const netbsd32_sigactionp_t" "netbsd32_sigactionp_t" */
811 #define	NETBSD32_SYS_netbsd32___sigaction14	291
812 
813 /* syscall: "netbsd32___sigpending14" ret: "int" args: "netbsd32_sigsetp_t" */
814 #define	NETBSD32_SYS_netbsd32___sigpending14	292
815 
816 /* syscall: "netbsd32___sigprocmask14" ret: "int" args: "int" "const netbsd32_sigsetp_t" "netbsd32_sigsetp_t" */
817 #define	NETBSD32_SYS_netbsd32___sigprocmask14	293
818 
819 /* syscall: "netbsd32___sigsuspend14" ret: "int" args: "const netbsd32_sigsetp_t" */
820 #define	NETBSD32_SYS_netbsd32___sigsuspend14	294
821 
822 /* syscall: "compat_16_netbsd32___sigreturn14" ret: "int" args: "netbsd32_sigcontextp_t" */
823 #define	NETBSD32_SYS_compat_16_netbsd32___sigreturn14	295
824 
825 /* syscall: "netbsd32___getcwd" ret: "int" args: "netbsd32_charp" "netbsd32_size_t" */
826 #define	NETBSD32_SYS_netbsd32___getcwd	296
827 
828 /* syscall: "netbsd32_fchroot" ret: "int" args: "int" */
829 #define	NETBSD32_SYS_netbsd32_fchroot	297
830 
831 /* syscall: "compat_30_netbsd32_fhopen" ret: "int" args: "const netbsd32_fhandlep_t" "int" */
832 #define	NETBSD32_SYS_compat_30_netbsd32_fhopen	298
833 
834 /* syscall: "compat_30_netbsd32_fhstat" ret: "int" args: "const netbsd32_fhandlep_t" "netbsd32_stat13p_t" */
835 #define	NETBSD32_SYS_compat_30_netbsd32_fhstat	299
836 
837 /* syscall: "compat_20_netbsd32_fhstatfs" ret: "int" args: "netbsd32_fhandlep_t" "netbsd32_statp_t" */
838 #define	NETBSD32_SYS_compat_20_netbsd32_fhstatfs	300
839 
840 #if defined(SYSVSEM) || !defined(_KERNEL)
841 /* syscall: "netbsd32___semctl14" ret: "int" args: "int" "int" "int" "..." */
842 #define	NETBSD32_SYS_netbsd32___semctl14	301
843 
844 #else
845 				/* 301 is excluded __semctl14 */
846 #endif
847 #if defined(SYSVMSG) || !defined(_KERNEL)
848 /* syscall: "netbsd32___msgctl13" ret: "int" args: "int" "int" "netbsd32_msqid_dsp_t" */
849 #define	NETBSD32_SYS_netbsd32___msgctl13	302
850 
851 #else
852 				/* 302 is excluded __msgctl13 */
853 #endif
854 #if defined(SYSVSHM) || !defined(_KERNEL)
855 /* syscall: "netbsd32___shmctl13" ret: "int" args: "int" "int" "netbsd32_shmid_dsp_t" */
856 #define	NETBSD32_SYS_netbsd32___shmctl13	303
857 
858 #else
859 				/* 303 is excluded __shmctl13 */
860 #endif
861 /* syscall: "netbsd32_lchflags" ret: "int" args: "const netbsd32_charp" "netbsd32_u_long" */
862 #define	NETBSD32_SYS_netbsd32_lchflags	304
863 
864 /* syscall: "issetugid" ret: "int" args: */
865 #define	NETBSD32_SYS_issetugid	305
866 
867 /* syscall: "netbsd32_utrace" ret: "int" args: "const netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */
868 #define	NETBSD32_SYS_netbsd32_utrace	306
869 
870 /* syscall: "netbsd32_getcontext" ret: "int" args: "netbsd32_ucontextp" */
871 #define	NETBSD32_SYS_netbsd32_getcontext	307
872 
873 /* syscall: "netbsd32_setcontext" ret: "int" args: "netbsd32_ucontextp" "uint32_t" "netbsd32_lwpidp" */
874 #define	NETBSD32_SYS_netbsd32_setcontext	308
875 
876 /* syscall: "netbsd32__lwp_create" ret: "int" args: "const netbsd32_ucontextp" "netbsd32_u_long" "netbsd32_lwpidp" */
877 #define	NETBSD32_SYS_netbsd32__lwp_create	309
878 
879 /* syscall: "_lwp_exit" ret: "int" args: */
880 #define	NETBSD32_SYS__lwp_exit	310
881 
882 /* syscall: "_lwp_self" ret: "lwpid_t" args: */
883 #define	NETBSD32_SYS__lwp_self	311
884 
885 /* syscall: "netbsd32__lwp_wait" ret: "int" args: "lwpid_t" "netbsd32_lwpidp" */
886 #define	NETBSD32_SYS_netbsd32__lwp_wait	312
887 
888 /* syscall: "netbsd32__lwp_suspend" ret: "int" args: "lwpid_t" */
889 #define	NETBSD32_SYS_netbsd32__lwp_suspend	313
890 
891 /* syscall: "netbsd32__lwp_continue" ret: "int" args: "lwpid_t" */
892 #define	NETBSD32_SYS_netbsd32__lwp_continue	314
893 
894 /* syscall: "netbsd32__lwp_wakeup" ret: "int" args: "lwpid_t" */
895 #define	NETBSD32_SYS_netbsd32__lwp_wakeup	315
896 
897 /* syscall: "_lwp_getprivate" ret: "void *" args: */
898 #define	NETBSD32_SYS__lwp_getprivate	316
899 
900 /* syscall: "netbsd32__lwp_setprivate" ret: "void" args: "netbsd32_voidp" */
901 #define	NETBSD32_SYS_netbsd32__lwp_setprivate	317
902 
903 /* syscall: "netbsd32__lwp_kill" ret: "int" args: "lwpid_t" "int" */
904 #define	NETBSD32_SYS_netbsd32__lwp_kill	318
905 
906 /* syscall: "netbsd32__lwp_detach" ret: "int" args: "lwpid_t" */
907 #define	NETBSD32_SYS_netbsd32__lwp_detach	319
908 
909 /* syscall: "netbsd32__lwp_park" ret: "int" args: "const netbsd32_timespecp_t" "lwpid_t" "const netbsd32_voidp" "const netbsd32_voidp" */
910 #define	NETBSD32_SYS_netbsd32__lwp_park	320
911 
912 /* syscall: "netbsd32__lwp_unpark" ret: "int" args: "lwpid_t" "const netbsd32_voidp" */
913 #define	NETBSD32_SYS_netbsd32__lwp_unpark	321
914 
915 /* syscall: "netbsd32__lwp_unpark_all" ret: "netbsd32_size_t" args: "const netbsd32_lwpidp" "netbsd32_size_t" "const netbsd32_voidp" */
916 #define	NETBSD32_SYS_netbsd32__lwp_unpark_all	322
917 
918 /* syscall: "netbsd32__lwp_setname" ret: "int" args: "lwpid_t" "const netbsd32_charp" */
919 #define	NETBSD32_SYS_netbsd32__lwp_setname	323
920 
921 /* syscall: "netbsd32__lwp_getname" ret: "int" args: "lwpid_t" "netbsd32_charp" "netbsd32_size_t" */
922 #define	NETBSD32_SYS_netbsd32__lwp_getname	324
923 
924 /* syscall: "netbsd32__lwp_ctl" ret: "int" args: "int" "netbsd32_pointer_t" */
925 #define	NETBSD32_SYS_netbsd32__lwp_ctl	325
926 
927 				/* 330 is obsolete netbsd32_sa_register */
928 				/* 331 is obsolete netbsd32_sa_stacks */
929 				/* 332 is obsolete sys_sa_enable */
930 				/* 333 is obsolete netbsd32_sa_setconcurrency */
931 				/* 334 is obsolete sys_sa_yield */
932 				/* 335 is obsolete netbsd32_sa_preempt */
933 				/* 336 is obsolete sys_sa_unblockyield */
934 /* syscall: "netbsd32___sigaction_sigtramp" ret: "int" args: "int" "const netbsd32_sigactionp_t" "netbsd32_sigactionp_t" "netbsd32_voidp" "int" */
935 #define	NETBSD32_SYS_netbsd32___sigaction_sigtramp	340
936 
937 /* syscall: "netbsd32_rasctl" ret: "int" args: "netbsd32_caddr_t" "netbsd32_size_t" "int" */
938 #define	NETBSD32_SYS_netbsd32_rasctl	343
939 
940 /* syscall: "kqueue" ret: "int" args: */
941 #define	NETBSD32_SYS_kqueue	344
942 
943 /* syscall: "netbsd32_kevent" ret: "int" args: "int" "netbsd32_keventp_t" "netbsd32_size_t" "netbsd32_keventp_t" "netbsd32_size_t" "netbsd32_timespecp_t" */
944 #define	NETBSD32_SYS_netbsd32_kevent	345
945 
946 /* syscall: "sched_yield" ret: "int" args: */
947 #define	NETBSD32_SYS_sched_yield	350
948 
949 /* syscall: "netbsd32_fsync_range" ret: "int" args: "int" "int" "off_t" "off_t" */
950 #define	NETBSD32_SYS_netbsd32_fsync_range	354
951 
952 /* syscall: "netbsd32_uuidgen" ret: "int" args: "netbsd32_uuidp_t" "int" */
953 #define	NETBSD32_SYS_netbsd32_uuidgen	355
954 
955 /* syscall: "netbsd32_getvfsstat" ret: "int" args: "netbsd32_statvfsp_t" "netbsd32_size_t" "int" */
956 #define	NETBSD32_SYS_netbsd32_getvfsstat	356
957 
958 /* syscall: "netbsd32_statvfs1" ret: "int" args: "const netbsd32_charp" "netbsd32_statvfsp_t" "int" */
959 #define	NETBSD32_SYS_netbsd32_statvfs1	357
960 
961 /* syscall: "netbsd32_fstatvfs1" ret: "int" args: "int" "netbsd32_statvfsp_t" "int" */
962 #define	NETBSD32_SYS_netbsd32_fstatvfs1	358
963 
964 /* syscall: "compat_30_netbsd32_fhstatvfs1" ret: "int" args: "const netbsd32_fhandlep_t" "netbsd32_statvfsp_t" "int" */
965 #define	NETBSD32_SYS_compat_30_netbsd32_fhstatvfs1	359
966 
967 /* syscall: "netbsd32_extattrctl" ret: "int" args: "const netbsd32_charp" "int" "const netbsd32_charp" "int" "const netbsd32_charp" */
968 #define	NETBSD32_SYS_netbsd32_extattrctl	360
969 
970 /* syscall: "netbsd32_extattr_set_file" ret: "int" args: "const netbsd32_charp" "int" "const netbsd32_charp" "const netbsd32_voidp" "netbsd32_size_t" */
971 #define	NETBSD32_SYS_netbsd32_extattr_set_file	361
972 
973 /* syscall: "netbsd32_extattr_get_file" ret: "int" args: "const netbsd32_charp" "int" "const netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */
974 #define	NETBSD32_SYS_netbsd32_extattr_get_file	362
975 
976 /* syscall: "netbsd32_extattr_delete_file" ret: "int" args: "const netbsd32_charp" "int" "const netbsd32_charp" */
977 #define	NETBSD32_SYS_netbsd32_extattr_delete_file	363
978 
979 /* syscall: "netbsd32_extattr_set_fd" ret: "int" args: "int" "int" "const netbsd32_charp" "const netbsd32_voidp" "netbsd32_size_t" */
980 #define	NETBSD32_SYS_netbsd32_extattr_set_fd	364
981 
982 /* syscall: "netbsd32_extattr_get_fd" ret: "int" args: "int" "int" "const netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */
983 #define	NETBSD32_SYS_netbsd32_extattr_get_fd	365
984 
985 /* syscall: "netbsd32_extattr_delete_fd" ret: "int" args: "int" "int" "const netbsd32_charp" */
986 #define	NETBSD32_SYS_netbsd32_extattr_delete_fd	366
987 
988 /* syscall: "netbsd32_extattr_set_link" ret: "int" args: "const netbsd32_charp" "int" "const netbsd32_charp" "const netbsd32_voidp" "netbsd32_size_t" */
989 #define	NETBSD32_SYS_netbsd32_extattr_set_link	367
990 
991 /* syscall: "netbsd32_extattr_get_link" ret: "int" args: "const netbsd32_charp" "int" "const netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */
992 #define	NETBSD32_SYS_netbsd32_extattr_get_link	368
993 
994 /* syscall: "netbsd32_extattr_delete_link" ret: "int" args: "const netbsd32_charp" "int" "const netbsd32_charp" */
995 #define	NETBSD32_SYS_netbsd32_extattr_delete_link	369
996 
997 /* syscall: "netbsd32_extattr_list_fd" ret: "int" args: "int" "int" "netbsd32_voidp" "netbsd32_size_t" */
998 #define	NETBSD32_SYS_netbsd32_extattr_list_fd	370
999 
1000 /* syscall: "netbsd32_extattr_list_file" ret: "int" args: "const netbsd32_charp" "int" "netbsd32_voidp" "netbsd32_size_t" */
1001 #define	NETBSD32_SYS_netbsd32_extattr_list_file	371
1002 
1003 /* syscall: "netbsd32_extattr_list_link" ret: "int" args: "const netbsd32_charp" "int" "netbsd32_voidp" "netbsd32_size_t" */
1004 #define	NETBSD32_SYS_netbsd32_extattr_list_link	372
1005 
1006 /* 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" */
1007 #define	NETBSD32_SYS_netbsd32_pselect	373
1008 
1009 /* syscall: "netbsd32_pollts" ret: "int" args: "netbsd32_pollfdp_t" "u_int" "const netbsd32_timespecp_t" "const netbsd32_sigsetp_t" */
1010 #define	NETBSD32_SYS_netbsd32_pollts	374
1011 
1012 /* syscall: "netbsd32_setxattr" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" "int" */
1013 #define	NETBSD32_SYS_netbsd32_setxattr	375
1014 
1015 /* syscall: "netbsd32_lsetxattr" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" "int" */
1016 #define	NETBSD32_SYS_netbsd32_lsetxattr	376
1017 
1018 /* syscall: "netbsd32_fsetxattr" ret: "int" args: "int" "const netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" "int" */
1019 #define	NETBSD32_SYS_netbsd32_fsetxattr	377
1020 
1021 /* syscall: "netbsd32_getxattr" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */
1022 #define	NETBSD32_SYS_netbsd32_getxattr	378
1023 
1024 /* syscall: "netbsd32_lgetxattr" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */
1025 #define	NETBSD32_SYS_netbsd32_lgetxattr	379
1026 
1027 /* syscall: "netbsd32_fgetxattr" ret: "int" args: "int" "const netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */
1028 #define	NETBSD32_SYS_netbsd32_fgetxattr	380
1029 
1030 /* syscall: "netbsd32_listxattr" ret: "int" args: "const netbsd32_charp" "netbsd32_charp" "netbsd32_size_t" */
1031 #define	NETBSD32_SYS_netbsd32_listxattr	381
1032 
1033 /* syscall: "netbsd32_llistxattr" ret: "int" args: "const netbsd32_charp" "netbsd32_charp" "netbsd32_size_t" */
1034 #define	NETBSD32_SYS_netbsd32_llistxattr	382
1035 
1036 /* syscall: "netbsd32_flistxattr" ret: "int" args: "int" "netbsd32_charp" "netbsd32_size_t" */
1037 #define	NETBSD32_SYS_netbsd32_flistxattr	383
1038 
1039 /* syscall: "netbsd32_removexattr" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" */
1040 #define	NETBSD32_SYS_netbsd32_removexattr	384
1041 
1042 /* syscall: "netbsd32_lremovexattr" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" */
1043 #define	NETBSD32_SYS_netbsd32_lremovexattr	385
1044 
1045 /* syscall: "netbsd32_fremovexattr" ret: "int" args: "int" "const netbsd32_charp" */
1046 #define	NETBSD32_SYS_netbsd32_fremovexattr	386
1047 
1048 /* syscall: "__stat30" ret: "int" args: "const netbsd32_charp" "netbsd32_statp_t" */
1049 #define	NETBSD32_SYS___stat30	387
1050 
1051 /* syscall: "__fstat30" ret: "int" args: "int" "netbsd32_statp_t" */
1052 #define	NETBSD32_SYS___fstat30	388
1053 
1054 /* syscall: "__lstat30" ret: "int" args: "const netbsd32_charp" "netbsd32_statp_t" */
1055 #define	NETBSD32_SYS___lstat30	389
1056 
1057 /* syscall: "__getdents30" ret: "int" args: "int" "netbsd32_charp" "netbsd32_size_t" */
1058 #define	NETBSD32_SYS___getdents30	390
1059 
1060 /* syscall: "posix_fadvise" ret: "int" args: "int" "off_t" "off_t" "int" */
1061 #define	NETBSD32_SYS_posix_fadvise	391
1062 
1063 /* syscall: "compat_30___fhstat30" ret: "int" args: "const netbsd32_fhandlep_t" "netbsd32_statp_t" */
1064 #define	NETBSD32_SYS_compat_30___fhstat30	392
1065 
1066 /* syscall: "netbsd32_ntp_gettime" ret: "int" args: "netbsd32_ntptimevalp_t" */
1067 #define	NETBSD32_SYS_netbsd32_ntp_gettime	393
1068 
1069 /* syscall: "__socket30" ret: "int" args: "int" "int" "int" */
1070 #define	NETBSD32_SYS___socket30	394
1071 
1072 /* syscall: "netbsd32___getfh30" ret: "int" args: "const netbsd32_charp" "netbsd32_pointer_t" "netbsd32_size_tp" */
1073 #define	NETBSD32_SYS_netbsd32___getfh30	395
1074 
1075 /* syscall: "netbsd32___fhopen40" ret: "int" args: "const netbsd32_pointer_t" "netbsd32_size_t" "int" */
1076 #define	NETBSD32_SYS_netbsd32___fhopen40	396
1077 
1078 /* syscall: "netbsd32___fhstatvfs140" ret: "int" args: "netbsd32_pointer_t" "netbsd32_size_t" "netbsd32_statvfsp_t" "int" */
1079 #define	NETBSD32_SYS_netbsd32___fhstatvfs140	397
1080 
1081 /* syscall: "netbsd32___fhstat40" ret: "int" args: "netbsd32_pointer_t" "netbsd32_size_t" "netbsd32_statp_t" */
1082 #define	NETBSD32_SYS_netbsd32___fhstat40	398
1083 
1084 #define	NETBSD32_SYS_MAXSYSCALL	399
1085 #define	NETBSD32_SYS_NSYSENT	512
1086 #endif /* _NETBSD32_SYS_SYSCALL_H_ */
1087