Fix up mix of man(7)/mdoc(7).
[netbsd-mini2440.git] / sys / compat / sunos32 / sunos32_syscallargs.h
blob81a75a47259ec3277a45ebfaa5385b7e5f237495
1 /* $NetBSD$ */
3 /*
4 * System call argument lists.
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from; NetBSD: syscalls.master,v 1.20 2009/01/13 22:27:44 pooka Exp
8 */
10 #ifndef _SUNOS32_SYS_SYSCALLARGS_H_
11 #define _SUNOS32_SYS_SYSCALLARGS_H_
13 #define SUNOS32_SYS_MAXSYSARGS 8
15 #undef syscallarg
16 #define syscallarg(x) \
17 union { \
18 register32_t pad; \
19 struct { x datum; } le; \
20 struct { /* LINTED zero array dimension */ \
21 int8_t pad[ /* CONSTCOND */ \
22 (sizeof (register32_t) < sizeof (x)) \
23 ? 0 \
24 : sizeof (register32_t) - sizeof (x)]; \
25 x datum; \
26 } be; \
29 #undef check_syscall_args
30 #define check_syscall_args(call) \
31 typedef char call##_check_args[sizeof (struct call##_args) \
32 <= SUNOS32_SYS_MAXSYSARGS * sizeof (register32_t) ? 1 : -1];
34 struct netbsd32_exit_args;
36 struct netbsd32_read_args;
38 struct netbsd32_write_args;
40 struct sunos32_sys_open_args {
41 syscallarg(const netbsd32_charp) path;
42 syscallarg(int) flags;
43 syscallarg(int) mode;
45 check_syscall_args(sunos32_sys_open)
47 struct netbsd32_close_args;
49 struct sunos32_sys_wait4_args {
50 syscallarg(int) pid;
51 syscallarg(netbsd32_intp) status;
52 syscallarg(int) options;
53 syscallarg(netbsd32_rusagep_t) rusage;
55 check_syscall_args(sunos32_sys_wait4)
57 struct sunos32_sys_creat_args {
58 syscallarg(const netbsd32_charp) path;
59 syscallarg(int) mode;
61 check_syscall_args(sunos32_sys_creat)
63 struct netbsd32_link_args;
65 struct netbsd32_unlink_args;
67 struct sunos32_sys_execv_args {
68 syscallarg(const netbsd32_charp) path;
69 syscallarg(netbsd32_charpp) argp;
71 check_syscall_args(sunos32_sys_execv)
73 struct netbsd32_chdir_args;
75 struct sunos32_sys_mknod_args {
76 syscallarg(const netbsd32_charp) path;
77 syscallarg(int) mode;
78 syscallarg(int) dev;
80 check_syscall_args(sunos32_sys_mknod)
82 struct netbsd32_chmod_args;
84 struct netbsd32_chown_args;
86 struct netbsd32_break_args;
88 struct compat_43_netbsd32_olseek_args;
90 struct netbsd32_setuid_args;
92 struct sunos32_sys_stime_args {
93 syscallarg(sunos32_time_tp) tp;
95 check_syscall_args(sunos32_sys_stime)
97 struct sunos32_sys_ptrace_args {
98 syscallarg(int) req;
99 syscallarg(pid_t) pid;
100 syscallarg(netbsd32_caddr_t) addr;
101 syscallarg(int) data;
102 syscallarg(netbsd32_charp) addr2;
104 check_syscall_args(sunos32_sys_ptrace)
106 struct sunos32_sys_access_args {
107 syscallarg(const netbsd32_charp) path;
108 syscallarg(int) flags;
110 check_syscall_args(sunos32_sys_access)
112 struct netbsd32_kill_args;
114 struct sunos32_sys_stat_args {
115 syscallarg(const netbsd32_charp) path;
116 syscallarg(netbsd32_stat43p_t) ub;
118 check_syscall_args(sunos32_sys_stat)
120 struct sunos32_sys_lstat_args {
121 syscallarg(const netbsd32_charp) path;
122 syscallarg(netbsd32_stat43p_t) ub;
124 check_syscall_args(sunos32_sys_lstat)
126 struct netbsd32_dup_args;
128 struct netbsd32_profil_args;
130 struct netbsd32_setgid_args;
132 struct netbsd32_acct_args;
134 struct sunos32_sys_mctl_args {
135 syscallarg(netbsd32_voidp) addr;
136 syscallarg(int) len;
137 syscallarg(int) func;
138 syscallarg(netbsd32_voidp) arg;
140 check_syscall_args(sunos32_sys_mctl)
142 struct sunos32_sys_ioctl_args {
143 syscallarg(int) fd;
144 syscallarg(netbsd32_u_long) com;
145 syscallarg(netbsd32_caddr_t) data;
147 check_syscall_args(sunos32_sys_ioctl)
149 struct sunos32_sys_reboot_args {
150 syscallarg(int) howto;
151 syscallarg(netbsd32_charp) bootstr;
153 check_syscall_args(sunos32_sys_reboot)
155 struct netbsd32_symlink_args;
157 struct netbsd32_readlink_args;
159 struct sunos32_sys_execve_args {
160 syscallarg(const netbsd32_charp) path;
161 syscallarg(netbsd32_charpp) argp;
162 syscallarg(netbsd32_charpp) envp;
164 check_syscall_args(sunos32_sys_execve)
166 struct netbsd32_umask_args;
168 struct netbsd32_chroot_args;
170 struct compat_43_netbsd32_fstat43_args;
172 struct sunos32_sys_omsync_args {
173 syscallarg(netbsd32_caddr_t) addr;
174 syscallarg(netbsd32_size_t) len;
175 syscallarg(int) flags;
177 check_syscall_args(sunos32_sys_omsync)
179 struct netbsd32_sbrk_args;
181 struct netbsd32_sstk_args;
183 struct sunos32_sys_mmap_args {
184 syscallarg(netbsd32_voidp) addr;
185 syscallarg(netbsd32_size_t) len;
186 syscallarg(int) prot;
187 syscallarg(int) flags;
188 syscallarg(int) fd;
189 syscallarg(netbsd32_long) pos;
191 check_syscall_args(sunos32_sys_mmap)
193 struct netbsd32_ovadvise_args;
195 struct netbsd32_munmap_args;
197 struct netbsd32_mprotect_args;
199 struct netbsd32_madvise_args;
201 struct netbsd32_mincore_args;
203 struct netbsd32_getgroups_args;
205 struct netbsd32_setgroups_args;
207 struct sunos32_sys_setpgrp_args {
208 syscallarg(int) pid;
209 syscallarg(int) pgid;
211 check_syscall_args(sunos32_sys_setpgrp)
213 struct compat_50_netbsd32_setitimer_args;
215 struct compat_12_netbsd32_oswapon_args;
217 struct compat_50_netbsd32_getitimer_args;
219 struct compat_43_netbsd32_ogethostname_args;
221 struct compat_43_netbsd32_osethostname_args;
223 struct netbsd32_dup2_args;
225 struct sunos32_sys_fcntl_args {
226 syscallarg(int) fd;
227 syscallarg(int) cmd;
228 syscallarg(netbsd32_voidp) arg;
230 check_syscall_args(sunos32_sys_fcntl)
232 struct compat_50_netbsd32_select_args;
234 struct netbsd32_fsync_args;
236 struct netbsd32_setpriority_args;
238 struct sunos32_sys_socket_args {
239 syscallarg(int) domain;
240 syscallarg(int) type;
241 syscallarg(int) protocol;
243 check_syscall_args(sunos32_sys_socket)
245 struct netbsd32_connect_args;
247 struct compat_43_netbsd32_oaccept_args;
249 struct netbsd32_getpriority_args;
251 struct compat_43_netbsd32_osend_args;
253 struct compat_43_netbsd32_orecv_args;
255 struct netbsd32_bind_args;
257 struct sunos32_sys_setsockopt_args {
258 syscallarg(int) s;
259 syscallarg(int) level;
260 syscallarg(int) name;
261 syscallarg(netbsd32_caddr_t) val;
262 syscallarg(int) valsize;
264 check_syscall_args(sunos32_sys_setsockopt)
266 struct netbsd32_listen_args;
268 struct sunos32_sys_sigvec_args {
269 syscallarg(int) signum;
270 syscallarg(netbsd32_sigvecp_t) nsv;
271 syscallarg(netbsd32_sigvecp_t) osv;
273 check_syscall_args(sunos32_sys_sigvec)
275 struct compat_43_netbsd32_sigblock_args;
277 struct compat_43_netbsd32_sigsetmask_args;
279 struct sunos32_sys_sigsuspend_args {
280 syscallarg(int) mask;
282 check_syscall_args(sunos32_sys_sigsuspend)
284 struct compat_43_netbsd32_osigstack_args;
286 struct compat_43_netbsd32_orecvmsg_args;
288 struct compat_43_netbsd32_osendmsg_args;
290 struct compat_50_netbsd32_gettimeofday_args;
292 struct compat_50_netbsd32_getrusage_args;
294 struct netbsd32_getsockopt_args;
296 struct netbsd32_readv_args;
298 struct netbsd32_writev_args;
300 struct compat_50_netbsd32_settimeofday_args;
302 struct netbsd32_fchown_args;
304 struct netbsd32_fchmod_args;
306 struct compat_43_netbsd32_orecvfrom_args;
308 struct netbsd32_setreuid_args;
310 struct netbsd32_setregid_args;
312 struct netbsd32_rename_args;
314 struct compat_43_netbsd32_otruncate_args;
316 struct compat_43_netbsd32_oftruncate_args;
318 struct netbsd32_flock_args;
320 struct netbsd32_sendto_args;
322 struct netbsd32_shutdown_args;
324 struct sunos32_sys_socketpair_args {
325 syscallarg(int) domain;
326 syscallarg(int) type;
327 syscallarg(int) protocol;
328 syscallarg(netbsd32_intp) rsv;
330 check_syscall_args(sunos32_sys_socketpair)
332 struct netbsd32_mkdir_args;
334 struct netbsd32_rmdir_args;
336 struct compat_50_netbsd32_utimes_args;
338 struct sunos32_sys_sigreturn_args {
339 syscallarg(netbsd32_sigcontextp_t) sigcntxp;
341 check_syscall_args(sunos32_sys_sigreturn)
343 struct compat_50_netbsd32_adjtime_args;
345 struct compat_43_netbsd32_ogetpeername_args;
347 struct sunos32_sys_getrlimit_args {
348 syscallarg(u_int) which;
349 syscallarg(netbsd32_orlimitp_t) rlp;
351 check_syscall_args(sunos32_sys_getrlimit)
353 struct sunos32_sys_setrlimit_args {
354 syscallarg(u_int) which;
355 syscallarg(netbsd32_orlimitp_t) rlp;
357 check_syscall_args(sunos32_sys_setrlimit)
359 struct compat_43_netbsd32_killpg_args;
361 struct compat_43_netbsd32_ogetsockname_args;
363 struct netbsd32_poll_args;
365 struct sunos32_sys_nfssvc_args {
366 syscallarg(int) fd;
368 check_syscall_args(sunos32_sys_nfssvc)
370 struct compat_43_netbsd32_ogetdirentries_args;
372 struct sunos32_sys_statfs_args {
373 syscallarg(const netbsd32_charp) path;
374 syscallarg(sunos32_statfsp_t) buf;
376 check_syscall_args(sunos32_sys_statfs)
378 struct sunos32_sys_fstatfs_args {
379 syscallarg(int) fd;
380 syscallarg(sunos32_statfsp_t) buf;
382 check_syscall_args(sunos32_sys_fstatfs)
384 struct sunos32_sys_unmount_args {
385 syscallarg(netbsd32_charp) path;
387 check_syscall_args(sunos32_sys_unmount)
388 #ifdef NFS
390 struct compat_30_sys_getfh_args;
391 #else
392 #endif
394 struct compat_09_netbsd32_ogetdomainname_args;
396 struct compat_09_netbsd32_osetdomainname_args;
398 struct sunos32_sys_quotactl_args {
399 syscallarg(int) cmd;
400 syscallarg(netbsd32_charp) special;
401 syscallarg(int) uid;
402 syscallarg(netbsd32_caddr_t) addr;
404 check_syscall_args(sunos32_sys_quotactl)
406 struct sunos32_sys_exportfs_args {
407 syscallarg(netbsd32_charp) path;
408 syscallarg(netbsd32_charp) ex;
410 check_syscall_args(sunos32_sys_exportfs)
412 struct sunos32_sys_mount_args {
413 syscallarg(netbsd32_charp) type;
414 syscallarg(netbsd32_charp) path;
415 syscallarg(int) flags;
416 syscallarg(netbsd32_caddr_t) data;
418 check_syscall_args(sunos32_sys_mount)
420 struct sunos32_sys_ustat_args {
421 syscallarg(int) dev;
422 syscallarg(sunos32_ustatp_t) buf;
424 check_syscall_args(sunos32_sys_ustat)
425 #ifdef SYSVSEM
427 struct compat_10_netbsd32_semsys_args;
428 #else
429 #endif
430 #ifdef SYSVMSG
432 struct compat_10_netbsd32_msgsys_args;
433 #else
434 #endif
435 #ifdef SYSVSHM
437 struct compat_10_netbsd32_shmsys_args;
438 #else
439 #endif
441 struct sunos32_sys_auditsys_args {
442 syscallarg(netbsd32_charp) record;
444 check_syscall_args(sunos32_sys_auditsys)
446 struct sunos32_sys_getdents_args {
447 syscallarg(int) fd;
448 syscallarg(netbsd32_charp) buf;
449 syscallarg(int) nbytes;
451 check_syscall_args(sunos32_sys_getdents)
453 struct netbsd32_fchdir_args;
455 struct netbsd32_fchroot_args;
457 struct sunos32_sys_sigpending_args {
458 syscallarg(netbsd32_intp) mask;
460 check_syscall_args(sunos32_sys_sigpending)
462 struct netbsd32_setpgid_args;
464 struct netbsd32_pathconf_args;
466 struct netbsd32_fpathconf_args;
468 struct sunos32_sys_sysconf_args {
469 syscallarg(int) name;
471 check_syscall_args(sunos32_sys_sysconf)
473 struct sunos32_sys_uname_args {
474 syscallarg(sunos32_utsnamep_t) name;
476 check_syscall_args(sunos32_sys_uname)
479 * System call prototypes.
482 int sys_nosys(struct lwp *, const void *, register_t *);
484 int netbsd32_exit(struct lwp *, const struct netbsd32_exit_args *, register_t *);
486 int sys_fork(struct lwp *, const void *, register_t *);
488 int netbsd32_read(struct lwp *, const struct netbsd32_read_args *, register_t *);
490 int netbsd32_write(struct lwp *, const struct netbsd32_write_args *, register_t *);
492 int sunos32_sys_open(struct lwp *, const struct sunos32_sys_open_args *, register_t *);
494 int netbsd32_close(struct lwp *, const struct netbsd32_close_args *, register_t *);
496 int sunos32_sys_wait4(struct lwp *, const struct sunos32_sys_wait4_args *, register_t *);
498 int sunos32_sys_creat(struct lwp *, const struct sunos32_sys_creat_args *, register_t *);
500 int netbsd32_link(struct lwp *, const struct netbsd32_link_args *, register_t *);
502 int netbsd32_unlink(struct lwp *, const struct netbsd32_unlink_args *, register_t *);
504 int sunos32_sys_execv(struct lwp *, const struct sunos32_sys_execv_args *, register_t *);
506 int netbsd32_chdir(struct lwp *, const struct netbsd32_chdir_args *, register_t *);
508 int sunos32_sys_mknod(struct lwp *, const struct sunos32_sys_mknod_args *, register_t *);
510 int netbsd32_chmod(struct lwp *, const struct netbsd32_chmod_args *, register_t *);
512 int netbsd32_chown(struct lwp *, const struct netbsd32_chown_args *, register_t *);
514 int netbsd32_break(struct lwp *, const struct netbsd32_break_args *, register_t *);
516 int compat_43_netbsd32_olseek(struct lwp *, const struct compat_43_netbsd32_olseek_args *, register_t *);
518 int sys_getpid_with_ppid(struct lwp *, const void *, register_t *);
520 int netbsd32_setuid(struct lwp *, const struct netbsd32_setuid_args *, register_t *);
522 int sys_getuid_with_euid(struct lwp *, const void *, register_t *);
524 int sunos32_sys_stime(struct lwp *, const struct sunos32_sys_stime_args *, register_t *);
526 int sunos32_sys_ptrace(struct lwp *, const struct sunos32_sys_ptrace_args *, register_t *);
528 int sunos32_sys_access(struct lwp *, const struct sunos32_sys_access_args *, register_t *);
530 int sys_sync(struct lwp *, const void *, register_t *);
532 int netbsd32_kill(struct lwp *, const struct netbsd32_kill_args *, register_t *);
534 int sunos32_sys_stat(struct lwp *, const struct sunos32_sys_stat_args *, register_t *);
536 int sunos32_sys_lstat(struct lwp *, const struct sunos32_sys_lstat_args *, register_t *);
538 int netbsd32_dup(struct lwp *, const struct netbsd32_dup_args *, register_t *);
540 int sys_pipe(struct lwp *, const void *, register_t *);
542 int netbsd32_profil(struct lwp *, const struct netbsd32_profil_args *, register_t *);
544 int netbsd32_setgid(struct lwp *, const struct netbsd32_setgid_args *, register_t *);
546 int sys_getgid_with_egid(struct lwp *, const void *, register_t *);
548 int netbsd32_acct(struct lwp *, const struct netbsd32_acct_args *, register_t *);
550 int sunos32_sys_mctl(struct lwp *, const struct sunos32_sys_mctl_args *, register_t *);
552 int sunos32_sys_ioctl(struct lwp *, const struct sunos32_sys_ioctl_args *, register_t *);
554 int sunos32_sys_reboot(struct lwp *, const struct sunos32_sys_reboot_args *, register_t *);
556 int netbsd32_symlink(struct lwp *, const struct netbsd32_symlink_args *, register_t *);
558 int netbsd32_readlink(struct lwp *, const struct netbsd32_readlink_args *, register_t *);
560 int sunos32_sys_execve(struct lwp *, const struct sunos32_sys_execve_args *, register_t *);
562 int netbsd32_umask(struct lwp *, const struct netbsd32_umask_args *, register_t *);
564 int netbsd32_chroot(struct lwp *, const struct netbsd32_chroot_args *, register_t *);
566 int compat_43_netbsd32_fstat43(struct lwp *, const struct compat_43_netbsd32_fstat43_args *, register_t *);
568 int compat_43_sys_getpagesize(struct lwp *, const void *, register_t *);
570 int sunos32_sys_omsync(struct lwp *, const struct sunos32_sys_omsync_args *, register_t *);
572 int sys_vfork(struct lwp *, const void *, register_t *);
574 int netbsd32_sbrk(struct lwp *, const struct netbsd32_sbrk_args *, register_t *);
576 int netbsd32_sstk(struct lwp *, const struct netbsd32_sstk_args *, register_t *);
578 int sunos32_sys_mmap(struct lwp *, const struct sunos32_sys_mmap_args *, register_t *);
580 int netbsd32_ovadvise(struct lwp *, const struct netbsd32_ovadvise_args *, register_t *);
582 int netbsd32_munmap(struct lwp *, const struct netbsd32_munmap_args *, register_t *);
584 int netbsd32_mprotect(struct lwp *, const struct netbsd32_mprotect_args *, register_t *);
586 int netbsd32_madvise(struct lwp *, const struct netbsd32_madvise_args *, register_t *);
588 int sunos32_sys_vhangup(struct lwp *, const void *, register_t *);
590 int netbsd32_mincore(struct lwp *, const struct netbsd32_mincore_args *, register_t *);
592 int netbsd32_getgroups(struct lwp *, const struct netbsd32_getgroups_args *, register_t *);
594 int netbsd32_setgroups(struct lwp *, const struct netbsd32_setgroups_args *, register_t *);
596 int sys_getpgrp(struct lwp *, const void *, register_t *);
598 int sunos32_sys_setpgrp(struct lwp *, const struct sunos32_sys_setpgrp_args *, register_t *);
600 int compat_50_netbsd32_setitimer(struct lwp *, const struct compat_50_netbsd32_setitimer_args *, register_t *);
602 int compat_12_netbsd32_oswapon(struct lwp *, const struct compat_12_netbsd32_oswapon_args *, register_t *);
604 int compat_50_netbsd32_getitimer(struct lwp *, const struct compat_50_netbsd32_getitimer_args *, register_t *);
606 int compat_43_netbsd32_ogethostname(struct lwp *, const struct compat_43_netbsd32_ogethostname_args *, register_t *);
608 int compat_43_netbsd32_osethostname(struct lwp *, const struct compat_43_netbsd32_osethostname_args *, register_t *);
610 int compat_43_sys_getdtablesize(struct lwp *, const void *, register_t *);
612 int netbsd32_dup2(struct lwp *, const struct netbsd32_dup2_args *, register_t *);
614 int sunos32_sys_fcntl(struct lwp *, const struct sunos32_sys_fcntl_args *, register_t *);
616 int compat_50_netbsd32_select(struct lwp *, const struct compat_50_netbsd32_select_args *, register_t *);
618 int netbsd32_fsync(struct lwp *, const struct netbsd32_fsync_args *, register_t *);
620 int netbsd32_setpriority(struct lwp *, const struct netbsd32_setpriority_args *, register_t *);
622 int sunos32_sys_socket(struct lwp *, const struct sunos32_sys_socket_args *, register_t *);
624 int netbsd32_connect(struct lwp *, const struct netbsd32_connect_args *, register_t *);
626 int compat_43_netbsd32_oaccept(struct lwp *, const struct compat_43_netbsd32_oaccept_args *, register_t *);
628 int netbsd32_getpriority(struct lwp *, const struct netbsd32_getpriority_args *, register_t *);
630 int compat_43_netbsd32_osend(struct lwp *, const struct compat_43_netbsd32_osend_args *, register_t *);
632 int compat_43_netbsd32_orecv(struct lwp *, const struct compat_43_netbsd32_orecv_args *, register_t *);
634 int netbsd32_bind(struct lwp *, const struct netbsd32_bind_args *, register_t *);
636 int sunos32_sys_setsockopt(struct lwp *, const struct sunos32_sys_setsockopt_args *, register_t *);
638 int netbsd32_listen(struct lwp *, const struct netbsd32_listen_args *, register_t *);
640 int sunos32_sys_sigvec(struct lwp *, const struct sunos32_sys_sigvec_args *, register_t *);
642 int compat_43_netbsd32_sigblock(struct lwp *, const struct compat_43_netbsd32_sigblock_args *, register_t *);
644 int compat_43_netbsd32_sigsetmask(struct lwp *, const struct compat_43_netbsd32_sigsetmask_args *, register_t *);
646 int sunos32_sys_sigsuspend(struct lwp *, const struct sunos32_sys_sigsuspend_args *, register_t *);
648 int compat_43_netbsd32_osigstack(struct lwp *, const struct compat_43_netbsd32_osigstack_args *, register_t *);
650 int compat_43_netbsd32_orecvmsg(struct lwp *, const struct compat_43_netbsd32_orecvmsg_args *, register_t *);
652 int compat_43_netbsd32_osendmsg(struct lwp *, const struct compat_43_netbsd32_osendmsg_args *, register_t *);
654 int compat_50_netbsd32_gettimeofday(struct lwp *, const struct compat_50_netbsd32_gettimeofday_args *, register_t *);
656 int compat_50_netbsd32_getrusage(struct lwp *, const struct compat_50_netbsd32_getrusage_args *, register_t *);
658 int netbsd32_getsockopt(struct lwp *, const struct netbsd32_getsockopt_args *, register_t *);
660 int netbsd32_readv(struct lwp *, const struct netbsd32_readv_args *, register_t *);
662 int netbsd32_writev(struct lwp *, const struct netbsd32_writev_args *, register_t *);
664 int compat_50_netbsd32_settimeofday(struct lwp *, const struct compat_50_netbsd32_settimeofday_args *, register_t *);
666 int netbsd32_fchown(struct lwp *, const struct netbsd32_fchown_args *, register_t *);
668 int netbsd32_fchmod(struct lwp *, const struct netbsd32_fchmod_args *, register_t *);
670 int compat_43_netbsd32_orecvfrom(struct lwp *, const struct compat_43_netbsd32_orecvfrom_args *, register_t *);
672 int netbsd32_setreuid(struct lwp *, const struct netbsd32_setreuid_args *, register_t *);
674 int netbsd32_setregid(struct lwp *, const struct netbsd32_setregid_args *, register_t *);
676 int netbsd32_rename(struct lwp *, const struct netbsd32_rename_args *, register_t *);
678 int compat_43_netbsd32_otruncate(struct lwp *, const struct compat_43_netbsd32_otruncate_args *, register_t *);
680 int compat_43_netbsd32_oftruncate(struct lwp *, const struct compat_43_netbsd32_oftruncate_args *, register_t *);
682 int netbsd32_flock(struct lwp *, const struct netbsd32_flock_args *, register_t *);
684 int netbsd32_sendto(struct lwp *, const struct netbsd32_sendto_args *, register_t *);
686 int netbsd32_shutdown(struct lwp *, const struct netbsd32_shutdown_args *, register_t *);
688 int sunos32_sys_socketpair(struct lwp *, const struct sunos32_sys_socketpair_args *, register_t *);
690 int netbsd32_mkdir(struct lwp *, const struct netbsd32_mkdir_args *, register_t *);
692 int netbsd32_rmdir(struct lwp *, const struct netbsd32_rmdir_args *, register_t *);
694 int compat_50_netbsd32_utimes(struct lwp *, const struct compat_50_netbsd32_utimes_args *, register_t *);
696 int sunos32_sys_sigreturn(struct lwp *, const struct sunos32_sys_sigreturn_args *, register_t *);
698 int compat_50_netbsd32_adjtime(struct lwp *, const struct compat_50_netbsd32_adjtime_args *, register_t *);
700 int compat_43_netbsd32_ogetpeername(struct lwp *, const struct compat_43_netbsd32_ogetpeername_args *, register_t *);
702 int compat_43_sys_gethostid(struct lwp *, const void *, register_t *);
704 int sunos32_sys_getrlimit(struct lwp *, const struct sunos32_sys_getrlimit_args *, register_t *);
706 int sunos32_sys_setrlimit(struct lwp *, const struct sunos32_sys_setrlimit_args *, register_t *);
708 int compat_43_netbsd32_killpg(struct lwp *, const struct compat_43_netbsd32_killpg_args *, register_t *);
710 int compat_43_netbsd32_ogetsockname(struct lwp *, const struct compat_43_netbsd32_ogetsockname_args *, register_t *);
712 int netbsd32_poll(struct lwp *, const struct netbsd32_poll_args *, register_t *);
714 int sunos32_sys_nfssvc(struct lwp *, const struct sunos32_sys_nfssvc_args *, register_t *);
716 int compat_43_netbsd32_ogetdirentries(struct lwp *, const struct compat_43_netbsd32_ogetdirentries_args *, register_t *);
718 int sunos32_sys_statfs(struct lwp *, const struct sunos32_sys_statfs_args *, register_t *);
720 int sunos32_sys_fstatfs(struct lwp *, const struct sunos32_sys_fstatfs_args *, register_t *);
722 int sunos32_sys_unmount(struct lwp *, const struct sunos32_sys_unmount_args *, register_t *);
724 #ifdef NFS
725 int async_daemon(struct lwp *, const void *, register_t *);
727 int compat_30_sys_getfh(struct lwp *, const struct compat_30_sys_getfh_args *, register_t *);
729 #else
730 #endif
731 int compat_09_netbsd32_ogetdomainname(struct lwp *, const struct compat_09_netbsd32_ogetdomainname_args *, register_t *);
733 int compat_09_netbsd32_osetdomainname(struct lwp *, const struct compat_09_netbsd32_osetdomainname_args *, register_t *);
735 int sunos32_sys_quotactl(struct lwp *, const struct sunos32_sys_quotactl_args *, register_t *);
737 int sunos32_sys_exportfs(struct lwp *, const struct sunos32_sys_exportfs_args *, register_t *);
739 int sunos32_sys_mount(struct lwp *, const struct sunos32_sys_mount_args *, register_t *);
741 int sunos32_sys_ustat(struct lwp *, const struct sunos32_sys_ustat_args *, register_t *);
743 #ifdef SYSVSEM
744 int compat_10_netbsd32_semsys(struct lwp *, const struct compat_10_netbsd32_semsys_args *, register_t *);
746 #else
747 #endif
748 #ifdef SYSVMSG
749 int compat_10_netbsd32_msgsys(struct lwp *, const struct compat_10_netbsd32_msgsys_args *, register_t *);
751 #else
752 #endif
753 #ifdef SYSVSHM
754 int compat_10_netbsd32_shmsys(struct lwp *, const struct compat_10_netbsd32_shmsys_args *, register_t *);
756 #else
757 #endif
758 int sunos32_sys_auditsys(struct lwp *, const struct sunos32_sys_auditsys_args *, register_t *);
760 int sunos32_sys_getdents(struct lwp *, const struct sunos32_sys_getdents_args *, register_t *);
762 int sys_setsid(struct lwp *, const void *, register_t *);
764 int netbsd32_fchdir(struct lwp *, const struct netbsd32_fchdir_args *, register_t *);
766 int netbsd32_fchroot(struct lwp *, const struct netbsd32_fchroot_args *, register_t *);
768 int sunos32_sys_sigpending(struct lwp *, const struct sunos32_sys_sigpending_args *, register_t *);
770 int netbsd32_setpgid(struct lwp *, const struct netbsd32_setpgid_args *, register_t *);
772 int netbsd32_pathconf(struct lwp *, const struct netbsd32_pathconf_args *, register_t *);
774 int netbsd32_fpathconf(struct lwp *, const struct netbsd32_fpathconf_args *, register_t *);
776 int sunos32_sys_sysconf(struct lwp *, const struct sunos32_sys_sysconf_args *, register_t *);
778 int sunos32_sys_uname(struct lwp *, const struct sunos32_sys_uname_args *, register_t *);
780 #endif /* _SUNOS32_SYS_SYSCALLARGS_H_ */