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

Cache object: 3cb1731915b73c0c86634e01e8ca4059


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