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/compat/ibcs2/ibcs2_syscall.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 /* $NetBSD: ibcs2_syscall.h,v 1.45 2008/06/19 12:27:04 hans Exp $ */
    2 
    3 /*
    4  * System call numbers.
    5  *
    6  * DO NOT EDIT-- this file is automatically generated.
    7  * created from NetBSD: syscalls.master,v 1.35 2008/06/19 12:24:22 hans Exp
    8  */
    9 
   10 #ifndef _IBCS2_SYS_SYSCALL_H_
   11 #define _IBCS2_SYS_SYSCALL_H_
   12 
   13 #define IBCS2_SYS_MAXSYSARGS    8
   14 
   15 /* syscall: "syscall" ret: "int" args: */
   16 #define IBCS2_SYS_syscall       0
   17 
   18 /* syscall: "exit" ret: "int" args: "int" */
   19 #define IBCS2_SYS_exit  1
   20 
   21 /* syscall: "fork" ret: "int" args: */
   22 #define IBCS2_SYS_fork  2
   23 
   24 /* syscall: "read" ret: "int" args: "int" "char *" "u_int" */
   25 #define IBCS2_SYS_read  3
   26 
   27 /* syscall: "write" ret: "int" args: "int" "char *" "u_int" */
   28 #define IBCS2_SYS_write 4
   29 
   30 /* syscall: "open" ret: "int" args: "const char *" "int" "int" */
   31 #define IBCS2_SYS_open  5
   32 
   33 /* syscall: "close" ret: "int" args: "int" */
   34 #define IBCS2_SYS_close 6
   35 
   36 /* syscall: "waitsys" ret: "int" args: "int" "int" "int" */
   37 #define IBCS2_SYS_waitsys       7
   38 
   39 /* syscall: "creat" ret: "int" args: "const char *" "int" */
   40 #define IBCS2_SYS_creat 8
   41 
   42 /* syscall: "link" ret: "int" args: "char *" "char *" */
   43 #define IBCS2_SYS_link  9
   44 
   45 /* syscall: "unlink" ret: "int" args: "const char *" */
   46 #define IBCS2_SYS_unlink        10
   47 
   48 /* syscall: "execv" ret: "int" args: "const char *" "char **" */
   49 #define IBCS2_SYS_execv 11
   50 
   51 /* syscall: "chdir" ret: "int" args: "const char *" */
   52 #define IBCS2_SYS_chdir 12
   53 
   54 /* syscall: "time" ret: "int" args: "ibcs2_time_t *" */
   55 #define IBCS2_SYS_time  13
   56 
   57 /* syscall: "mknod" ret: "int" args: "const char *" "int" "int" */
   58 #define IBCS2_SYS_mknod 14
   59 
   60 /* syscall: "chmod" ret: "int" args: "const char *" "int" */
   61 #define IBCS2_SYS_chmod 15
   62 
   63 /* syscall: "__posix_chown" ret: "int" args: "const char *" "int" "int" */
   64 #define IBCS2_SYS___posix_chown 16
   65 
   66 /* syscall: "obreak" ret: "int" args: "void *" */
   67 #define IBCS2_SYS_obreak        17
   68 
   69 /* syscall: "stat" ret: "int" args: "const char *" "struct ibcs2_stat *" */
   70 #define IBCS2_SYS_stat  18
   71 
   72 /* syscall: "lseek" ret: "long" args: "int" "long" "int" */
   73 #define IBCS2_SYS_lseek 19
   74 
   75 /* syscall: "getpid_with_ppid" ret: "pid_t" args: */
   76 #define IBCS2_SYS_getpid_with_ppid      20
   77 
   78 /* syscall: "mount" ret: "int" args: "char *" "char *" "int" "int" "char *" "int" */
   79 #define IBCS2_SYS_mount 21
   80 
   81 /* syscall: "umount" ret: "int" args: "char *" */
   82 #define IBCS2_SYS_umount        22
   83 
   84 /* syscall: "setuid" ret: "int" args: "int" */
   85 #define IBCS2_SYS_setuid        23
   86 
   87 /* syscall: "getuid_with_euid" ret: "uid_t" args: */
   88 #define IBCS2_SYS_getuid_with_euid      24
   89 
   90 /* syscall: "stime" ret: "int" args: "long *" */
   91 #define IBCS2_SYS_stime 25
   92 
   93 /* syscall: "alarm" ret: "int" args: "unsigned" */
   94 #define IBCS2_SYS_alarm 27
   95 
   96 /* syscall: "fstat" ret: "int" args: "int" "struct ibcs2_stat *" */
   97 #define IBCS2_SYS_fstat 28
   98 
   99 /* syscall: "pause" ret: "int" args: */
  100 #define IBCS2_SYS_pause 29
  101 
  102 /* syscall: "utime" ret: "int" args: "const char *" "struct ibcs2_utimbuf *" */
  103 #define IBCS2_SYS_utime 30
  104 
  105 /* syscall: "gtty" ret: "int" args: "int" "struct ibcs2_sgttyb *" */
  106 #define IBCS2_SYS_gtty  32
  107 
  108 /* syscall: "access" ret: "int" args: "const char *" "int" */
  109 #define IBCS2_SYS_access        33
  110 
  111 /* syscall: "nice" ret: "int" args: "int" */
  112 #define IBCS2_SYS_nice  34
  113 
  114 /* syscall: "statfs" ret: "int" args: "const char *" "struct ibcs2_statfs *" "int" "int" */
  115 #define IBCS2_SYS_statfs        35
  116 
  117 /* syscall: "sync" ret: "int" args: */
  118 #define IBCS2_SYS_sync  36
  119 
  120 /* syscall: "kill" ret: "int" args: "int" "int" */
  121 #define IBCS2_SYS_kill  37
  122 
  123 /* syscall: "fstatfs" ret: "int" args: "int" "struct ibcs2_statfs *" "int" "int" */
  124 #define IBCS2_SYS_fstatfs       38
  125 
  126 /* syscall: "pgrpsys" ret: "int" args: "int" "void *" "int" "int" */
  127 #define IBCS2_SYS_pgrpsys       39
  128 
  129 /* syscall: "dup" ret: "int" args: "u_int" */
  130 #define IBCS2_SYS_dup   41
  131 
  132 /* syscall: "pipe" ret: "int" args: */
  133 #define IBCS2_SYS_pipe  42
  134 
  135 /* syscall: "times" ret: "int" args: "struct tms *" */
  136 #define IBCS2_SYS_times 43
  137 
  138 /* syscall: "plock" ret: "int" args: "int" */
  139 #define IBCS2_SYS_plock 45
  140 
  141 /* syscall: "setgid" ret: "int" args: "int" */
  142 #define IBCS2_SYS_setgid        46
  143 
  144 /* syscall: "getgid_with_egid" ret: "gid_t" args: */
  145 #define IBCS2_SYS_getgid_with_egid      47
  146 
  147 /* syscall: "sigsys" ret: "int" args: "int" "ibcs2_sig_t" */
  148 #define IBCS2_SYS_sigsys        48
  149 
  150 #ifdef SYSVMSG
  151 /* syscall: "msgsys" ret: "int" args: "int" "int" "int" "int" "int" "int" */
  152 #define IBCS2_SYS_msgsys        49
  153 
  154 #else
  155 #endif
  156 /* syscall: "sysmachine" ret: "int" args: "int" "int" */
  157 #define IBCS2_SYS_sysmachine    50
  158 
  159 #ifdef SYSVSHM
  160 /* syscall: "shmsys" ret: "int" args: "int" "int" "int" "int" */
  161 #define IBCS2_SYS_shmsys        52
  162 
  163 #else
  164 #endif
  165 #ifdef SYSVSEM
  166 /* syscall: "semsys" ret: "int" args: "int" "int" "int" "int" "int" */
  167 #define IBCS2_SYS_semsys        53
  168 
  169 #else
  170 #endif
  171 /* syscall: "ioctl" ret: "int" args: "int" "int" "void *" */
  172 #define IBCS2_SYS_ioctl 54
  173 
  174 /* syscall: "uadmin" ret: "int" args: "int" "int" "void *" */
  175 #define IBCS2_SYS_uadmin        55
  176 
  177 /* syscall: "utssys" ret: "int" args: "int" "int" "int" */
  178 #define IBCS2_SYS_utssys        57
  179 
  180 /* syscall: "fsync" ret: "int" args: "int" */
  181 #define IBCS2_SYS_fsync 58
  182 
  183 /* syscall: "execve" ret: "int" args: "const char *" "char **" "char **" */
  184 #define IBCS2_SYS_execve        59
  185 
  186 /* syscall: "umask" ret: "int" args: "int" */
  187 #define IBCS2_SYS_umask 60
  188 
  189 /* syscall: "chroot" ret: "int" args: "char *" */
  190 #define IBCS2_SYS_chroot        61
  191 
  192 /* syscall: "fcntl" ret: "int" args: "int" "int" "char *" */
  193 #define IBCS2_SYS_fcntl 62
  194 
  195 /* syscall: "ulimit" ret: "long" args: "int" "int" */
  196 #define IBCS2_SYS_ulimit        63
  197 
  198                                 /* 70 is obsolete rfs_advfs */
  199                                 /* 71 is obsolete rfs_unadvfs */
  200                                 /* 72 is obsolete rfs_rmount */
  201                                 /* 73 is obsolete rfs_rumount */
  202                                 /* 74 is obsolete rfs_rfstart */
  203                                 /* 75 is obsolete rfs_sigret */
  204                                 /* 76 is obsolete rfs_rdebug */
  205                                 /* 77 is obsolete rfs_rfstop */
  206 /* syscall: "rmdir" ret: "int" args: "const char *" */
  207 #define IBCS2_SYS_rmdir 79
  208 
  209 /* syscall: "mkdir" ret: "int" args: "const char *" "int" */
  210 #define IBCS2_SYS_mkdir 80
  211 
  212 /* syscall: "getdents" ret: "int" args: "int" "char *" "int" */
  213 #define IBCS2_SYS_getdents      81
  214 
  215 /* syscall: "sysfs" ret: "int" args: "int" "void *" "char *" */
  216 #define IBCS2_SYS_sysfs 84
  217 
  218 /* syscall: "getmsg" ret: "int" args: "int" "struct ibcs2_stropts *" "struct ibcs2_stropts *" "int *" */
  219 #define IBCS2_SYS_getmsg        85
  220 
  221 /* syscall: "putmsg" ret: "int" args: "int" "struct ibcs2_stropts *" "struct ibcs2_stropts *" "int" */
  222 #define IBCS2_SYS_putmsg        86
  223 
  224 /* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
  225 #define IBCS2_SYS_poll  87
  226 
  227 /* syscall: "symlink" ret: "int" args: "const char *" "const char *" */
  228 #define IBCS2_SYS_symlink       90
  229 
  230 /* syscall: "lstat" ret: "int" args: "const char *" "struct ibcs2_stat *" */
  231 #define IBCS2_SYS_lstat 91
  232 
  233 /* syscall: "readlink" ret: "int" args: "const char *" "char *" "int" */
  234 #define IBCS2_SYS_readlink      92
  235 
  236 /* syscall: "fchmod" ret: "int" args: "int" "int" */
  237 #define IBCS2_SYS_fchmod        93
  238 
  239 /* syscall: "fchown" ret: "int" args: "int" "int" "int" */
  240 #define IBCS2_SYS_fchown        94
  241 
  242 /* syscall: "sigreturn" ret: "int" args: "struct sigcontext *" */
  243 #define IBCS2_SYS_sigreturn     96
  244 
  245 /* syscall: "sigaltstack" ret: "int" args: "const struct ibcs2_sigaltstack *" "struct ibcs2_sigaltstack *" */
  246 #define IBCS2_SYS_sigaltstack   97
  247 
  248 /* syscall: "statvfs" ret: "int" args: "const char *" "struct ibcs2_statvfs *" */
  249 #define IBCS2_SYS_statvfs       103
  250 
  251 /* syscall: "fstatvfs" ret: "int" args: "int" "struct ibcs2_statvfs *" */
  252 #define IBCS2_SYS_fstatvfs      104
  253 
  254 /* syscall: "mmap" ret: "ibcs2_caddr_t" args: "ibcs2_caddr_t" "ibcs2_size_t" "int" "int" "int" "ibcs2_off_t" */
  255 #define IBCS2_SYS_mmap  115
  256 
  257 /* syscall: "mprotect" ret: "int" args: "void *" "int" "int" */
  258 #define IBCS2_SYS_mprotect      116
  259 
  260 /* syscall: "munmap" ret: "int" args: "void *" "int" */
  261 #define IBCS2_SYS_munmap        117
  262 
  263 /* syscall: "fchdir" ret: "int" args: "int" */
  264 #define IBCS2_SYS_fchdir        120
  265 
  266 /* syscall: "readv" ret: "int" args: "int" "struct iovec *" "u_int" */
  267 #define IBCS2_SYS_readv 121
  268 
  269 /* syscall: "writev" ret: "int" args: "int" "struct iovec *" "u_int" */
  270 #define IBCS2_SYS_writev        122
  271 
  272 /* syscall: "memcntl" ret: "int" args: "ibcs2_caddr_t" "ibcs2_size_t" "int" "ibcs2_caddr_t" "int" "int" */
  273 #define IBCS2_SYS_memcntl       131
  274 
  275 /* syscall: "gettimeofday" ret: "int" args: "struct timeval *" */
  276 #define IBCS2_SYS_gettimeofday  171
  277 
  278 /* syscall: "settimeofday" ret: "int" args: "struct timeval *" */
  279 #define IBCS2_SYS_settimeofday  172
  280 
  281 /* syscall: "truncate" ret: "int" args: "char *" "long" */
  282 #define IBCS2_SYS_truncate      191
  283 
  284 /* syscall: "ftruncate" ret: "int" args: "int" "long" */
  285 #define IBCS2_SYS_ftruncate     192
  286 
  287 /* syscall: "locking" ret: "int" args: "int" "int" "int" */
  288 #define IBCS2_SYS_locking       201
  289 
  290 /* syscall: "rdchk" ret: "int" args: "int" */
  291 #define IBCS2_SYS_rdchk 207
  292 
  293 /* syscall: "chsize" ret: "int" args: "int" "long" */
  294 #define IBCS2_SYS_chsize        210
  295 
  296 /* syscall: "ftime" ret: "int" args: "struct xenix_timeb *" */
  297 #define IBCS2_SYS_ftime 211
  298 
  299 /* syscall: "nap" ret: "int" args: "long" */
  300 #define IBCS2_SYS_nap   212
  301 
  302 /* syscall: "select" ret: "int" args: "u_int" "fd_set *" "fd_set *" "fd_set *" "struct timeval *" */
  303 #define IBCS2_SYS_select        236
  304 
  305 /* syscall: "eaccess" ret: "int" args: "const char *" "int" */
  306 #define IBCS2_SYS_eaccess       237
  307 
  308 /* syscall: "sigaction" ret: "int" args: "int" "const struct ibcs2_sigaction *" "struct ibcs2_sigaction *" */
  309 #define IBCS2_SYS_sigaction     239
  310 
  311 /* syscall: "sigprocmask" ret: "int" args: "int" "const ibcs2_sigset_t *" "ibcs2_sigset_t *" */
  312 #define IBCS2_SYS_sigprocmask   240
  313 
  314 /* syscall: "sigpending" ret: "int" args: "ibcs2_sigset_t *" */
  315 #define IBCS2_SYS_sigpending    241
  316 
  317 /* syscall: "sigsuspend" ret: "int" args: "const ibcs2_sigset_t *" */
  318 #define IBCS2_SYS_sigsuspend    242
  319 
  320 /* syscall: "getgroups" ret: "int" args: "int" "ibcs2_gid_t *" */
  321 #define IBCS2_SYS_getgroups     243
  322 
  323 /* syscall: "setgroups" ret: "int" args: "int" "ibcs2_gid_t *" */
  324 #define IBCS2_SYS_setgroups     244
  325 
  326 /* syscall: "sysconf" ret: "int" args: "int" */
  327 #define IBCS2_SYS_sysconf       245
  328 
  329 /* syscall: "pathconf" ret: "int" args: "char *" "int" */
  330 #define IBCS2_SYS_pathconf      246
  331 
  332 /* syscall: "fpathconf" ret: "int" args: "int" "int" */
  333 #define IBCS2_SYS_fpathconf     247
  334 
  335 /* syscall: "__posix_rename" ret: "int" args: "const char *" "const char *" */
  336 #define IBCS2_SYS___posix_rename        248
  337 
  338 /* syscall: "scoinfo" ret: "int" args: "struct scoutsname *" "int" */
  339 #define IBCS2_SYS_scoinfo       250
  340 
  341 #define IBCS2_SYS_MAXSYSCALL    260
  342 #define IBCS2_SYS_NSYSENT       512
  343 #endif /* _IBCS2_SYS_SYSCALL_H_ */

Cache object: 90830f10fb1896d07869173d57d97a94


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