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-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-2  -  FREEBSD-11-1  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-4  -  FREEBSD-10-3  -  FREEBSD-10-2  -  FREEBSD-10-1  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-3  -  FREEBSD-9-2  -  FREEBSD-9-1  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-4  -  FREEBSD-8-3  -  FREEBSD-8-2  -  FREEBSD-8-1  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-4  -  FREEBSD-7-3  -  FREEBSD-7-2  -  FREEBSD-7-1  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-4  -  FREEBSD-6-3  -  FREEBSD-6-2  -  FREEBSD-6-1  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-5  -  FREEBSD-5-4  -  FREEBSD-5-3  -  FREEBSD-5-2  -  FREEBSD-5-1  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  linux-2.6  -  linux-2.4.22  -  MK83  -  MK84  -  PLAN9  -  DFBSD  -  NETBSD  -  NETBSD5  -  NETBSD4  -  NETBSD3  -  NETBSD20  -  OPENBSD  -  xnu-517  -  xnu-792  -  xnu-792.6.70  -  xnu-1228  -  xnu-1456.1.26  -  xnu-1699.24.8  -  xnu-2050.18.24  -  OPENSOLARIS  -  minix-3-1-1 
SearchContext: -  none  -  3  -  10 

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

Cache object: e1ef58fd35d53d70df1c50d7157c7e17


[ 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.