svr4_proto.h (92761) | svr4_proto.h (123784) |
---|---|
1/* 2 * System call prototypes. 3 * 4 * DO NOT EDIT-- this file is automatically generated. | 1/* 2 * System call prototypes. 3 * 4 * DO NOT EDIT-- this file is automatically generated. |
5 * $FreeBSD: head/sys/compat/svr4/svr4_proto.h 92761 2002-03-20 05:48:58Z alfred $ 6 * created from FreeBSD: src/sys/compat/svr4/syscalls.master,v 1.11 2000/08/31 22:54:05 obrien Exp | 5 * $FreeBSD: head/sys/compat/svr4/svr4_proto.h 123784 2003-12-24 00:02:08Z peter $ 6 * created from FreeBSD: src/sys/compat/svr4/syscalls.master,v 1.13 2003/12/24 00:00:47 peter Exp |
7 */ 8 9#ifndef _SVR4_SYSPROTO_H_ 10#define _SVR4_SYSPROTO_H_ 11 12#include <sys/signal.h> | 7 */ 8 9#ifndef _SVR4_SYSPROTO_H_ 10#define _SVR4_SYSPROTO_H_ 11 12#include <sys/signal.h> |
13 | |
14#include <sys/acl.h> | 13#include <sys/acl.h> |
14#include <sys/thr.h> 15#include <sys/umtx.h> 16#include <posix4/_semaphore.h> |
|
15 | 17 |
18#include <sys/ucontext.h> 19 |
|
16struct proc; 17 18struct thread; 19 20#define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \ 21 0 : sizeof(register_t) - sizeof(t)) 22 | 20struct proc; 21 22struct thread; 23 24#define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \ 25 0 : sizeof(register_t) - sizeof(t)) 26 |
23struct svr4_sys_open_args { 24 char * path; char path_[PAD_(char *)]; 25 int flags; char flags_[PAD_(int)]; 26 int mode; char mode_[PAD_(int)]; | 27#if BYTE_ORDER == LITTLE_ENDIAN 28#define PADL_(t) 0 29#define PADR_(t) PAD_(t) 30#else 31#define PADL_(t) PAD_(t) 32#define PADR_(t) 0 33#endif 34 35struct svr4_sys_open_args { 36 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 37 char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; 38 char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; |
27}; | 39}; |
28struct svr4_sys_wait_args { 29 int * status; char status_[PAD_(int *)]; | 40struct svr4_sys_wait_args { 41 char status_l_[PADL_(int *)]; int * status; char status_r_[PADR_(int *)]; |
30}; | 42}; |
31struct svr4_sys_creat_args { 32 char * path; char path_[PAD_(char *)]; 33 int mode; char mode_[PAD_(int)]; | 43struct svr4_sys_creat_args { 44 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 45 char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; |
34}; | 46}; |
35struct svr4_sys_execv_args { 36 char * path; char path_[PAD_(char *)]; 37 char ** argp; char argp_[PAD_(char **)]; | 47struct svr4_sys_execv_args { 48 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 49 char argp_l_[PADL_(char **)]; char ** argp; char argp_r_[PADR_(char **)]; |
38}; | 50}; |
39struct svr4_sys_time_args { 40 time_t * t; char t_[PAD_(time_t *)]; | 51struct svr4_sys_time_args { 52 char t_l_[PADL_(time_t *)]; time_t * t; char t_r_[PADR_(time_t *)]; |
41}; | 53}; |
42struct svr4_sys_mknod_args { 43 char * path; char path_[PAD_(char *)]; 44 int mode; char mode_[PAD_(int)]; 45 int dev; char dev_[PAD_(int)]; | 54struct svr4_sys_mknod_args { 55 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 56 char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; 57 char dev_l_[PADL_(int)]; int dev; char dev_r_[PADR_(int)]; |
46}; | 58}; |
47struct svr4_sys_break_args { 48 caddr_t nsize; char nsize_[PAD_(caddr_t)]; | 59struct svr4_sys_break_args { 60 char nsize_l_[PADL_(caddr_t)]; caddr_t nsize; char nsize_r_[PADR_(caddr_t)]; |
49}; | 61}; |
50struct svr4_sys_stat_args { 51 char * path; char path_[PAD_(char *)]; 52 struct svr4_stat * ub; char ub_[PAD_(struct svr4_stat *)]; | 62struct svr4_sys_stat_args { 63 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 64 char ub_l_[PADL_(struct svr4_stat *)]; struct svr4_stat * ub; char ub_r_[PADR_(struct svr4_stat *)]; |
53}; | 65}; |
54struct svr4_sys_alarm_args { 55 unsigned sec; char sec_[PAD_(unsigned)]; | 66struct svr4_sys_alarm_args { 67 char sec_l_[PADL_(unsigned)]; unsigned sec; char sec_r_[PADR_(unsigned)]; |
56}; | 68}; |
57struct svr4_sys_fstat_args { 58 int fd; char fd_[PAD_(int)]; 59 struct svr4_stat * sb; char sb_[PAD_(struct svr4_stat *)]; | 69struct svr4_sys_fstat_args { 70 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 71 char sb_l_[PADL_(struct svr4_stat *)]; struct svr4_stat * sb; char sb_r_[PADR_(struct svr4_stat *)]; |
60}; | 72}; |
61struct svr4_sys_pause_args { | 73struct svr4_sys_pause_args { |
62 register_t dummy; 63}; | 74 register_t dummy; 75}; |
64struct svr4_sys_utime_args { 65 char * path; char path_[PAD_(char *)]; 66 struct svr4_utimbuf * ubuf; char ubuf_[PAD_(struct svr4_utimbuf *)]; | 76struct svr4_sys_utime_args { 77 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 78 char ubuf_l_[PADL_(struct svr4_utimbuf *)]; struct svr4_utimbuf * ubuf; char ubuf_r_[PADR_(struct svr4_utimbuf *)]; |
67}; | 79}; |
68struct svr4_sys_access_args { 69 char * path; char path_[PAD_(char *)]; 70 int flags; char flags_[PAD_(int)]; | 80struct svr4_sys_access_args { 81 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 82 char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
71}; | 83}; |
72struct svr4_sys_nice_args { 73 int prio; char prio_[PAD_(int)]; | 84struct svr4_sys_nice_args { 85 char prio_l_[PADL_(int)]; int prio; char prio_r_[PADR_(int)]; |
74}; | 86}; |
75struct svr4_sys_kill_args { 76 int pid; char pid_[PAD_(int)]; 77 int signum; char signum_[PAD_(int)]; | 87struct svr4_sys_kill_args { 88 char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)]; 89 char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)]; |
78}; | 90}; |
79struct svr4_sys_pgrpsys_args { 80 int cmd; char cmd_[PAD_(int)]; 81 int pid; char pid_[PAD_(int)]; 82 int pgid; char pgid_[PAD_(int)]; | 91struct svr4_sys_pgrpsys_args { 92 char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; 93 char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)]; 94 char pgid_l_[PADL_(int)]; int pgid; char pgid_r_[PADR_(int)]; |
83}; | 95}; |
84struct svr4_sys_times_args { 85 struct tms * tp; char tp_[PAD_(struct tms *)]; | 96struct svr4_sys_times_args { 97 char tp_l_[PADL_(struct tms *)]; struct tms * tp; char tp_r_[PADR_(struct tms *)]; |
86}; | 98}; |
87struct svr4_sys_signal_args { 88 int signum; char signum_[PAD_(int)]; 89 svr4_sig_t handler; char handler_[PAD_(svr4_sig_t)]; | 99struct svr4_sys_signal_args { 100 char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)]; 101 char handler_l_[PADL_(svr4_sig_t)]; svr4_sig_t handler; char handler_r_[PADR_(svr4_sig_t)]; |
90}; 91#if defined(NOTYET) | 102}; 103#if defined(NOTYET) |
92struct svr4_sys_msgsys_args { 93 int what; char what_[PAD_(int)]; 94 int a2; char a2_[PAD_(int)]; 95 int a3; char a3_[PAD_(int)]; 96 int a4; char a4_[PAD_(int)]; 97 int a5; char a5_[PAD_(int)]; | 104struct svr4_sys_msgsys_args { 105 char what_l_[PADL_(int)]; int what; char what_r_[PADR_(int)]; 106 char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)]; 107 char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)]; 108 char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)]; 109 char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)]; |
98}; 99#else 100#endif | 110}; 111#else 112#endif |
101struct svr4_sys_sysarch_args { 102 int op; char op_[PAD_(int)]; 103 void * a1; char a1_[PAD_(void *)]; | 113struct svr4_sys_sysarch_args { 114 char op_l_[PADL_(int)]; int op; char op_r_[PADR_(int)]; 115 char a1_l_[PADL_(void *)]; void * a1; char a1_r_[PADR_(void *)]; |
104}; | 116}; |
105struct svr4_sys_ioctl_args { 106 int fd; char fd_[PAD_(int)]; 107 u_long com; char com_[PAD_(u_long)]; 108 caddr_t data; char data_[PAD_(caddr_t)]; | 117struct svr4_sys_ioctl_args { 118 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 119 char com_l_[PADL_(u_long)]; u_long com; char com_r_[PADR_(u_long)]; 120 char data_l_[PADL_(caddr_t)]; caddr_t data; char data_r_[PADR_(caddr_t)]; |
109}; | 121}; |
110struct svr4_sys_utssys_args { 111 void * a1; char a1_[PAD_(void *)]; 112 void * a2; char a2_[PAD_(void *)]; 113 int sel; char sel_[PAD_(int)]; 114 void * a3; char a3_[PAD_(void *)]; | 122struct svr4_sys_utssys_args { 123 char a1_l_[PADL_(void *)]; void * a1; char a1_r_[PADR_(void *)]; 124 char a2_l_[PADL_(void *)]; void * a2; char a2_r_[PADR_(void *)]; 125 char sel_l_[PADL_(int)]; int sel; char sel_r_[PADR_(int)]; 126 char a3_l_[PADL_(void *)]; void * a3; char a3_r_[PADR_(void *)]; |
115}; | 127}; |
116struct svr4_sys_execve_args { 117 char * path; char path_[PAD_(char *)]; 118 char ** argp; char argp_[PAD_(char **)]; 119 char ** envp; char envp_[PAD_(char **)]; | 128struct svr4_sys_execve_args { 129 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 130 char argp_l_[PADL_(char **)]; char ** argp; char argp_r_[PADR_(char **)]; 131 char envp_l_[PADL_(char **)]; char ** envp; char envp_r_[PADR_(char **)]; |
120}; | 132}; |
121struct svr4_sys_fcntl_args { 122 int fd; char fd_[PAD_(int)]; 123 int cmd; char cmd_[PAD_(int)]; 124 char * arg; char arg_[PAD_(char *)]; | 133struct svr4_sys_fcntl_args { 134 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 135 char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; 136 char arg_l_[PADL_(char *)]; char * arg; char arg_r_[PADR_(char *)]; |
125}; | 137}; |
126struct svr4_sys_ulimit_args { 127 int cmd; char cmd_[PAD_(int)]; 128 long newlimit; char newlimit_[PAD_(long)]; | 138struct svr4_sys_ulimit_args { 139 char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; 140 char newlimit_l_[PADL_(long)]; long newlimit; char newlimit_r_[PADR_(long)]; |
129}; | 141}; |
130struct svr4_sys_getdents_args { 131 int fd; char fd_[PAD_(int)]; 132 char * buf; char buf_[PAD_(char *)]; 133 int nbytes; char nbytes_[PAD_(int)]; | 142struct svr4_sys_getdents_args { 143 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 144 char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)]; 145 char nbytes_l_[PADL_(int)]; int nbytes; char nbytes_r_[PADR_(int)]; |
134}; | 146}; |
135struct svr4_sys_getmsg_args { 136 int fd; char fd_[PAD_(int)]; 137 struct svr4_strbuf * ctl; char ctl_[PAD_(struct svr4_strbuf *)]; 138 struct svr4_strbuf * dat; char dat_[PAD_(struct svr4_strbuf *)]; 139 int * flags; char flags_[PAD_(int *)]; | 147struct svr4_sys_getmsg_args { 148 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 149 char ctl_l_[PADL_(struct svr4_strbuf *)]; struct svr4_strbuf * ctl; char ctl_r_[PADR_(struct svr4_strbuf *)]; 150 char dat_l_[PADL_(struct svr4_strbuf *)]; struct svr4_strbuf * dat; char dat_r_[PADR_(struct svr4_strbuf *)]; 151 char flags_l_[PADL_(int *)]; int * flags; char flags_r_[PADR_(int *)]; |
140}; | 152}; |
141struct svr4_sys_putmsg_args { 142 int fd; char fd_[PAD_(int)]; 143 struct svr4_strbuf * ctl; char ctl_[PAD_(struct svr4_strbuf *)]; 144 struct svr4_strbuf * dat; char dat_[PAD_(struct svr4_strbuf *)]; 145 int flags; char flags_[PAD_(int)]; | 153struct svr4_sys_putmsg_args { 154 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 155 char ctl_l_[PADL_(struct svr4_strbuf *)]; struct svr4_strbuf * ctl; char ctl_r_[PADR_(struct svr4_strbuf *)]; 156 char dat_l_[PADL_(struct svr4_strbuf *)]; struct svr4_strbuf * dat; char dat_r_[PADR_(struct svr4_strbuf *)]; 157 char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
146}; | 158}; |
147struct svr4_sys_poll_args { 148 struct pollfd * fds; char fds_[PAD_(struct pollfd *)]; 149 unsigned int nfds; char nfds_[PAD_(unsigned int)]; 150 int timeout; char timeout_[PAD_(int)]; | 159struct svr4_sys_poll_args { 160 char fds_l_[PADL_(struct pollfd *)]; struct pollfd * fds; char fds_r_[PADR_(struct pollfd *)]; 161 char nfds_l_[PADL_(unsigned int)]; unsigned int nfds; char nfds_r_[PADR_(unsigned int)]; 162 char timeout_l_[PADL_(int)]; int timeout; char timeout_r_[PADR_(int)]; |
151}; | 163}; |
152struct svr4_sys_lstat_args { 153 char * path; char path_[PAD_(char *)]; 154 struct svr4_stat * ub; char ub_[PAD_(struct svr4_stat *)]; | 164struct svr4_sys_lstat_args { 165 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 166 char ub_l_[PADL_(struct svr4_stat *)]; struct svr4_stat * ub; char ub_r_[PADR_(struct svr4_stat *)]; |
155}; | 167}; |
156struct svr4_sys_sigprocmask_args { 157 int how; char how_[PAD_(int)]; 158 svr4_sigset_t * set; char set_[PAD_(svr4_sigset_t *)]; 159 svr4_sigset_t * oset; char oset_[PAD_(svr4_sigset_t *)]; | 168struct svr4_sys_sigprocmask_args { 169 char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)]; 170 char set_l_[PADL_(svr4_sigset_t *)]; svr4_sigset_t * set; char set_r_[PADR_(svr4_sigset_t *)]; 171 char oset_l_[PADL_(svr4_sigset_t *)]; svr4_sigset_t * oset; char oset_r_[PADR_(svr4_sigset_t *)]; |
160}; | 172}; |
161struct svr4_sys_sigsuspend_args { 162 svr4_sigset_t * ss; char ss_[PAD_(svr4_sigset_t *)]; | 173struct svr4_sys_sigsuspend_args { 174 char ss_l_[PADL_(svr4_sigset_t *)]; svr4_sigset_t * ss; char ss_r_[PADR_(svr4_sigset_t *)]; |
163}; | 175}; |
164struct svr4_sys_sigaltstack_args { 165 struct svr4_sigaltstack * nss; char nss_[PAD_(struct svr4_sigaltstack *)]; 166 struct svr4_sigaltstack * oss; char oss_[PAD_(struct svr4_sigaltstack *)]; | 176struct svr4_sys_sigaltstack_args { 177 char nss_l_[PADL_(struct svr4_sigaltstack *)]; struct svr4_sigaltstack * nss; char nss_r_[PADR_(struct svr4_sigaltstack *)]; 178 char oss_l_[PADL_(struct svr4_sigaltstack *)]; struct svr4_sigaltstack * oss; char oss_r_[PADR_(struct svr4_sigaltstack *)]; |
167}; | 179}; |
168struct svr4_sys_sigaction_args { 169 int signum; char signum_[PAD_(int)]; 170 struct svr4_sigaction * nsa; char nsa_[PAD_(struct svr4_sigaction *)]; 171 struct svr4_sigaction * osa; char osa_[PAD_(struct svr4_sigaction *)]; | 180struct svr4_sys_sigaction_args { 181 char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)]; 182 char nsa_l_[PADL_(struct svr4_sigaction *)]; struct svr4_sigaction * nsa; char nsa_r_[PADR_(struct svr4_sigaction *)]; 183 char osa_l_[PADL_(struct svr4_sigaction *)]; struct svr4_sigaction * osa; char osa_r_[PADR_(struct svr4_sigaction *)]; |
172}; | 184}; |
173struct svr4_sys_sigpending_args { 174 int what; char what_[PAD_(int)]; 175 svr4_sigset_t * mask; char mask_[PAD_(svr4_sigset_t *)]; | 185struct svr4_sys_sigpending_args { 186 char what_l_[PADL_(int)]; int what; char what_r_[PADR_(int)]; 187 char mask_l_[PADL_(svr4_sigset_t *)]; svr4_sigset_t * mask; char mask_r_[PADR_(svr4_sigset_t *)]; |
176}; | 188}; |
177struct svr4_sys_context_args { 178 int func; char func_[PAD_(int)]; 179 struct svr4_ucontext * uc; char uc_[PAD_(struct svr4_ucontext *)]; | 189struct svr4_sys_context_args { 190 char func_l_[PADL_(int)]; int func; char func_r_[PADR_(int)]; 191 char uc_l_[PADL_(struct svr4_ucontext *)]; struct svr4_ucontext * uc; char uc_r_[PADR_(struct svr4_ucontext *)]; |
180}; | 192}; |
181struct svr4_sys_statvfs_args { 182 char * path; char path_[PAD_(char *)]; 183 struct svr4_statvfs * fs; char fs_[PAD_(struct svr4_statvfs *)]; | 193struct svr4_sys_statvfs_args { 194 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 195 char fs_l_[PADL_(struct svr4_statvfs *)]; struct svr4_statvfs * fs; char fs_r_[PADR_(struct svr4_statvfs *)]; |
184}; | 196}; |
185struct svr4_sys_fstatvfs_args { 186 int fd; char fd_[PAD_(int)]; 187 struct svr4_statvfs * fs; char fs_[PAD_(struct svr4_statvfs *)]; | 197struct svr4_sys_fstatvfs_args { 198 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 199 char fs_l_[PADL_(struct svr4_statvfs *)]; struct svr4_statvfs * fs; char fs_r_[PADR_(struct svr4_statvfs *)]; |
188}; | 200}; |
189struct svr4_sys_waitsys_args { 190 int grp; char grp_[PAD_(int)]; 191 int id; char id_[PAD_(int)]; 192 union svr4_siginfo * info; char info_[PAD_(union svr4_siginfo *)]; 193 int options; char options_[PAD_(int)]; | 201struct svr4_sys_waitsys_args { 202 char grp_l_[PADL_(int)]; int grp; char grp_r_[PADR_(int)]; 203 char id_l_[PADL_(int)]; int id; char id_r_[PADR_(int)]; 204 char info_l_[PADL_(union svr4_siginfo *)]; union svr4_siginfo * info; char info_r_[PADR_(union svr4_siginfo *)]; 205 char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; |
194}; | 206}; |
195struct svr4_sys_hrtsys_args { 196 int cmd; char cmd_[PAD_(int)]; 197 int fun; char fun_[PAD_(int)]; 198 int sub; char sub_[PAD_(int)]; 199 void * rv1; char rv1_[PAD_(void *)]; 200 void * rv2; char rv2_[PAD_(void *)]; | 207struct svr4_sys_hrtsys_args { 208 char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; 209 char fun_l_[PADL_(int)]; int fun; char fun_r_[PADR_(int)]; 210 char sub_l_[PADL_(int)]; int sub; char sub_r_[PADR_(int)]; 211 char rv1_l_[PADL_(void *)]; void * rv1; char rv1_r_[PADR_(void *)]; 212 char rv2_l_[PADL_(void *)]; void * rv2; char rv2_r_[PADR_(void *)]; |
201}; | 213}; |
202struct svr4_sys_pathconf_args { 203 char * path; char path_[PAD_(char *)]; 204 int name; char name_[PAD_(int)]; | 214struct svr4_sys_pathconf_args { 215 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 216 char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)]; |
205}; | 217}; |
206struct svr4_sys_mmap_args { 207 caddr_t addr; char addr_[PAD_(caddr_t)]; 208 svr4_size_t len; char len_[PAD_(svr4_size_t)]; 209 int prot; char prot_[PAD_(int)]; 210 int flags; char flags_[PAD_(int)]; 211 int fd; char fd_[PAD_(int)]; 212 svr4_off_t pos; char pos_[PAD_(svr4_off_t)]; | 218struct svr4_sys_mmap_args { 219 char addr_l_[PADL_(caddr_t)]; caddr_t addr; char addr_r_[PADR_(caddr_t)]; 220 char len_l_[PADL_(svr4_size_t)]; svr4_size_t len; char len_r_[PADR_(svr4_size_t)]; 221 char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)]; 222 char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; 223 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 224 char pos_l_[PADL_(svr4_off_t)]; svr4_off_t pos; char pos_r_[PADR_(svr4_off_t)]; |
213}; | 225}; |
214struct svr4_sys_fpathconf_args { 215 int fd; char fd_[PAD_(int)]; 216 int name; char name_[PAD_(int)]; | 226struct svr4_sys_fpathconf_args { 227 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 228 char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)]; |
217}; | 229}; |
218struct svr4_sys_xstat_args { 219 int two; char two_[PAD_(int)]; 220 char * path; char path_[PAD_(char *)]; 221 struct svr4_xstat * ub; char ub_[PAD_(struct svr4_xstat *)]; | 230struct svr4_sys_xstat_args { 231 char two_l_[PADL_(int)]; int two; char two_r_[PADR_(int)]; 232 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 233 char ub_l_[PADL_(struct svr4_xstat *)]; struct svr4_xstat * ub; char ub_r_[PADR_(struct svr4_xstat *)]; |
222}; | 234}; |
223struct svr4_sys_lxstat_args { 224 int two; char two_[PAD_(int)]; 225 char * path; char path_[PAD_(char *)]; 226 struct svr4_xstat * ub; char ub_[PAD_(struct svr4_xstat *)]; | 235struct svr4_sys_lxstat_args { 236 char two_l_[PADL_(int)]; int two; char two_r_[PADR_(int)]; 237 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 238 char ub_l_[PADL_(struct svr4_xstat *)]; struct svr4_xstat * ub; char ub_r_[PADR_(struct svr4_xstat *)]; |
227}; | 239}; |
228struct svr4_sys_fxstat_args { 229 int two; char two_[PAD_(int)]; 230 int fd; char fd_[PAD_(int)]; 231 struct svr4_xstat * sb; char sb_[PAD_(struct svr4_xstat *)]; | 240struct svr4_sys_fxstat_args { 241 char two_l_[PADL_(int)]; int two; char two_r_[PADR_(int)]; 242 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 243 char sb_l_[PADL_(struct svr4_xstat *)]; struct svr4_xstat * sb; char sb_r_[PADR_(struct svr4_xstat *)]; |
232}; | 244}; |
233struct svr4_sys_xmknod_args { 234 int two; char two_[PAD_(int)]; 235 char * path; char path_[PAD_(char *)]; 236 svr4_mode_t mode; char mode_[PAD_(svr4_mode_t)]; 237 svr4_dev_t dev; char dev_[PAD_(svr4_dev_t)]; | 245struct svr4_sys_xmknod_args { 246 char two_l_[PADL_(int)]; int two; char two_r_[PADR_(int)]; 247 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 248 char mode_l_[PADL_(svr4_mode_t)]; svr4_mode_t mode; char mode_r_[PADR_(svr4_mode_t)]; 249 char dev_l_[PADL_(svr4_dev_t)]; svr4_dev_t dev; char dev_r_[PADR_(svr4_dev_t)]; |
238}; | 250}; |
239struct svr4_sys_setrlimit_args { 240 int which; char which_[PAD_(int)]; 241 const struct svr4_rlimit * rlp; char rlp_[PAD_(const struct svr4_rlimit *)]; | 251struct svr4_sys_setrlimit_args { 252 char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; 253 char rlp_l_[PADL_(const struct svr4_rlimit *)]; const struct svr4_rlimit * rlp; char rlp_r_[PADR_(const struct svr4_rlimit *)]; |
242}; | 254}; |
243struct svr4_sys_getrlimit_args { 244 int which; char which_[PAD_(int)]; 245 struct svr4_rlimit * rlp; char rlp_[PAD_(struct svr4_rlimit *)]; | 255struct svr4_sys_getrlimit_args { 256 char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; 257 char rlp_l_[PADL_(struct svr4_rlimit *)]; struct svr4_rlimit * rlp; char rlp_r_[PADR_(struct svr4_rlimit *)]; |
246}; | 258}; |
247struct svr4_sys_memcntl_args { 248 void * addr; char addr_[PAD_(void *)]; 249 svr4_size_t len; char len_[PAD_(svr4_size_t)]; 250 int cmd; char cmd_[PAD_(int)]; 251 void * arg; char arg_[PAD_(void *)]; 252 int attr; char attr_[PAD_(int)]; 253 int mask; char mask_[PAD_(int)]; | 259struct svr4_sys_memcntl_args { 260 char addr_l_[PADL_(void *)]; void * addr; char addr_r_[PADR_(void *)]; 261 char len_l_[PADL_(svr4_size_t)]; svr4_size_t len; char len_r_[PADR_(svr4_size_t)]; 262 char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; 263 char arg_l_[PADL_(void *)]; void * arg; char arg_r_[PADR_(void *)]; 264 char attr_l_[PADL_(int)]; int attr; char attr_r_[PADR_(int)]; 265 char mask_l_[PADL_(int)]; int mask; char mask_r_[PADR_(int)]; |
254}; | 266}; |
255struct svr4_sys_uname_args { 256 struct svr4_utsname * name; char name_[PAD_(struct svr4_utsname *)]; 257 int dummy; char dummy_[PAD_(int)]; | 267struct svr4_sys_uname_args { 268 char name_l_[PADL_(struct svr4_utsname *)]; struct svr4_utsname * name; char name_r_[PADR_(struct svr4_utsname *)]; 269 char dummy_l_[PADL_(int)]; int dummy; char dummy_r_[PADR_(int)]; |
258}; | 270}; |
259struct svr4_sys_sysconfig_args { 260 int name; char name_[PAD_(int)]; | 271struct svr4_sys_sysconfig_args { 272 char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)]; |
261}; | 273}; |
262struct svr4_sys_systeminfo_args { 263 int what; char what_[PAD_(int)]; 264 char * buf; char buf_[PAD_(char *)]; 265 long len; char len_[PAD_(long)]; | 274struct svr4_sys_systeminfo_args { 275 char what_l_[PADL_(int)]; int what; char what_r_[PADR_(int)]; 276 char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)]; 277 char len_l_[PADL_(long)]; long len; char len_r_[PADR_(long)]; |
266}; | 278}; |
267struct svr4_sys_fchroot_args { 268 int fd; char fd_[PAD_(int)]; | 279struct svr4_sys_fchroot_args { 280 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
269}; | 281}; |
270struct svr4_sys_utimes_args { 271 char * path; char path_[PAD_(char *)]; 272 struct timeval * tptr; char tptr_[PAD_(struct timeval *)]; | 282struct svr4_sys_utimes_args { 283 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 284 char tptr_l_[PADL_(struct timeval *)]; struct timeval * tptr; char tptr_r_[PADR_(struct timeval *)]; |
273}; | 285}; |
274struct svr4_sys_vhangup_args { | 286struct svr4_sys_vhangup_args { |
275 register_t dummy; 276}; | 287 register_t dummy; 288}; |
277struct svr4_sys_gettimeofday_args { 278 struct timeval * tp; char tp_[PAD_(struct timeval *)]; | 289struct svr4_sys_gettimeofday_args { 290 char tp_l_[PADL_(struct timeval *)]; struct timeval * tp; char tp_r_[PADR_(struct timeval *)]; |
279}; | 291}; |
280struct svr4_sys_llseek_args { 281 int fd; char fd_[PAD_(int)]; 282 long offset1; char offset1_[PAD_(long)]; 283 long offset2; char offset2_[PAD_(long)]; 284 int whence; char whence_[PAD_(int)]; | 292struct svr4_sys_llseek_args { 293 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 294 char offset1_l_[PADL_(long)]; long offset1; char offset1_r_[PADR_(long)]; 295 char offset2_l_[PADL_(long)]; long offset2; char offset2_r_[PADR_(long)]; 296 char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)]; |
285}; | 297}; |
286struct svr4_sys_acl_args { 287 char * path; char path_[PAD_(char *)]; 288 int cmd; char cmd_[PAD_(int)]; 289 int num; char num_[PAD_(int)]; 290 struct svr4_aclent * buf; char buf_[PAD_(struct svr4_aclent *)]; | 298struct svr4_sys_acl_args { 299 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 300 char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; 301 char num_l_[PADL_(int)]; int num; char num_r_[PADR_(int)]; 302 char buf_l_[PADL_(struct svr4_aclent *)]; struct svr4_aclent * buf; char buf_r_[PADR_(struct svr4_aclent *)]; |
291}; | 303}; |
292struct svr4_sys_auditsys_args { 293 int code; char code_[PAD_(int)]; 294 int a1; char a1_[PAD_(int)]; 295 int a2; char a2_[PAD_(int)]; 296 int a3; char a3_[PAD_(int)]; 297 int a4; char a4_[PAD_(int)]; 298 int a5; char a5_[PAD_(int)]; | 304struct svr4_sys_auditsys_args { 305 char code_l_[PADL_(int)]; int code; char code_r_[PADR_(int)]; 306 char a1_l_[PADL_(int)]; int a1; char a1_r_[PADR_(int)]; 307 char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)]; 308 char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)]; 309 char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)]; 310 char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)]; |
299}; | 311}; |
300struct svr4_sys_facl_args { 301 int fd; char fd_[PAD_(int)]; 302 int cmd; char cmd_[PAD_(int)]; 303 int num; char num_[PAD_(int)]; 304 struct svr4_aclent * buf; char buf_[PAD_(struct svr4_aclent *)]; | 312struct svr4_sys_facl_args { 313 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 314 char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; 315 char num_l_[PADL_(int)]; int num; char num_r_[PADR_(int)]; 316 char buf_l_[PADL_(struct svr4_aclent *)]; struct svr4_aclent * buf; char buf_r_[PADR_(struct svr4_aclent *)]; |
305}; | 317}; |
306struct svr4_sys_resolvepath_args { 307 const char * path; char path_[PAD_(const char *)]; 308 char * buf; char buf_[PAD_(char *)]; 309 size_t bufsiz; char bufsiz_[PAD_(size_t)]; | 318struct svr4_sys_resolvepath_args { 319 char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)]; 320 char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)]; 321 char bufsiz_l_[PADL_(size_t)]; size_t bufsiz; char bufsiz_r_[PADR_(size_t)]; |
310}; | 322}; |
311struct svr4_sys_getdents64_args { 312 int fd; char fd_[PAD_(int)]; 313 struct svr4_dirent64 * dp; char dp_[PAD_(struct svr4_dirent64 *)]; 314 int nbytes; char nbytes_[PAD_(int)]; | 323struct svr4_sys_getdents64_args { 324 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 325 char dp_l_[PADL_(struct svr4_dirent64 *)]; struct svr4_dirent64 * dp; char dp_r_[PADR_(struct svr4_dirent64 *)]; 326 char nbytes_l_[PADL_(int)]; int nbytes; char nbytes_r_[PADR_(int)]; |
315}; | 327}; |
316struct svr4_sys_mmap64_args { 317 void * addr; char addr_[PAD_(void *)]; 318 svr4_size_t len; char len_[PAD_(svr4_size_t)]; 319 int prot; char prot_[PAD_(int)]; 320 int flags; char flags_[PAD_(int)]; 321 int fd; char fd_[PAD_(int)]; 322 svr4_off64_t pos; char pos_[PAD_(svr4_off64_t)]; | 328struct svr4_sys_mmap64_args { 329 char addr_l_[PADL_(void *)]; void * addr; char addr_r_[PADR_(void *)]; 330 char len_l_[PADL_(svr4_size_t)]; svr4_size_t len; char len_r_[PADR_(svr4_size_t)]; 331 char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)]; 332 char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; 333 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 334 char pos_l_[PADL_(svr4_off64_t)]; svr4_off64_t pos; char pos_r_[PADR_(svr4_off64_t)]; |
323}; | 335}; |
324struct svr4_sys_stat64_args { 325 char * path; char path_[PAD_(char *)]; 326 struct svr4_stat64 * sb; char sb_[PAD_(struct svr4_stat64 *)]; | 336struct svr4_sys_stat64_args { 337 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 338 char sb_l_[PADL_(struct svr4_stat64 *)]; struct svr4_stat64 * sb; char sb_r_[PADR_(struct svr4_stat64 *)]; |
327}; | 339}; |
328struct svr4_sys_lstat64_args { 329 char * path; char path_[PAD_(char *)]; 330 struct svr4_stat64 * sb; char sb_[PAD_(struct svr4_stat64 *)]; | 340struct svr4_sys_lstat64_args { 341 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 342 char sb_l_[PADL_(struct svr4_stat64 *)]; struct svr4_stat64 * sb; char sb_r_[PADR_(struct svr4_stat64 *)]; |
331}; | 343}; |
332struct svr4_sys_fstat64_args { 333 int fd; char fd_[PAD_(int)]; 334 struct svr4_stat64 * sb; char sb_[PAD_(struct svr4_stat64 *)]; | 344struct svr4_sys_fstat64_args { 345 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 346 char sb_l_[PADL_(struct svr4_stat64 *)]; struct svr4_stat64 * sb; char sb_r_[PADR_(struct svr4_stat64 *)]; |
335}; | 347}; |
336struct svr4_sys_statvfs64_args { 337 char * path; char path_[PAD_(char *)]; 338 struct svr4_statvfs64 * fs; char fs_[PAD_(struct svr4_statvfs64 *)]; | 348struct svr4_sys_statvfs64_args { 349 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 350 char fs_l_[PADL_(struct svr4_statvfs64 *)]; struct svr4_statvfs64 * fs; char fs_r_[PADR_(struct svr4_statvfs64 *)]; |
339}; | 351}; |
340struct svr4_sys_fstatvfs64_args { 341 int fd; char fd_[PAD_(int)]; 342 struct svr4_statvfs64 * fs; char fs_[PAD_(struct svr4_statvfs64 *)]; | 352struct svr4_sys_fstatvfs64_args { 353 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 354 char fs_l_[PADL_(struct svr4_statvfs64 *)]; struct svr4_statvfs64 * fs; char fs_r_[PADR_(struct svr4_statvfs64 *)]; |
343}; | 355}; |
344struct svr4_sys_setrlimit64_args { 345 int which; char which_[PAD_(int)]; 346 const struct svr4_rlimit64 * rlp; char rlp_[PAD_(const struct svr4_rlimit64 *)]; | 356struct svr4_sys_setrlimit64_args { 357 char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; 358 char rlp_l_[PADL_(const struct svr4_rlimit64 *)]; const struct svr4_rlimit64 * rlp; char rlp_r_[PADR_(const struct svr4_rlimit64 *)]; |
347}; | 359}; |
348struct svr4_sys_getrlimit64_args { 349 int which; char which_[PAD_(int)]; 350 struct svr4_rlimit64 * rlp; char rlp_[PAD_(struct svr4_rlimit64 *)]; | 360struct svr4_sys_getrlimit64_args { 361 char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; 362 char rlp_l_[PADL_(struct svr4_rlimit64 *)]; struct svr4_rlimit64 * rlp; char rlp_r_[PADR_(struct svr4_rlimit64 *)]; |
351}; | 363}; |
352struct svr4_sys_creat64_args { 353 char * path; char path_[PAD_(char *)]; 354 int mode; char mode_[PAD_(int)]; | 364struct svr4_sys_creat64_args { 365 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 366 char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; |
355}; | 367}; |
356struct svr4_sys_open64_args { 357 char * path; char path_[PAD_(char *)]; 358 int flags; char flags_[PAD_(int)]; 359 int mode; char mode_[PAD_(int)]; | 368struct svr4_sys_open64_args { 369 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 370 char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; 371 char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; |
360}; | 372}; |
361struct svr4_sys_socket_args { 362 int domain; char domain_[PAD_(int)]; 363 int type; char type_[PAD_(int)]; 364 int protocol; char protocol_[PAD_(int)]; | 373struct svr4_sys_socket_args { 374 char domain_l_[PADL_(int)]; int domain; char domain_r_[PADR_(int)]; 375 char type_l_[PADL_(int)]; int type; char type_r_[PADR_(int)]; 376 char protocol_l_[PADL_(int)]; int protocol; char protocol_r_[PADR_(int)]; |
365}; | 377}; |
366struct svr4_sys_recv_args { 367 int s; char s_[PAD_(int)]; 368 caddr_t buf; char buf_[PAD_(caddr_t)]; 369 int len; char len_[PAD_(int)]; 370 int flags; char flags_[PAD_(int)]; | 378struct svr4_sys_recv_args { 379 char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; 380 char buf_l_[PADL_(caddr_t)]; caddr_t buf; char buf_r_[PADR_(caddr_t)]; 381 char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)]; 382 char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
371}; | 383}; |
372struct svr4_sys_send_args { 373 int s; char s_[PAD_(int)]; 374 caddr_t buf; char buf_[PAD_(caddr_t)]; 375 int len; char len_[PAD_(int)]; 376 int flags; char flags_[PAD_(int)]; | 384struct svr4_sys_send_args { 385 char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; 386 char buf_l_[PADL_(caddr_t)]; caddr_t buf; char buf_r_[PADR_(caddr_t)]; 387 char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)]; 388 char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
377}; | 389}; |
378struct svr4_sys_sendto_args { 379 int s; char s_[PAD_(int)]; 380 void * buf; char buf_[PAD_(void *)]; 381 size_t len; char len_[PAD_(size_t)]; 382 int flags; char flags_[PAD_(int)]; 383 struct sockaddr * to; char to_[PAD_(struct sockaddr *)]; 384 int tolen; char tolen_[PAD_(int)]; | 390struct svr4_sys_sendto_args { 391 char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; 392 char buf_l_[PADL_(void *)]; void * buf; char buf_r_[PADR_(void *)]; 393 char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)]; 394 char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; 395 char to_l_[PADL_(struct sockaddr *)]; struct sockaddr * to; char to_r_[PADR_(struct sockaddr *)]; 396 char tolen_l_[PADL_(int)]; int tolen; char tolen_r_[PADR_(int)]; |
385}; 386int svr4_sys_open(struct thread *, struct svr4_sys_open_args *); 387int svr4_sys_wait(struct thread *, struct svr4_sys_wait_args *); 388int svr4_sys_creat(struct thread *, struct svr4_sys_creat_args *); 389int svr4_sys_execv(struct thread *, struct svr4_sys_execv_args *); 390int svr4_sys_time(struct thread *, struct svr4_sys_time_args *); 391int svr4_sys_mknod(struct thread *, struct svr4_sys_mknod_args *); 392int svr4_sys_break(struct thread *, struct svr4_sys_break_args *); --- 74 unchanged lines hidden (view full) --- 467#ifdef COMPAT_43 468 469#if defined(NOTYET) 470#else 471#endif 472 473#endif /* COMPAT_43 */ 474 | 397}; 398int svr4_sys_open(struct thread *, struct svr4_sys_open_args *); 399int svr4_sys_wait(struct thread *, struct svr4_sys_wait_args *); 400int svr4_sys_creat(struct thread *, struct svr4_sys_creat_args *); 401int svr4_sys_execv(struct thread *, struct svr4_sys_execv_args *); 402int svr4_sys_time(struct thread *, struct svr4_sys_time_args *); 403int svr4_sys_mknod(struct thread *, struct svr4_sys_mknod_args *); 404int svr4_sys_break(struct thread *, struct svr4_sys_break_args *); --- 74 unchanged lines hidden (view full) --- 479#ifdef COMPAT_43 480 481#if defined(NOTYET) 482#else 483#endif 484 485#endif /* COMPAT_43 */ 486 |
487 488#ifdef COMPAT_FREEBSD4 489 490#if defined(NOTYET) 491#else 492#endif 493 494#endif /* COMPAT_FREEBSD4 */ 495 |
|
475#undef PAD_ | 496#undef PAD_ |
497#undef PADL_ 498#undef PADR_ |
|
476 477#endif /* !_SVR4_SYSPROTO_H_ */ | 499 500#endif /* !_SVR4_SYSPROTO_H_ */ |