The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/i386/ibcs2/ibcs2_proto.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*
    2  * System call prototypes.
    3  *
    4  * DO NOT EDIT-- this file is automatically generated.
    5  * created from Id: syscalls.master,v 1.8 1997/04/09 15:44:46 bde Exp 
    6  */
    7 
    8 #ifndef _IBCS2_SYSPROTO_H_
    9 #define _IBCS2_SYSPROTO_H_
   10 
   11 #include <sys/signal.h>
   12 
   13 struct proc;
   14 
   15 #define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \
   16                 0 : sizeof(register_t) - sizeof(t))
   17 
   18 struct  ibcs2_read_args {
   19         int     fd;     char fd_[PAD_(int)];
   20         char *  buf;    char buf_[PAD_(char *)];
   21         u_int   nbytes; char nbytes_[PAD_(u_int)];
   22 };
   23 struct  ibcs2_open_args {
   24         char *  path;   char path_[PAD_(char *)];
   25         int     flags;  char flags_[PAD_(int)];
   26         int     mode;   char mode_[PAD_(int)];
   27 };
   28 struct  ibcs2_wait_args {
   29         int     a1;     char a1_[PAD_(int)];
   30         int     a2;     char a2_[PAD_(int)];
   31         int     a3;     char a3_[PAD_(int)];
   32 };
   33 struct  ibcs2_creat_args {
   34         char *  path;   char path_[PAD_(char *)];
   35         int     mode;   char mode_[PAD_(int)];
   36 };
   37 struct  ibcs2_unlink_args {
   38         char *  path;   char path_[PAD_(char *)];
   39 };
   40 struct  ibcs2_execv_args {
   41         char *  path;   char path_[PAD_(char *)];
   42         char ** argp;   char argp_[PAD_(char **)];
   43 };
   44 struct  ibcs2_chdir_args {
   45         char *  path;   char path_[PAD_(char *)];
   46 };
   47 struct  ibcs2_time_args {
   48         ibcs2_time_t *  tp;     char tp_[PAD_(ibcs2_time_t *)];
   49 };
   50 struct  ibcs2_mknod_args {
   51         char *  path;   char path_[PAD_(char *)];
   52         int     mode;   char mode_[PAD_(int)];
   53         int     dev;    char dev_[PAD_(int)];
   54 };
   55 struct  ibcs2_chmod_args {
   56         char *  path;   char path_[PAD_(char *)];
   57         int     mode;   char mode_[PAD_(int)];
   58 };
   59 struct  ibcs2_chown_args {
   60         char *  path;   char path_[PAD_(char *)];
   61         int     uid;    char uid_[PAD_(int)];
   62         int     gid;    char gid_[PAD_(int)];
   63 };
   64 struct  ibcs2_stat_args {
   65         char *  path;   char path_[PAD_(char *)];
   66         struct ibcs2_stat *     st;     char st_[PAD_(struct ibcs2_stat *)];
   67 };
   68 struct  ibcs2_lseek_args {
   69         int     fd;     char fd_[PAD_(int)];
   70         long    offset; char offset_[PAD_(long)];
   71         int     whence; char whence_[PAD_(int)];
   72 };
   73 struct  ibcs2_mount_args {
   74         char *  special;        char special_[PAD_(char *)];
   75         char *  dir;    char dir_[PAD_(char *)];
   76         int     flags;  char flags_[PAD_(int)];
   77         int     fstype; char fstype_[PAD_(int)];
   78         char *  data;   char data_[PAD_(char *)];
   79         int     len;    char len_[PAD_(int)];
   80 };
   81 struct  ibcs2_umount_args {
   82         char *  name;   char name_[PAD_(char *)];
   83 };
   84 struct  ibcs2_setuid_args {
   85         int     uid;    char uid_[PAD_(int)];
   86 };
   87 struct  ibcs2_stime_args {
   88         long *  timep;  char timep_[PAD_(long *)];
   89 };
   90 struct  ibcs2_alarm_args {
   91         unsigned        sec;    char sec_[PAD_(unsigned)];
   92 };
   93 struct  ibcs2_fstat_args {
   94         int     fd;     char fd_[PAD_(int)];
   95         struct ibcs2_stat *     st;     char st_[PAD_(struct ibcs2_stat *)];
   96 };
   97 struct  ibcs2_pause_args {
   98         register_t dummy;
   99 };
  100 struct  ibcs2_utime_args {
  101         char *  path;   char path_[PAD_(char *)];
  102         struct ibcs2_utimbuf *  buf;    char buf_[PAD_(struct ibcs2_utimbuf *)];
  103 };
  104 struct  ibcs2_stty_args {
  105         int     fd;     char fd_[PAD_(int)];
  106         struct sgttyb * buf;    char buf_[PAD_(struct sgttyb *)];
  107 };
  108 struct  ibcs2_gtty_args {
  109         int     fd;     char fd_[PAD_(int)];
  110         struct sgttyb * buf;    char buf_[PAD_(struct sgttyb *)];
  111 };
  112 struct  ibcs2_access_args {
  113         char *  path;   char path_[PAD_(char *)];
  114         int     flags;  char flags_[PAD_(int)];
  115 };
  116 struct  ibcs2_nice_args {
  117         int     incr;   char incr_[PAD_(int)];
  118 };
  119 struct  ibcs2_statfs_args {
  120         char *  path;   char path_[PAD_(char *)];
  121         struct ibcs2_statfs *   buf;    char buf_[PAD_(struct ibcs2_statfs *)];
  122         int     len;    char len_[PAD_(int)];
  123         int     fstype; char fstype_[PAD_(int)];
  124 };
  125 struct  ibcs2_kill_args {
  126         int     pid;    char pid_[PAD_(int)];
  127         int     signo;  char signo_[PAD_(int)];
  128 };
  129 struct  ibcs2_fstatfs_args {
  130         int     fd;     char fd_[PAD_(int)];
  131         struct ibcs2_statfs *   buf;    char buf_[PAD_(struct ibcs2_statfs *)];
  132         int     len;    char len_[PAD_(int)];
  133         int     fstype; char fstype_[PAD_(int)];
  134 };
  135 struct  ibcs2_pgrpsys_args {
  136         int     type;   char type_[PAD_(int)];
  137         caddr_t dummy;  char dummy_[PAD_(caddr_t)];
  138         int     pid;    char pid_[PAD_(int)];
  139         int     pgid;   char pgid_[PAD_(int)];
  140 };
  141 struct  ibcs2_xenix_args {
  142         int     a1;     char a1_[PAD_(int)];
  143         int     a2;     char a2_[PAD_(int)];
  144         int     a3;     char a3_[PAD_(int)];
  145         int     a4;     char a4_[PAD_(int)];
  146         int     a5;     char a5_[PAD_(int)];
  147 };
  148 struct  ibcs2_times_args {
  149         struct tms *    tp;     char tp_[PAD_(struct tms *)];
  150 };
  151 struct  ibcs2_plock_args {
  152         int     cmd;    char cmd_[PAD_(int)];
  153 };
  154 struct  ibcs2_setgid_args {
  155         int     gid;    char gid_[PAD_(int)];
  156 };
  157 struct  ibcs2_sigsys_args {
  158         int     sig;    char sig_[PAD_(int)];
  159         ibcs2_sig_t     fp;     char fp_[PAD_(ibcs2_sig_t)];
  160 };
  161 struct  ibcs2_msgsys_args {
  162         int     which;  char which_[PAD_(int)];
  163         int     a2;     char a2_[PAD_(int)];
  164         int     a3;     char a3_[PAD_(int)];
  165         int     a4;     char a4_[PAD_(int)];
  166         int     a5;     char a5_[PAD_(int)];
  167         int     a6;     char a6_[PAD_(int)];
  168 };
  169 struct  ibcs2_sysi86_args {
  170         int     cmd;    char cmd_[PAD_(int)];
  171         int *   arg;    char arg_[PAD_(int *)];
  172 };
  173 struct  ibcs2_shmsys_args {
  174         int     which;  char which_[PAD_(int)];
  175         int     a2;     char a2_[PAD_(int)];
  176         int     a3;     char a3_[PAD_(int)];
  177         int     a4;     char a4_[PAD_(int)];
  178 };
  179 struct  ibcs2_semsys_args {
  180         int     which;  char which_[PAD_(int)];
  181         int     a2;     char a2_[PAD_(int)];
  182         int     a3;     char a3_[PAD_(int)];
  183         int     a4;     char a4_[PAD_(int)];
  184         int     a5;     char a5_[PAD_(int)];
  185 };
  186 struct  ibcs2_ioctl_args {
  187         int     fd;     char fd_[PAD_(int)];
  188         int     cmd;    char cmd_[PAD_(int)];
  189         caddr_t data;   char data_[PAD_(caddr_t)];
  190 };
  191 struct  ibcs2_uadmin_args {
  192         int     cmd;    char cmd_[PAD_(int)];
  193         int     func;   char func_[PAD_(int)];
  194         caddr_t data;   char data_[PAD_(caddr_t)];
  195 };
  196 struct  ibcs2_utssys_args {
  197         int     a1;     char a1_[PAD_(int)];
  198         int     a2;     char a2_[PAD_(int)];
  199         int     flag;   char flag_[PAD_(int)];
  200 };
  201 struct  ibcs2_execve_args {
  202         char *  path;   char path_[PAD_(char *)];
  203         char ** argp;   char argp_[PAD_(char **)];
  204         char ** envp;   char envp_[PAD_(char **)];
  205 };
  206 struct  ibcs2_fcntl_args {
  207         int     fd;     char fd_[PAD_(int)];
  208         int     cmd;    char cmd_[PAD_(int)];
  209         char *  arg;    char arg_[PAD_(char *)];
  210 };
  211 struct  ibcs2_ulimit_args {
  212         int     cmd;    char cmd_[PAD_(int)];
  213         int     newlimit;       char newlimit_[PAD_(int)];
  214 };
  215 struct  ibcs2_rmdir_args {
  216         char *  path;   char path_[PAD_(char *)];
  217 };
  218 struct  ibcs2_mkdir_args {
  219         char *  path;   char path_[PAD_(char *)];
  220         int     mode;   char mode_[PAD_(int)];
  221 };
  222 struct  ibcs2_getdents_args {
  223         int     fd;     char fd_[PAD_(int)];
  224         char *  buf;    char buf_[PAD_(char *)];
  225         int     nbytes; char nbytes_[PAD_(int)];
  226 };
  227 struct  ibcs2_sysfs_args {
  228         int     cmd;    char cmd_[PAD_(int)];
  229         caddr_t d1;     char d1_[PAD_(caddr_t)];
  230         char *  buf;    char buf_[PAD_(char *)];
  231 };
  232 struct  ibcs2_getmsg_args {
  233         int     fd;     char fd_[PAD_(int)];
  234         struct ibcs2_stropts *  ctl;    char ctl_[PAD_(struct ibcs2_stropts *)];
  235         struct ibcs2_stropts *  dat;    char dat_[PAD_(struct ibcs2_stropts *)];
  236         int *   flags;  char flags_[PAD_(int *)];
  237 };
  238 struct  ibcs2_putmsg_args {
  239         int     fd;     char fd_[PAD_(int)];
  240         struct ibcs2_stropts *  ctl;    char ctl_[PAD_(struct ibcs2_stropts *)];
  241         struct ibcs2_stropts *  dat;    char dat_[PAD_(struct ibcs2_stropts *)];
  242         int     flags;  char flags_[PAD_(int)];
  243 };
  244 struct  ibcs2_poll_args {
  245         struct ibcs2_poll *     fds;    char fds_[PAD_(struct ibcs2_poll *)];
  246         long    nfds;   char nfds_[PAD_(long)];
  247         int     timeout;        char timeout_[PAD_(int)];
  248 };
  249 struct  ibcs2_secure_args {
  250         int     cmd;    char cmd_[PAD_(int)];
  251         int     a1;     char a1_[PAD_(int)];
  252         int     a2;     char a2_[PAD_(int)];
  253         int     a3;     char a3_[PAD_(int)];
  254         int     a4;     char a4_[PAD_(int)];
  255         int     a5;     char a5_[PAD_(int)];
  256 };
  257 struct  ibcs2_symlink_args {
  258         char *  path;   char path_[PAD_(char *)];
  259         char *  link;   char link_[PAD_(char *)];
  260 };
  261 struct  ibcs2_lstat_args {
  262         char *  path;   char path_[PAD_(char *)];
  263         struct ibcs2_stat *     st;     char st_[PAD_(struct ibcs2_stat *)];
  264 };
  265 struct  ibcs2_readlink_args {
  266         char *  path;   char path_[PAD_(char *)];
  267         char *  buf;    char buf_[PAD_(char *)];
  268         int     count;  char count_[PAD_(int)];
  269 };
  270 struct  ibcs2_isc_args {
  271         register_t dummy;
  272 };
  273 int     ibcs2_read __P((struct proc *, struct ibcs2_read_args *));
  274 int     ibcs2_open __P((struct proc *, struct ibcs2_open_args *));
  275 int     ibcs2_wait __P((struct proc *, struct ibcs2_wait_args *));
  276 int     ibcs2_creat __P((struct proc *, struct ibcs2_creat_args *));
  277 int     ibcs2_unlink __P((struct proc *, struct ibcs2_unlink_args *));
  278 int     ibcs2_execv __P((struct proc *, struct ibcs2_execv_args *));
  279 int     ibcs2_chdir __P((struct proc *, struct ibcs2_chdir_args *));
  280 int     ibcs2_time __P((struct proc *, struct ibcs2_time_args *));
  281 int     ibcs2_mknod __P((struct proc *, struct ibcs2_mknod_args *));
  282 int     ibcs2_chmod __P((struct proc *, struct ibcs2_chmod_args *));
  283 int     ibcs2_chown __P((struct proc *, struct ibcs2_chown_args *));
  284 int     ibcs2_stat __P((struct proc *, struct ibcs2_stat_args *));
  285 int     ibcs2_lseek __P((struct proc *, struct ibcs2_lseek_args *));
  286 int     ibcs2_mount __P((struct proc *, struct ibcs2_mount_args *));
  287 int     ibcs2_umount __P((struct proc *, struct ibcs2_umount_args *));
  288 int     ibcs2_setuid __P((struct proc *, struct ibcs2_setuid_args *));
  289 int     ibcs2_stime __P((struct proc *, struct ibcs2_stime_args *));
  290 int     ibcs2_alarm __P((struct proc *, struct ibcs2_alarm_args *));
  291 int     ibcs2_fstat __P((struct proc *, struct ibcs2_fstat_args *));
  292 int     ibcs2_pause __P((struct proc *, struct ibcs2_pause_args *));
  293 int     ibcs2_utime __P((struct proc *, struct ibcs2_utime_args *));
  294 int     ibcs2_stty __P((struct proc *, struct ibcs2_stty_args *));
  295 int     ibcs2_gtty __P((struct proc *, struct ibcs2_gtty_args *));
  296 int     ibcs2_access __P((struct proc *, struct ibcs2_access_args *));
  297 int     ibcs2_nice __P((struct proc *, struct ibcs2_nice_args *));
  298 int     ibcs2_statfs __P((struct proc *, struct ibcs2_statfs_args *));
  299 int     ibcs2_kill __P((struct proc *, struct ibcs2_kill_args *));
  300 int     ibcs2_fstatfs __P((struct proc *, struct ibcs2_fstatfs_args *));
  301 int     ibcs2_pgrpsys __P((struct proc *, struct ibcs2_pgrpsys_args *));
  302 int     ibcs2_xenix __P((struct proc *, struct ibcs2_xenix_args *));
  303 int     ibcs2_times __P((struct proc *, struct ibcs2_times_args *));
  304 int     ibcs2_plock __P((struct proc *, struct ibcs2_plock_args *));
  305 int     ibcs2_setgid __P((struct proc *, struct ibcs2_setgid_args *));
  306 int     ibcs2_sigsys __P((struct proc *, struct ibcs2_sigsys_args *));
  307 int     ibcs2_msgsys __P((struct proc *, struct ibcs2_msgsys_args *));
  308 int     ibcs2_sysi86 __P((struct proc *, struct ibcs2_sysi86_args *));
  309 int     ibcs2_shmsys __P((struct proc *, struct ibcs2_shmsys_args *));
  310 int     ibcs2_semsys __P((struct proc *, struct ibcs2_semsys_args *));
  311 int     ibcs2_ioctl __P((struct proc *, struct ibcs2_ioctl_args *));
  312 int     ibcs2_uadmin __P((struct proc *, struct ibcs2_uadmin_args *));
  313 int     ibcs2_utssys __P((struct proc *, struct ibcs2_utssys_args *));
  314 int     ibcs2_execve __P((struct proc *, struct ibcs2_execve_args *));
  315 int     ibcs2_fcntl __P((struct proc *, struct ibcs2_fcntl_args *));
  316 int     ibcs2_ulimit __P((struct proc *, struct ibcs2_ulimit_args *));
  317 int     ibcs2_rmdir __P((struct proc *, struct ibcs2_rmdir_args *));
  318 int     ibcs2_mkdir __P((struct proc *, struct ibcs2_mkdir_args *));
  319 int     ibcs2_getdents __P((struct proc *, struct ibcs2_getdents_args *));
  320 int     ibcs2_sysfs __P((struct proc *, struct ibcs2_sysfs_args *));
  321 int     ibcs2_getmsg __P((struct proc *, struct ibcs2_getmsg_args *));
  322 int     ibcs2_putmsg __P((struct proc *, struct ibcs2_putmsg_args *));
  323 int     ibcs2_poll __P((struct proc *, struct ibcs2_poll_args *));
  324 int     ibcs2_secure __P((struct proc *, struct ibcs2_secure_args *));
  325 int     ibcs2_symlink __P((struct proc *, struct ibcs2_symlink_args *));
  326 int     ibcs2_lstat __P((struct proc *, struct ibcs2_lstat_args *));
  327 int     ibcs2_readlink __P((struct proc *, struct ibcs2_readlink_args *));
  328 int     ibcs2_isc __P((struct proc *, struct ibcs2_isc_args *));
  329 
  330 #ifdef COMPAT_43
  331 
  332 
  333 #endif /* COMPAT_43 */
  334 
  335 #undef PAD_
  336 
  337 #endif /* !_IBCS2_SYSPROTO_H_ */

Cache object: 1ce6211d3cb93b0589437db504579e20


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.