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/syscalls.master

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  $FreeBSD: releng/5.3/sys/i386/ibcs2/syscalls.master 134708 2004-09-03 15:30:21Z jhb $
    2 
    3 ;       @(#)syscalls.master     8.1 (Berkeley) 7/19/93
    4 ; System call name/number master file (or rather, slave, from IBCS2).
    5 ; Processed to created ibcs2_sysent.c, ibcs2_syscalls.c and ibcs2_syscall.h.
    6 
    7 ; Columns: number type nargs name alt{name,tag,rtyp}/comments
    8 ;       number  system call number, must be in order
    9 ;       type    one of STD, OBSOL, UNIMPL, COMPAT
   10 ;       name    psuedo-prototype of syscall routine
   11 ;               If one of the following alts is different, then all appear:
   12 ;       altname name of system call if different
   13 ;       alttag  name of args struct tag if different from [o]`name'"_args"
   14 ;       altrtyp return type if not int (bogus - syscalls always return int)
   15 ;               for UNIMPL/OBSOL, name continues with comments
   16 
   17 ; types:
   18 ;       STD     always included
   19 ;       COMPAT  included on COMPAT #ifdef
   20 ;       LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h
   21 ;       OBSOL   obsolete, not included in system, only specifies name
   22 ;       UNIMPL  not implemented, placeholder only
   23 
   24 #include <sys/param.h>
   25 #include <sys/sysent.h>
   26 #include <sys/sysproto.h>
   27 #include <i386/ibcs2/ibcs2_types.h>
   28 #include <i386/ibcs2/ibcs2_signal.h>
   29 #include <i386/ibcs2/ibcs2_proto.h>
   30 
   31 ; #ifdef's, etc. may be included, and are copied to the output files.
   32 
   33 0       NOPROTO { int nosys(void); } syscall nosys_args int
   34 1       MNOPROTO { void sys_exit(int rval); } exit sys_exit_args void
   35 2       MNOPROTO { int fork(void); }
   36 3       STD     { int ibcs2_read(int fd, char *buf, u_int nbytes); }
   37 4       MNOPROTO { int write(int fd, char *buf, u_int nbytes); }
   38 5       STD     { int ibcs2_open(char *path, int flags, int mode); }
   39 6       MNOPROTO { int close(int fd); }
   40 7       MSTD    { int ibcs2_wait(int a1, int a2, int a3); }
   41 8       STD     { int ibcs2_creat(char *path, int mode); }
   42 9       NOPROTO { int link(char *path, char *link); }
   43 10      STD     { int ibcs2_unlink(char *path); }
   44 11      STD     { int ibcs2_execv(char *path, char **argp); }
   45 12      STD     { int ibcs2_chdir(char *path); }
   46 13      STD     { int ibcs2_time(ibcs2_time_t *tp); }
   47 14      STD     { int ibcs2_mknod(char* path, int mode, int dev); }
   48 15      STD     { int ibcs2_chmod(char *path, int mode); }
   49 16      STD     { int ibcs2_chown(char *path, int uid, int gid); }
   50 17      NOPROTO { int obreak(caddr_t nsize); }
   51 18      STD     { int ibcs2_stat(char* path, struct ibcs2_stat *st); }
   52 19      STD     { long ibcs2_lseek(int fd, long offset, int whence); }
   53 20      MNOPROTO { pid_t getpid(void); }
   54 21      STD     { int ibcs2_mount(char *special, char *dir, int flags, \
   55                     int fstype, char *data, int len); }
   56 22      STD     { int ibcs2_umount(char *name); }
   57 23      MSTD    { int ibcs2_setuid(int uid); }
   58 24      MNOPROTO { uid_t getuid(void); }
   59 25      STD     { int ibcs2_stime(long *timep); }
   60 26      MNOPROTO { int ptrace(int req, pid_t pid, caddr_t addr, int data); }
   61 27      STD     { int ibcs2_alarm(unsigned sec); }
   62 28      STD     { int ibcs2_fstat(int fd, struct ibcs2_stat *st); }
   63 29      MSTD    { int ibcs2_pause(void); }
   64 30      STD     { int ibcs2_utime(char *path, struct ibcs2_utimbuf *buf); }
   65 31      STD     { int ibcs2_stty(int fd, struct sgttyb *buf); }
   66 32      STD     { int ibcs2_gtty(int fd, struct sgttyb *buf); }
   67 33      STD     { int ibcs2_access(char *path, int flags); }
   68 34      MSTD    { int ibcs2_nice(int incr); }
   69 35      STD     { int ibcs2_statfs(char *path, struct ibcs2_statfs *buf, \
   70                     int len, int fstype); }
   71 36      NOPROTO { int sync(void); }
   72 37      MSTD    { int ibcs2_kill(int pid, int signo); }
   73 38      STD     { int ibcs2_fstatfs(int fd, struct ibcs2_statfs *buf, \
   74                     int len, int fstype); }
   75 39      MSTD    { int ibcs2_pgrpsys(int type, caddr_t dummy, int pid, \
   76                     int pgid); }
   77 40      STD     { int ibcs2_xenix(int a1, int a2, int a3, int a4, int a5); }
   78 41      MNOPROTO { int dup(u_int fd); }
   79 42      MNOPROTO { int pipe(void); }
   80 43      STD     { int ibcs2_times(struct tms *tp); }
   81 44      MNOPROTO { int profil(caddr_t samples, u_int size, u_int offset, \
   82                     u_int scale); }
   83 45      STD     { int ibcs2_plock(int cmd); }
   84 46      MSTD    { int ibcs2_setgid(int gid); }
   85 47      MNOPROTO { gid_t getgid(void); }
   86 48      STD     { int ibcs2_sigsys(int sig, ibcs2_sig_t fp); }
   87 49      STD     { int ibcs2_msgsys(int which, int a2, int a3, int a4, int a5, \
   88                     int a6); }
   89 50      STD     { int ibcs2_sysi86(int cmd, int *arg); }
   90 51      UNIMPL  ibcs2_acct
   91 52      STD     { int ibcs2_shmsys(int which, int a2, int a3, int a4); }
   92 53      STD     { int ibcs2_semsys(int which, int a2, int a3, int a4, int a5); }
   93 54      STD     { int ibcs2_ioctl(int fd, int cmd, caddr_t data); }
   94 55      STD     { int ibcs2_uadmin(int cmd, int func, caddr_t data); }
   95 56      UNIMPL  nosys
   96 57      STD     { int ibcs2_utssys(int a1, int a2, int flag); }
   97 58      NOPROTO { int fsync(int fd); }
   98 59      STD     { int ibcs2_execve(char *path, char **argp, char **envp); }
   99 60      MNOPROTO { int umask(int newmask); }
  100 61      NOPROTO { int chroot(char *path); }
  101 62      MSTD    { int ibcs2_fcntl(int fd, int cmd, char *arg); }
  102 63      MSTD    { long ibcs2_ulimit(int cmd, int newlimit); }
  103 64      UNIMPL  reserved for unix/pc
  104 65      UNIMPL  reserved for unix/pc
  105 66      UNIMPL  reserved for unix/pc
  106 67      UNIMPL  reserved for unix/pc
  107 68      UNIMPL  reserved for unix/pc
  108 69      UNIMPL  reserved for unix/pc
  109 70      OBSOL   rfs_advfs
  110 71      OBSOL   rfs_unadvfs
  111 72      OBSOL   rfs_rmount
  112 73      OBSOL   rfs_rumount
  113 74      OBSOL   rfs_rfstart
  114 75      OBSOL   rfs_sigret
  115 76      OBSOL   rfs_rdebug
  116 77      OBSOL   rfs_rfstop
  117 78      UNIMPL  rfs_rfsys
  118 79      STD     { int ibcs2_rmdir(char *path); }
  119 80      STD     { int ibcs2_mkdir(char *path, int mode); }
  120 81      STD     { int ibcs2_getdents(int fd, char *buf, int nbytes); }
  121 82      UNIMPL  nosys
  122 83      UNIMPL  nosys
  123 84      STD     { int ibcs2_sysfs(int cmd, caddr_t d1, char *buf); }
  124 85      STD     { int ibcs2_getmsg(int fd, struct ibcs2_stropts *ctl, \
  125                     struct ibcs2_stropts *dat, int *flags); }
  126 86      STD     { int ibcs2_putmsg(int fd, struct ibcs2_stropts *ctl, \
  127                     struct ibcs2_stropts *dat, int flags); }
  128 87      STD     { int ibcs2_poll(struct ibcs2_poll *fds, long nfds, \
  129                     int timeout); }
  130 88      UNIMPL  nosys
  131 89      STD     { int ibcs2_secure(int cmd, int a1, int a2, int a3, int a4, \
  132                     int a5); }
  133 90      STD     { int ibcs2_symlink(char *path, char *link); }
  134 91      STD     { int ibcs2_lstat(char *path, struct ibcs2_stat *st); }
  135 92      STD     { int ibcs2_readlink(char *path, char *buf, int count); }
  136 93      UNIMPL  nosys
  137 94      UNIMPL  nosys
  138 95      UNIMPL  nosys
  139 96      UNIMPL  nosys
  140 97      UNIMPL  nosys
  141 98      UNIMPL  nosys
  142 99      UNIMPL  nosys
  143 100     UNIMPL  nosys
  144 101     UNIMPL  nosys
  145 102     UNIMPL  nosys
  146 103     MNOPROTO { int sigreturn(struct sigcontext *sigcntxp); }
  147 104     UNIMPL  nosys
  148 105     STD     { int ibcs2_isc(void); }
  149 106     UNIMPL  nosys
  150 107     UNIMPL  nosys
  151 108     UNIMPL  nosys
  152 109     UNIMPL  nosys
  153 110     UNIMPL  nosys
  154 111     UNIMPL  nosys
  155 112     UNIMPL  nosys
  156 113     UNIMPL  nosys
  157 114     UNIMPL  nosys
  158 115     UNIMPL  nosys
  159 116     UNIMPL  nosys
  160 117     UNIMPL  nosys
  161 118     UNIMPL  nosys
  162 119     UNIMPL  nosys
  163 120     UNIMPL  nosys
  164 121     UNIMPL  nosys
  165 122     UNIMPL  nosys
  166 123     UNIMPL  nosys
  167 124     UNIMPL  nosys
  168 125     UNIMPL  nosys
  169 126     UNIMPL  nosys
  170 127     UNIMPL  nosys

Cache object: 5ca7eed5f802cdba9d2eecf78fa79a27


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