Catch up with reality, this is GCC 3.4.4.
[dragonfly.git] / sys / emulation / svr4 / svr4_proto.h
1 /*
2  * System call prototypes.
3  *
4  * DO NOT EDIT-- this file is automatically generated.
5  * $DragonFly: src/sys/emulation/svr4/Attic/svr4_proto.h,v 1.10 2003/11/20 06:05:30 dillon Exp $
6  * created from DragonFly: src/sys/emulation/svr4/syscalls.master,v 1.3 2003/08/07 21:17:19 dillon Exp 
7  */
8
9 #ifndef _SVR4_SYSPROTO_H_
10 #define _SVR4_SYSPROTO_H_
11
12 #include <sys/signal.h>
13
14 #include <sys/acl.h>
15
16 #include <sys/msgport.h>
17
18 #include <sys/sysmsg.h>
19
20 #define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \
21                 0 : sizeof(register_t) - sizeof(t))
22
23 struct  svr4_sys_open_args {
24 #ifdef _KERNEL
25         struct sysmsg sysmsg;
26 #endif
27         union usrmsg usrmsg;
28         char *  path;   char path_[PAD_(char *)];
29         int     flags;  char flags_[PAD_(int)];
30         int     mode;   char mode_[PAD_(int)];
31 };
32 struct  svr4_sys_wait_args {
33 #ifdef _KERNEL
34         struct sysmsg sysmsg;
35 #endif
36         union usrmsg usrmsg;
37         int *   status; char status_[PAD_(int *)];
38 };
39 struct  svr4_sys_creat_args {
40 #ifdef _KERNEL
41         struct sysmsg sysmsg;
42 #endif
43         union usrmsg usrmsg;
44         char *  path;   char path_[PAD_(char *)];
45         int     mode;   char mode_[PAD_(int)];
46 };
47 struct  svr4_sys_execv_args {
48 #ifdef _KERNEL
49         struct sysmsg sysmsg;
50 #endif
51         union usrmsg usrmsg;
52         char *  path;   char path_[PAD_(char *)];
53         char ** argp;   char argp_[PAD_(char **)];
54 };
55 struct  svr4_sys_time_args {
56 #ifdef _KERNEL
57         struct sysmsg sysmsg;
58 #endif
59         union usrmsg usrmsg;
60         time_t *        t;      char t_[PAD_(time_t *)];
61 };
62 struct  svr4_sys_mknod_args {
63 #ifdef _KERNEL
64         struct sysmsg sysmsg;
65 #endif
66         union usrmsg usrmsg;
67         char *  path;   char path_[PAD_(char *)];
68         int     mode;   char mode_[PAD_(int)];
69         int     dev;    char dev_[PAD_(int)];
70 };
71 struct  svr4_sys_break_args {
72 #ifdef _KERNEL
73         struct sysmsg sysmsg;
74 #endif
75         union usrmsg usrmsg;
76         caddr_t nsize;  char nsize_[PAD_(caddr_t)];
77 };
78 struct  svr4_sys_stat_args {
79 #ifdef _KERNEL
80         struct sysmsg sysmsg;
81 #endif
82         union usrmsg usrmsg;
83         char *  path;   char path_[PAD_(char *)];
84         struct svr4_stat *      ub;     char ub_[PAD_(struct svr4_stat *)];
85 };
86 struct  svr4_sys_alarm_args {
87 #ifdef _KERNEL
88         struct sysmsg sysmsg;
89 #endif
90         union usrmsg usrmsg;
91         unsigned        sec;    char sec_[PAD_(unsigned)];
92 };
93 struct  svr4_sys_fstat_args {
94 #ifdef _KERNEL
95         struct sysmsg sysmsg;
96 #endif
97         union usrmsg usrmsg;
98         int     fd;     char fd_[PAD_(int)];
99         struct svr4_stat *      sb;     char sb_[PAD_(struct svr4_stat *)];
100 };
101 struct  svr4_sys_pause_args {
102 #ifdef _KERNEL
103         struct sysmsg sysmsg;
104 #endif
105         union usrmsg usrmsg;
106         register_t dummy;
107 };
108 struct  svr4_sys_utime_args {
109 #ifdef _KERNEL
110         struct sysmsg sysmsg;
111 #endif
112         union usrmsg usrmsg;
113         char *  path;   char path_[PAD_(char *)];
114         struct svr4_utimbuf *   ubuf;   char ubuf_[PAD_(struct svr4_utimbuf *)];
115 };
116 struct  svr4_sys_access_args {
117 #ifdef _KERNEL
118         struct sysmsg sysmsg;
119 #endif
120         union usrmsg usrmsg;
121         char *  path;   char path_[PAD_(char *)];
122         int     flags;  char flags_[PAD_(int)];
123 };
124 struct  svr4_sys_nice_args {
125 #ifdef _KERNEL
126         struct sysmsg sysmsg;
127 #endif
128         union usrmsg usrmsg;
129         int     prio;   char prio_[PAD_(int)];
130 };
131 struct  svr4_sys_kill_args {
132 #ifdef _KERNEL
133         struct sysmsg sysmsg;
134 #endif
135         union usrmsg usrmsg;
136         int     pid;    char pid_[PAD_(int)];
137         int     signum; char signum_[PAD_(int)];
138 };
139 struct  svr4_sys_pgrpsys_args {
140 #ifdef _KERNEL
141         struct sysmsg sysmsg;
142 #endif
143         union usrmsg usrmsg;
144         int     cmd;    char cmd_[PAD_(int)];
145         int     pid;    char pid_[PAD_(int)];
146         int     pgid;   char pgid_[PAD_(int)];
147 };
148 struct  svr4_sys_times_args {
149 #ifdef _KERNEL
150         struct sysmsg sysmsg;
151 #endif
152         union usrmsg usrmsg;
153         struct tms *    tp;     char tp_[PAD_(struct tms *)];
154 };
155 struct  svr4_sys_signal_args {
156 #ifdef _KERNEL
157         struct sysmsg sysmsg;
158 #endif
159         union usrmsg usrmsg;
160         int     signum; char signum_[PAD_(int)];
161         svr4_sig_t      handler;        char handler_[PAD_(svr4_sig_t)];
162 };
163 #if defined(NOTYET)
164 struct  svr4_sys_msgsys_args {
165 #ifdef _KERNEL
166         struct sysmsg sysmsg;
167 #endif
168         union usrmsg usrmsg;
169         int     what;   char what_[PAD_(int)];
170         int     a2;     char a2_[PAD_(int)];
171         int     a3;     char a3_[PAD_(int)];
172         int     a4;     char a4_[PAD_(int)];
173         int     a5;     char a5_[PAD_(int)];
174 };
175 #else
176 #endif
177 struct  svr4_sys_sysarch_args {
178 #ifdef _KERNEL
179         struct sysmsg sysmsg;
180 #endif
181         union usrmsg usrmsg;
182         int     op;     char op_[PAD_(int)];
183         void *  a1;     char a1_[PAD_(void *)];
184 };
185 struct  svr4_sys_ioctl_args {
186 #ifdef _KERNEL
187         struct sysmsg sysmsg;
188 #endif
189         union usrmsg usrmsg;
190         int     fd;     char fd_[PAD_(int)];
191         u_long  com;    char com_[PAD_(u_long)];
192         caddr_t data;   char data_[PAD_(caddr_t)];
193 };
194 struct  svr4_sys_utssys_args {
195 #ifdef _KERNEL
196         struct sysmsg sysmsg;
197 #endif
198         union usrmsg usrmsg;
199         void *  a1;     char a1_[PAD_(void *)];
200         void *  a2;     char a2_[PAD_(void *)];
201         int     sel;    char sel_[PAD_(int)];
202         void *  a3;     char a3_[PAD_(void *)];
203 };
204 struct  svr4_sys_execve_args {
205 #ifdef _KERNEL
206         struct sysmsg sysmsg;
207 #endif
208         union usrmsg usrmsg;
209         char *  path;   char path_[PAD_(char *)];
210         char ** argp;   char argp_[PAD_(char **)];
211         char ** envp;   char envp_[PAD_(char **)];
212 };
213 struct  svr4_sys_fcntl_args {
214 #ifdef _KERNEL
215         struct sysmsg sysmsg;
216 #endif
217         union usrmsg usrmsg;
218         int     fd;     char fd_[PAD_(int)];
219         int     cmd;    char cmd_[PAD_(int)];
220         char *  arg;    char arg_[PAD_(char *)];
221 };
222 struct  svr4_sys_ulimit_args {
223 #ifdef _KERNEL
224         struct sysmsg sysmsg;
225 #endif
226         union usrmsg usrmsg;
227         int     cmd;    char cmd_[PAD_(int)];
228         long    newlimit;       char newlimit_[PAD_(long)];
229 };
230 struct  svr4_sys_getdents_args {
231 #ifdef _KERNEL
232         struct sysmsg sysmsg;
233 #endif
234         union usrmsg usrmsg;
235         int     fd;     char fd_[PAD_(int)];
236         char *  buf;    char buf_[PAD_(char *)];
237         int     nbytes; char nbytes_[PAD_(int)];
238 };
239 struct  svr4_sys_getmsg_args {
240 #ifdef _KERNEL
241         struct sysmsg sysmsg;
242 #endif
243         union usrmsg usrmsg;
244         int     fd;     char fd_[PAD_(int)];
245         struct svr4_strbuf *    ctl;    char ctl_[PAD_(struct svr4_strbuf *)];
246         struct svr4_strbuf *    dat;    char dat_[PAD_(struct svr4_strbuf *)];
247         int *   flags;  char flags_[PAD_(int *)];
248 };
249 struct  svr4_sys_putmsg_args {
250 #ifdef _KERNEL
251         struct sysmsg sysmsg;
252 #endif
253         union usrmsg usrmsg;
254         int     fd;     char fd_[PAD_(int)];
255         struct svr4_strbuf *    ctl;    char ctl_[PAD_(struct svr4_strbuf *)];
256         struct svr4_strbuf *    dat;    char dat_[PAD_(struct svr4_strbuf *)];
257         int     flags;  char flags_[PAD_(int)];
258 };
259 struct  svr4_sys_poll_args {
260 #ifdef _KERNEL
261         struct sysmsg sysmsg;
262 #endif
263         union usrmsg usrmsg;
264         struct pollfd * fds;    char fds_[PAD_(struct pollfd *)];
265         unsigned int    nfds;   char nfds_[PAD_(unsigned int)];
266         int     timeout;        char timeout_[PAD_(int)];
267 };
268 struct  svr4_sys_lstat_args {
269 #ifdef _KERNEL
270         struct sysmsg sysmsg;
271 #endif
272         union usrmsg usrmsg;
273         char *  path;   char path_[PAD_(char *)];
274         struct svr4_stat *      ub;     char ub_[PAD_(struct svr4_stat *)];
275 };
276 struct  svr4_sys_sigprocmask_args {
277 #ifdef _KERNEL
278         struct sysmsg sysmsg;
279 #endif
280         union usrmsg usrmsg;
281         int     how;    char how_[PAD_(int)];
282         svr4_sigset_t * set;    char set_[PAD_(svr4_sigset_t *)];
283         svr4_sigset_t * oset;   char oset_[PAD_(svr4_sigset_t *)];
284 };
285 struct  svr4_sys_sigsuspend_args {
286 #ifdef _KERNEL
287         struct sysmsg sysmsg;
288 #endif
289         union usrmsg usrmsg;
290         svr4_sigset_t * ss;     char ss_[PAD_(svr4_sigset_t *)];
291 };
292 struct  svr4_sys_sigaltstack_args {
293 #ifdef _KERNEL
294         struct sysmsg sysmsg;
295 #endif
296         union usrmsg usrmsg;
297         struct svr4_sigaltstack *       nss;    char nss_[PAD_(struct svr4_sigaltstack *)];
298         struct svr4_sigaltstack *       oss;    char oss_[PAD_(struct svr4_sigaltstack *)];
299 };
300 struct  svr4_sys_sigaction_args {
301 #ifdef _KERNEL
302         struct sysmsg sysmsg;
303 #endif
304         union usrmsg usrmsg;
305         int     signum; char signum_[PAD_(int)];
306         struct svr4_sigaction * nsa;    char nsa_[PAD_(struct svr4_sigaction *)];
307         struct svr4_sigaction * osa;    char osa_[PAD_(struct svr4_sigaction *)];
308 };
309 struct  svr4_sys_sigpending_args {
310 #ifdef _KERNEL
311         struct sysmsg sysmsg;
312 #endif
313         union usrmsg usrmsg;
314         int     what;   char what_[PAD_(int)];
315         svr4_sigset_t * mask;   char mask_[PAD_(svr4_sigset_t *)];
316 };
317 struct  svr4_sys_context_args {
318 #ifdef _KERNEL
319         struct sysmsg sysmsg;
320 #endif
321         union usrmsg usrmsg;
322         int     func;   char func_[PAD_(int)];
323         struct svr4_ucontext *  uc;     char uc_[PAD_(struct svr4_ucontext *)];
324 };
325 struct  svr4_sys_statvfs_args {
326 #ifdef _KERNEL
327         struct sysmsg sysmsg;
328 #endif
329         union usrmsg usrmsg;
330         char *  path;   char path_[PAD_(char *)];
331         struct svr4_statvfs *   fs;     char fs_[PAD_(struct svr4_statvfs *)];
332 };
333 struct  svr4_sys_fstatvfs_args {
334 #ifdef _KERNEL
335         struct sysmsg sysmsg;
336 #endif
337         union usrmsg usrmsg;
338         int     fd;     char fd_[PAD_(int)];
339         struct svr4_statvfs *   fs;     char fs_[PAD_(struct svr4_statvfs *)];
340 };
341 struct  svr4_sys_waitsys_args {
342 #ifdef _KERNEL
343         struct sysmsg sysmsg;
344 #endif
345         union usrmsg usrmsg;
346         int     grp;    char grp_[PAD_(int)];
347         int     id;     char id_[PAD_(int)];
348         union svr4_siginfo *    info;   char info_[PAD_(union svr4_siginfo *)];
349         int     options;        char options_[PAD_(int)];
350 };
351 struct  svr4_sys_hrtsys_args {
352 #ifdef _KERNEL
353         struct sysmsg sysmsg;
354 #endif
355         union usrmsg usrmsg;
356         int     cmd;    char cmd_[PAD_(int)];
357         int     fun;    char fun_[PAD_(int)];
358         int     sub;    char sub_[PAD_(int)];
359         void *  rv1;    char rv1_[PAD_(void *)];
360         void *  rv2;    char rv2_[PAD_(void *)];
361 };
362 struct  svr4_sys_pathconf_args {
363 #ifdef _KERNEL
364         struct sysmsg sysmsg;
365 #endif
366         union usrmsg usrmsg;
367         char *  path;   char path_[PAD_(char *)];
368         int     name;   char name_[PAD_(int)];
369 };
370 struct  svr4_sys_mmap_args {
371 #ifdef _KERNEL
372         struct sysmsg sysmsg;
373 #endif
374         union usrmsg usrmsg;
375         caddr_t addr;   char addr_[PAD_(caddr_t)];
376         svr4_size_t     len;    char len_[PAD_(svr4_size_t)];
377         int     prot;   char prot_[PAD_(int)];
378         int     flags;  char flags_[PAD_(int)];
379         int     fd;     char fd_[PAD_(int)];
380         svr4_off_t      pos;    char pos_[PAD_(svr4_off_t)];
381 };
382 struct  svr4_sys_fpathconf_args {
383 #ifdef _KERNEL
384         struct sysmsg sysmsg;
385 #endif
386         union usrmsg usrmsg;
387         int     fd;     char fd_[PAD_(int)];
388         int     name;   char name_[PAD_(int)];
389 };
390 struct  svr4_sys_xstat_args {
391 #ifdef _KERNEL
392         struct sysmsg sysmsg;
393 #endif
394         union usrmsg usrmsg;
395         int     two;    char two_[PAD_(int)];
396         char *  path;   char path_[PAD_(char *)];
397         struct svr4_xstat *     ub;     char ub_[PAD_(struct svr4_xstat *)];
398 };
399 struct  svr4_sys_lxstat_args {
400 #ifdef _KERNEL
401         struct sysmsg sysmsg;
402 #endif
403         union usrmsg usrmsg;
404         int     two;    char two_[PAD_(int)];
405         char *  path;   char path_[PAD_(char *)];
406         struct svr4_xstat *     ub;     char ub_[PAD_(struct svr4_xstat *)];
407 };
408 struct  svr4_sys_fxstat_args {
409 #ifdef _KERNEL
410         struct sysmsg sysmsg;
411 #endif
412         union usrmsg usrmsg;
413         int     two;    char two_[PAD_(int)];
414         int     fd;     char fd_[PAD_(int)];
415         struct svr4_xstat *     sb;     char sb_[PAD_(struct svr4_xstat *)];
416 };
417 struct  svr4_sys_xmknod_args {
418 #ifdef _KERNEL
419         struct sysmsg sysmsg;
420 #endif
421         union usrmsg usrmsg;
422         int     two;    char two_[PAD_(int)];
423         char *  path;   char path_[PAD_(char *)];
424         svr4_mode_t     mode;   char mode_[PAD_(svr4_mode_t)];
425         svr4_dev_t      dev;    char dev_[PAD_(svr4_dev_t)];
426 };
427 struct  svr4_sys_setrlimit_args {
428 #ifdef _KERNEL
429         struct sysmsg sysmsg;
430 #endif
431         union usrmsg usrmsg;
432         int     which;  char which_[PAD_(int)];
433         const struct svr4_rlimit *      rlp;    char rlp_[PAD_(const struct svr4_rlimit *)];
434 };
435 struct  svr4_sys_getrlimit_args {
436 #ifdef _KERNEL
437         struct sysmsg sysmsg;
438 #endif
439         union usrmsg usrmsg;
440         int     which;  char which_[PAD_(int)];
441         struct svr4_rlimit *    rlp;    char rlp_[PAD_(struct svr4_rlimit *)];
442 };
443 struct  svr4_sys_memcntl_args {
444 #ifdef _KERNEL
445         struct sysmsg sysmsg;
446 #endif
447         union usrmsg usrmsg;
448         void *  addr;   char addr_[PAD_(void *)];
449         svr4_size_t     len;    char len_[PAD_(svr4_size_t)];
450         int     cmd;    char cmd_[PAD_(int)];
451         void *  arg;    char arg_[PAD_(void *)];
452         int     attr;   char attr_[PAD_(int)];
453         int     mask;   char mask_[PAD_(int)];
454 };
455 struct  svr4_sys_uname_args {
456 #ifdef _KERNEL
457         struct sysmsg sysmsg;
458 #endif
459         union usrmsg usrmsg;
460         struct svr4_utsname *   name;   char name_[PAD_(struct svr4_utsname *)];
461         int     dummy;  char dummy_[PAD_(int)];
462 };
463 struct  svr4_sys_sysconfig_args {
464 #ifdef _KERNEL
465         struct sysmsg sysmsg;
466 #endif
467         union usrmsg usrmsg;
468         int     name;   char name_[PAD_(int)];
469 };
470 struct  svr4_sys_systeminfo_args {
471 #ifdef _KERNEL
472         struct sysmsg sysmsg;
473 #endif
474         union usrmsg usrmsg;
475         int     what;   char what_[PAD_(int)];
476         char *  buf;    char buf_[PAD_(char *)];
477         long    len;    char len_[PAD_(long)];
478 };
479 struct  svr4_sys_fchroot_args {
480 #ifdef _KERNEL
481         struct sysmsg sysmsg;
482 #endif
483         union usrmsg usrmsg;
484         int     fd;     char fd_[PAD_(int)];
485 };
486 struct  svr4_sys_utimes_args {
487 #ifdef _KERNEL
488         struct sysmsg sysmsg;
489 #endif
490         union usrmsg usrmsg;
491         char *  path;   char path_[PAD_(char *)];
492         struct timeval *        tptr;   char tptr_[PAD_(struct timeval *)];
493 };
494 struct  svr4_sys_vhangup_args {
495 #ifdef _KERNEL
496         struct sysmsg sysmsg;
497 #endif
498         union usrmsg usrmsg;
499         register_t dummy;
500 };
501 struct  svr4_sys_gettimeofday_args {
502 #ifdef _KERNEL
503         struct sysmsg sysmsg;
504 #endif
505         union usrmsg usrmsg;
506         struct timeval *        tp;     char tp_[PAD_(struct timeval *)];
507 };
508 struct  svr4_sys_llseek_args {
509 #ifdef _KERNEL
510         struct sysmsg sysmsg;
511 #endif
512         union usrmsg usrmsg;
513         int     fd;     char fd_[PAD_(int)];
514         long    offset1;        char offset1_[PAD_(long)];
515         long    offset2;        char offset2_[PAD_(long)];
516         int     whence; char whence_[PAD_(int)];
517 };
518 struct  svr4_sys_acl_args {
519 #ifdef _KERNEL
520         struct sysmsg sysmsg;
521 #endif
522         union usrmsg usrmsg;
523         char *  path;   char path_[PAD_(char *)];
524         int     cmd;    char cmd_[PAD_(int)];
525         int     num;    char num_[PAD_(int)];
526         struct svr4_aclent *    buf;    char buf_[PAD_(struct svr4_aclent *)];
527 };
528 struct  svr4_sys_auditsys_args {
529 #ifdef _KERNEL
530         struct sysmsg sysmsg;
531 #endif
532         union usrmsg usrmsg;
533         int     code;   char code_[PAD_(int)];
534         int     a1;     char a1_[PAD_(int)];
535         int     a2;     char a2_[PAD_(int)];
536         int     a3;     char a3_[PAD_(int)];
537         int     a4;     char a4_[PAD_(int)];
538         int     a5;     char a5_[PAD_(int)];
539 };
540 struct  svr4_sys_facl_args {
541 #ifdef _KERNEL
542         struct sysmsg sysmsg;
543 #endif
544         union usrmsg usrmsg;
545         int     fd;     char fd_[PAD_(int)];
546         int     cmd;    char cmd_[PAD_(int)];
547         int     num;    char num_[PAD_(int)];
548         struct svr4_aclent *    buf;    char buf_[PAD_(struct svr4_aclent *)];
549 };
550 struct  svr4_sys_resolvepath_args {
551 #ifdef _KERNEL
552         struct sysmsg sysmsg;
553 #endif
554         union usrmsg usrmsg;
555         const char *    path;   char path_[PAD_(const char *)];
556         char *  buf;    char buf_[PAD_(char *)];
557         size_t  bufsiz; char bufsiz_[PAD_(size_t)];
558 };
559 struct  svr4_sys_getdents64_args {
560 #ifdef _KERNEL
561         struct sysmsg sysmsg;
562 #endif
563         union usrmsg usrmsg;
564         int     fd;     char fd_[PAD_(int)];
565         struct svr4_dirent64 *  dp;     char dp_[PAD_(struct svr4_dirent64 *)];
566         int     nbytes; char nbytes_[PAD_(int)];
567 };
568 struct  svr4_sys_mmap64_args {
569 #ifdef _KERNEL
570         struct sysmsg sysmsg;
571 #endif
572         union usrmsg usrmsg;
573         void *  addr;   char addr_[PAD_(void *)];
574         svr4_size_t     len;    char len_[PAD_(svr4_size_t)];
575         int     prot;   char prot_[PAD_(int)];
576         int     flags;  char flags_[PAD_(int)];
577         int     fd;     char fd_[PAD_(int)];
578         svr4_off64_t    pos;    char pos_[PAD_(svr4_off64_t)];
579 };
580 struct  svr4_sys_stat64_args {
581 #ifdef _KERNEL
582         struct sysmsg sysmsg;
583 #endif
584         union usrmsg usrmsg;
585         char *  path;   char path_[PAD_(char *)];
586         struct svr4_stat64 *    sb;     char sb_[PAD_(struct svr4_stat64 *)];
587 };
588 struct  svr4_sys_lstat64_args {
589 #ifdef _KERNEL
590         struct sysmsg sysmsg;
591 #endif
592         union usrmsg usrmsg;
593         char *  path;   char path_[PAD_(char *)];
594         struct svr4_stat64 *    sb;     char sb_[PAD_(struct svr4_stat64 *)];
595 };
596 struct  svr4_sys_fstat64_args {
597 #ifdef _KERNEL
598         struct sysmsg sysmsg;
599 #endif
600         union usrmsg usrmsg;
601         int     fd;     char fd_[PAD_(int)];
602         struct svr4_stat64 *    sb;     char sb_[PAD_(struct svr4_stat64 *)];
603 };
604 struct  svr4_sys_statvfs64_args {
605 #ifdef _KERNEL
606         struct sysmsg sysmsg;
607 #endif
608         union usrmsg usrmsg;
609         char *  path;   char path_[PAD_(char *)];
610         struct svr4_statvfs64 * fs;     char fs_[PAD_(struct svr4_statvfs64 *)];
611 };
612 struct  svr4_sys_fstatvfs64_args {
613 #ifdef _KERNEL
614         struct sysmsg sysmsg;
615 #endif
616         union usrmsg usrmsg;
617         int     fd;     char fd_[PAD_(int)];
618         struct svr4_statvfs64 * fs;     char fs_[PAD_(struct svr4_statvfs64 *)];
619 };
620 struct  svr4_sys_setrlimit64_args {
621 #ifdef _KERNEL
622         struct sysmsg sysmsg;
623 #endif
624         union usrmsg usrmsg;
625         int     which;  char which_[PAD_(int)];
626         const struct svr4_rlimit64 *    rlp;    char rlp_[PAD_(const struct svr4_rlimit64 *)];
627 };
628 struct  svr4_sys_getrlimit64_args {
629 #ifdef _KERNEL
630         struct sysmsg sysmsg;
631 #endif
632         union usrmsg usrmsg;
633         int     which;  char which_[PAD_(int)];
634         struct svr4_rlimit64 *  rlp;    char rlp_[PAD_(struct svr4_rlimit64 *)];
635 };
636 struct  svr4_sys_creat64_args {
637 #ifdef _KERNEL
638         struct sysmsg sysmsg;
639 #endif
640         union usrmsg usrmsg;
641         char *  path;   char path_[PAD_(char *)];
642         int     mode;   char mode_[PAD_(int)];
643 };
644 struct  svr4_sys_open64_args {
645 #ifdef _KERNEL
646         struct sysmsg sysmsg;
647 #endif
648         union usrmsg usrmsg;
649         char *  path;   char path_[PAD_(char *)];
650         int     flags;  char flags_[PAD_(int)];
651         int     mode;   char mode_[PAD_(int)];
652 };
653 struct  svr4_sys_socket_args {
654 #ifdef _KERNEL
655         struct sysmsg sysmsg;
656 #endif
657         union usrmsg usrmsg;
658         int     domain; char domain_[PAD_(int)];
659         int     type;   char type_[PAD_(int)];
660         int     protocol;       char protocol_[PAD_(int)];
661 };
662 struct  svr4_sys_recv_args {
663 #ifdef _KERNEL
664         struct sysmsg sysmsg;
665 #endif
666         union usrmsg usrmsg;
667         int     s;      char s_[PAD_(int)];
668         caddr_t buf;    char buf_[PAD_(caddr_t)];
669         int     len;    char len_[PAD_(int)];
670         int     flags;  char flags_[PAD_(int)];
671 };
672 struct  svr4_sys_send_args {
673 #ifdef _KERNEL
674         struct sysmsg sysmsg;
675 #endif
676         union usrmsg usrmsg;
677         int     s;      char s_[PAD_(int)];
678         caddr_t buf;    char buf_[PAD_(caddr_t)];
679         int     len;    char len_[PAD_(int)];
680         int     flags;  char flags_[PAD_(int)];
681 };
682 struct  svr4_sys_sendto_args {
683 #ifdef _KERNEL
684         struct sysmsg sysmsg;
685 #endif
686         union usrmsg usrmsg;
687         int     s;      char s_[PAD_(int)];
688         void *  buf;    char buf_[PAD_(void *)];
689         size_t  len;    char len_[PAD_(size_t)];
690         int     flags;  char flags_[PAD_(int)];
691         struct sockaddr *       to;     char to_[PAD_(struct sockaddr *)];
692         int     tolen;  char tolen_[PAD_(int)];
693 };
694
695 #ifdef _KERNEL
696
697 int     svr4_sys_open (struct svr4_sys_open_args *);
698 int     svr4_sys_wait (struct svr4_sys_wait_args *);
699 int     svr4_sys_creat (struct svr4_sys_creat_args *);
700 int     svr4_sys_execv (struct svr4_sys_execv_args *);
701 int     svr4_sys_time (struct svr4_sys_time_args *);
702 int     svr4_sys_mknod (struct svr4_sys_mknod_args *);
703 int     svr4_sys_break (struct svr4_sys_break_args *);
704 int     svr4_sys_stat (struct svr4_sys_stat_args *);
705 int     svr4_sys_alarm (struct svr4_sys_alarm_args *);
706 int     svr4_sys_fstat (struct svr4_sys_fstat_args *);
707 int     svr4_sys_pause (struct svr4_sys_pause_args *);
708 int     svr4_sys_utime (struct svr4_sys_utime_args *);
709 int     svr4_sys_access (struct svr4_sys_access_args *);
710 int     svr4_sys_nice (struct svr4_sys_nice_args *);
711 int     svr4_sys_kill (struct svr4_sys_kill_args *);
712 int     svr4_sys_pgrpsys (struct svr4_sys_pgrpsys_args *);
713 int     svr4_sys_times (struct svr4_sys_times_args *);
714 int     svr4_sys_signal (struct svr4_sys_signal_args *);
715 #if defined(NOTYET)
716 int     svr4_sys_msgsys (struct svr4_sys_msgsys_args *);
717 #else
718 #endif
719 int     svr4_sys_sysarch (struct svr4_sys_sysarch_args *);
720 int     svr4_sys_ioctl (struct svr4_sys_ioctl_args *);
721 int     svr4_sys_utssys (struct svr4_sys_utssys_args *);
722 int     svr4_sys_execve (struct svr4_sys_execve_args *);
723 int     svr4_sys_fcntl (struct svr4_sys_fcntl_args *);
724 int     svr4_sys_ulimit (struct svr4_sys_ulimit_args *);
725 int     svr4_sys_getdents (struct svr4_sys_getdents_args *);
726 int     svr4_sys_getmsg (struct svr4_sys_getmsg_args *);
727 int     svr4_sys_putmsg (struct svr4_sys_putmsg_args *);
728 int     svr4_sys_poll (struct svr4_sys_poll_args *);
729 int     svr4_sys_lstat (struct svr4_sys_lstat_args *);
730 int     svr4_sys_sigprocmask (struct svr4_sys_sigprocmask_args *);
731 int     svr4_sys_sigsuspend (struct svr4_sys_sigsuspend_args *);
732 int     svr4_sys_sigaltstack (struct svr4_sys_sigaltstack_args *);
733 int     svr4_sys_sigaction (struct svr4_sys_sigaction_args *);
734 int     svr4_sys_sigpending (struct svr4_sys_sigpending_args *);
735 int     svr4_sys_context (struct svr4_sys_context_args *);
736 int     svr4_sys_statvfs (struct svr4_sys_statvfs_args *);
737 int     svr4_sys_fstatvfs (struct svr4_sys_fstatvfs_args *);
738 int     svr4_sys_waitsys (struct svr4_sys_waitsys_args *);
739 int     svr4_sys_hrtsys (struct svr4_sys_hrtsys_args *);
740 int     svr4_sys_pathconf (struct svr4_sys_pathconf_args *);
741 int     svr4_sys_mmap (struct svr4_sys_mmap_args *);
742 int     svr4_sys_fpathconf (struct svr4_sys_fpathconf_args *);
743 int     svr4_sys_xstat (struct svr4_sys_xstat_args *);
744 int     svr4_sys_lxstat (struct svr4_sys_lxstat_args *);
745 int     svr4_sys_fxstat (struct svr4_sys_fxstat_args *);
746 int     svr4_sys_xmknod (struct svr4_sys_xmknod_args *);
747 int     svr4_sys_setrlimit (struct svr4_sys_setrlimit_args *);
748 int     svr4_sys_getrlimit (struct svr4_sys_getrlimit_args *);
749 int     svr4_sys_memcntl (struct svr4_sys_memcntl_args *);
750 int     svr4_sys_uname (struct svr4_sys_uname_args *);
751 int     svr4_sys_sysconfig (struct svr4_sys_sysconfig_args *);
752 int     svr4_sys_systeminfo (struct svr4_sys_systeminfo_args *);
753 int     svr4_sys_fchroot (struct svr4_sys_fchroot_args *);
754 int     svr4_sys_utimes (struct svr4_sys_utimes_args *);
755 int     svr4_sys_vhangup (struct svr4_sys_vhangup_args *);
756 int     svr4_sys_gettimeofday (struct svr4_sys_gettimeofday_args *);
757 int     svr4_sys_llseek (struct svr4_sys_llseek_args *);
758 int     svr4_sys_acl (struct svr4_sys_acl_args *);
759 int     svr4_sys_auditsys (struct svr4_sys_auditsys_args *);
760 int     svr4_sys_facl (struct svr4_sys_facl_args *);
761 int     svr4_sys_resolvepath (struct svr4_sys_resolvepath_args *);
762 int     svr4_sys_getdents64 (struct svr4_sys_getdents64_args *);
763 int     svr4_sys_mmap64 (struct svr4_sys_mmap64_args *);
764 int     svr4_sys_stat64 (struct svr4_sys_stat64_args *);
765 int     svr4_sys_lstat64 (struct svr4_sys_lstat64_args *);
766 int     svr4_sys_fstat64 (struct svr4_sys_fstat64_args *);
767 int     svr4_sys_statvfs64 (struct svr4_sys_statvfs64_args *);
768 int     svr4_sys_fstatvfs64 (struct svr4_sys_fstatvfs64_args *);
769 int     svr4_sys_setrlimit64 (struct svr4_sys_setrlimit64_args *);
770 int     svr4_sys_getrlimit64 (struct svr4_sys_getrlimit64_args *);
771 int     svr4_sys_creat64 (struct svr4_sys_creat64_args *);
772 int     svr4_sys_open64 (struct svr4_sys_open64_args *);
773 int     svr4_sys_socket (struct svr4_sys_socket_args *);
774 int     svr4_sys_recv (struct svr4_sys_recv_args *);
775 int     svr4_sys_send (struct svr4_sys_send_args *);
776 int     svr4_sys_sendto (struct svr4_sys_sendto_args *);
777
778 #endif /* _KERNEL */
779
780 #ifdef COMPAT_43
781
782 #if defined(NOTYET)
783 #else
784 #endif
785
786 #ifdef _KERNEL
787
788
789 #endif /* _KERNEL */
790
791 #endif /* COMPAT_43 */
792
793 #undef PAD_
794
795 #endif /* !_SVR4_SYSPROTO_H_ */