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/ultrix/ultrix_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: ultrix_syscall.h,v 1.56 2008/06/19 12:29:34 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.46 2008/06/19 12:28:12 hans Exp
    8  */
    9 
   10 #ifndef _ULTRIX_SYS_SYSCALL_H_
   11 #define _ULTRIX_SYS_SYSCALL_H_
   12 
   13 #define ULTRIX_SYS_MAXSYSARGS   8
   14 
   15 /* syscall: "syscall" ret: "int" args: */
   16 #define ULTRIX_SYS_syscall      0
   17 
   18 /* syscall: "exit" ret: "int" args: "int" */
   19 #define ULTRIX_SYS_exit 1
   20 
   21 /* syscall: "fork" ret: "int" args: */
   22 #define ULTRIX_SYS_fork 2
   23 
   24 /* syscall: "read" ret: "int" args: "int" "char *" "u_int" */
   25 #define ULTRIX_SYS_read 3
   26 
   27 /* syscall: "write" ret: "int" args: "int" "char *" "u_int" */
   28 #define ULTRIX_SYS_write        4
   29 
   30 /* syscall: "open" ret: "int" args: "const char *" "int" "int" */
   31 #define ULTRIX_SYS_open 5
   32 
   33 /* syscall: "close" ret: "int" args: "int" */
   34 #define ULTRIX_SYS_close        6
   35 
   36 /* syscall: "owait" ret: "int" args: */
   37 #define ULTRIX_SYS_owait        7
   38 
   39 /* syscall: "creat" ret: "int" args: "const char *" "int" */
   40 #define ULTRIX_SYS_creat        8
   41 
   42 /* syscall: "link" ret: "int" args: "char *" "char *" */
   43 #define ULTRIX_SYS_link 9
   44 
   45 /* syscall: "unlink" ret: "int" args: "char *" */
   46 #define ULTRIX_SYS_unlink       10
   47 
   48 /* syscall: "execv" ret: "int" args: "const char *" "char **" */
   49 #define ULTRIX_SYS_execv        11
   50 
   51 /* syscall: "chdir" ret: "int" args: "char *" */
   52 #define ULTRIX_SYS_chdir        12
   53 
   54                                 /* 13 is obsolete time */
   55 /* syscall: "mknod" ret: "int" args: "const char *" "int" "int" */
   56 #define ULTRIX_SYS_mknod        14
   57 
   58 /* syscall: "chmod" ret: "int" args: "char *" "int" */
   59 #define ULTRIX_SYS_chmod        15
   60 
   61 /* syscall: "__posix_chown" ret: "int" args: "char *" "int" "int" */
   62 #define ULTRIX_SYS___posix_chown        16
   63 
   64 /* syscall: "break" ret: "int" args: "char *" */
   65 #define ULTRIX_SYS_break        17
   66 
   67                                 /* 18 is obsolete stat */
   68 /* syscall: "lseek" ret: "long" args: "int" "long" "int" */
   69 #define ULTRIX_SYS_lseek        19
   70 
   71 /* syscall: "getpid" ret: "pid_t" args: */
   72 #define ULTRIX_SYS_getpid       20
   73 
   74 /* syscall: "mount" ret: "int" args: "char *" "char *" "int" "int" "void *" */
   75 #define ULTRIX_SYS_mount        21
   76 
   77                                 /* 22 is obsolete sysV_unmount */
   78 /* syscall: "setuid" ret: "int" args: "uid_t" */
   79 #define ULTRIX_SYS_setuid       23
   80 
   81 /* syscall: "getuid" ret: "uid_t" args: */
   82 #define ULTRIX_SYS_getuid       24
   83 
   84                                 /* 25 is obsolete v7 stime */
   85                                 /* 26 is obsolete v7 ptrace */
   86                                 /* 27 is obsolete v7 alarm */
   87                                 /* 28 is obsolete v7 fstat */
   88                                 /* 29 is obsolete v7 pause */
   89                                 /* 30 is obsolete v7 utime */
   90                                 /* 31 is obsolete v7 stty */
   91                                 /* 32 is obsolete v7 gtty */
   92 /* syscall: "access" ret: "int" args: "const char *" "int" */
   93 #define ULTRIX_SYS_access       33
   94 
   95                                 /* 34 is obsolete v7 nice */
   96                                 /* 35 is obsolete v7 ftime */
   97 /* syscall: "sync" ret: "int" args: */
   98 #define ULTRIX_SYS_sync 36
   99 
  100 /* syscall: "kill" ret: "int" args: "int" "int" */
  101 #define ULTRIX_SYS_kill 37
  102 
  103 /* syscall: "stat43" ret: "int" args: "const char *" "struct stat43 *" */
  104 #define ULTRIX_SYS_stat43       38
  105 
  106                                 /* 39 is obsolete v7 setpgrp */
  107 /* syscall: "lstat43" ret: "int" args: "const char *" "struct stat43 *" */
  108 #define ULTRIX_SYS_lstat43      40
  109 
  110 /* syscall: "dup" ret: "int" args: "u_int" */
  111 #define ULTRIX_SYS_dup  41
  112 
  113 /* syscall: "pipe" ret: "int" args: */
  114 #define ULTRIX_SYS_pipe 42
  115 
  116                                 /* 43 is obsolete v7 times */
  117 /* syscall: "profil" ret: "int" args: "void *" "u_int" "u_int" "u_int" */
  118 #define ULTRIX_SYS_profil       44
  119 
  120                                 /* 46 is obsolete v7 setgid */
  121 /* syscall: "getgid" ret: "gid_t" args: */
  122 #define ULTRIX_SYS_getgid       47
  123 
  124 /* syscall: "acct" ret: "int" args: "char *" */
  125 #define ULTRIX_SYS_acct 51
  126 
  127 /* syscall: "ioctl" ret: "int" args: "int" "u_long" "void *" */
  128 #define ULTRIX_SYS_ioctl        54
  129 
  130 /* syscall: "reboot" ret: "int" args: "int" */
  131 #define ULTRIX_SYS_reboot       55
  132 
  133 /* syscall: "symlink" ret: "int" args: "char *" "char *" */
  134 #define ULTRIX_SYS_symlink      57
  135 
  136 /* syscall: "readlink" ret: "int" args: "char *" "char *" "int" */
  137 #define ULTRIX_SYS_readlink     58
  138 
  139 /* syscall: "execve" ret: "int" args: "const char *" "char **" "char **" */
  140 #define ULTRIX_SYS_execve       59
  141 
  142 /* syscall: "umask" ret: "int" args: "int" */
  143 #define ULTRIX_SYS_umask        60
  144 
  145 /* syscall: "chroot" ret: "int" args: "char *" */
  146 #define ULTRIX_SYS_chroot       61
  147 
  148 /* syscall: "fstat" ret: "int" args: "int" "struct stat43 *" */
  149 #define ULTRIX_SYS_fstat        62
  150 
  151 /* syscall: "getpagesize" ret: "int" args: */
  152 #define ULTRIX_SYS_getpagesize  64
  153 
  154 /* syscall: "vfork" ret: "int" args: */
  155 #define ULTRIX_SYS_vfork        66
  156 
  157                                 /* 67 is obsolete vread */
  158                                 /* 68 is obsolete vwrite */
  159 /* syscall: "sbrk" ret: "int" args: "intptr_t" */
  160 #define ULTRIX_SYS_sbrk 69
  161 
  162 /* syscall: "sstk" ret: "int" args: "int" */
  163 #define ULTRIX_SYS_sstk 70
  164 
  165 /* syscall: "mmap" ret: "int" args: "void *" "size_t" "int" "u_int" "int" "long" */
  166 #define ULTRIX_SYS_mmap 71
  167 
  168 /* syscall: "vadvise" ret: "int" args: "int" */
  169 #define ULTRIX_SYS_vadvise      72
  170 
  171 /* syscall: "munmap" ret: "int" args: "void *" "size_t" */
  172 #define ULTRIX_SYS_munmap       73
  173 
  174 /* syscall: "mprotect" ret: "int" args: "void *" "size_t" "int" */
  175 #define ULTRIX_SYS_mprotect     74
  176 
  177 /* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */
  178 #define ULTRIX_SYS_madvise      75
  179 
  180 /* syscall: "vhangup" ret: "int" args: */
  181 #define ULTRIX_SYS_vhangup      76
  182 
  183 /* syscall: "mincore" ret: "int" args: "void *" "int" "char *" */
  184 #define ULTRIX_SYS_mincore      78
  185 
  186 /* syscall: "getgroups" ret: "int" args: "u_int" "gid_t *" */
  187 #define ULTRIX_SYS_getgroups    79
  188 
  189 /* syscall: "setgroups" ret: "int" args: "u_int" "gid_t *" */
  190 #define ULTRIX_SYS_setgroups    80
  191 
  192 /* syscall: "getpgrp" ret: "int" args: */
  193 #define ULTRIX_SYS_getpgrp      81
  194 
  195 /* syscall: "setpgrp" ret: "int" args: "int" "int" */
  196 #define ULTRIX_SYS_setpgrp      82
  197 
  198 /* syscall: "setitimer" ret: "int" args: "u_int" "struct itimerval *" "struct itimerval *" */
  199 #define ULTRIX_SYS_setitimer    83
  200 
  201 /* syscall: "wait3" ret: "int" args: "int *" "int" "struct rusage *" */
  202 #define ULTRIX_SYS_wait3        84
  203 
  204 /* syscall: "swapon" ret: "int" args: "char *" */
  205 #define ULTRIX_SYS_swapon       85
  206 
  207 /* syscall: "getitimer" ret: "int" args: "u_int" "struct itimerval *" */
  208 #define ULTRIX_SYS_getitimer    86
  209 
  210 /* syscall: "gethostname" ret: "int" args: "char *" "u_int" */
  211 #define ULTRIX_SYS_gethostname  87
  212 
  213 /* syscall: "sethostname" ret: "int" args: "char *" "u_int" */
  214 #define ULTRIX_SYS_sethostname  88
  215 
  216 /* syscall: "getdtablesize" ret: "int" args: */
  217 #define ULTRIX_SYS_getdtablesize        89
  218 
  219 /* syscall: "dup2" ret: "int" args: "u_int" "u_int" */
  220 #define ULTRIX_SYS_dup2 90
  221 
  222 /* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */
  223 #define ULTRIX_SYS_fcntl        92
  224 
  225 /* syscall: "select" ret: "int" args: "u_int" "fd_set *" "fd_set *" "fd_set *" "struct timeval *" */
  226 #define ULTRIX_SYS_select       93
  227 
  228 /* syscall: "fsync" ret: "int" args: "int" */
  229 #define ULTRIX_SYS_fsync        95
  230 
  231 /* syscall: "setpriority" ret: "int" args: "int" "int" "int" */
  232 #define ULTRIX_SYS_setpriority  96
  233 
  234 /* syscall: "socket" ret: "int" args: "int" "int" "int" */
  235 #define ULTRIX_SYS_socket       97
  236 
  237 /* syscall: "connect" ret: "int" args: "int" "void *" "int" */
  238 #define ULTRIX_SYS_connect      98
  239 
  240 /* syscall: "accept" ret: "int" args: "int" "void *" "int *" */
  241 #define ULTRIX_SYS_accept       99
  242 
  243 /* syscall: "getpriority" ret: "int" args: "int" "int" */
  244 #define ULTRIX_SYS_getpriority  100
  245 
  246 /* syscall: "send" ret: "int" args: "int" "void *" "int" "int" */
  247 #define ULTRIX_SYS_send 101
  248 
  249 /* syscall: "recv" ret: "int" args: "int" "void *" "int" "int" */
  250 #define ULTRIX_SYS_recv 102
  251 
  252 /* syscall: "sigreturn" ret: "int" args: "struct sigcontext *" */
  253 #define ULTRIX_SYS_sigreturn    103
  254 
  255 /* syscall: "bind" ret: "int" args: "int" "void *" "int" */
  256 #define ULTRIX_SYS_bind 104
  257 
  258 /* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "void *" "int" */
  259 #define ULTRIX_SYS_setsockopt   105
  260 
  261 /* syscall: "listen" ret: "int" args: "int" "int" */
  262 #define ULTRIX_SYS_listen       106
  263 
  264 /* syscall: "sigvec" ret: "int" args: "int" "struct sigvec *" "struct sigvec *" */
  265 #define ULTRIX_SYS_sigvec       108
  266 
  267 /* syscall: "sigblock" ret: "int" args: "int" */
  268 #define ULTRIX_SYS_sigblock     109
  269 
  270 /* syscall: "sigsetmask" ret: "int" args: "int" */
  271 #define ULTRIX_SYS_sigsetmask   110
  272 
  273 /* syscall: "sigsuspend" ret: "int" args: "int" */
  274 #define ULTRIX_SYS_sigsuspend   111
  275 
  276 /* syscall: "sigstack" ret: "int" args: "struct sigstack *" "struct sigstack *" */
  277 #define ULTRIX_SYS_sigstack     112
  278 
  279 /* syscall: "recvmsg" ret: "int" args: "int" "struct omsghdr *" "int" */
  280 #define ULTRIX_SYS_recvmsg      113
  281 
  282 /* syscall: "sendmsg" ret: "int" args: "int" "void *" "int" */
  283 #define ULTRIX_SYS_sendmsg      114
  284 
  285                                 /* 115 is obsolete vtrace */
  286 /* syscall: "gettimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
  287 #define ULTRIX_SYS_gettimeofday 116
  288 
  289 /* syscall: "getrusage" ret: "int" args: "int" "struct rusage *" */
  290 #define ULTRIX_SYS_getrusage    117
  291 
  292 /* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "void *" "int *" */
  293 #define ULTRIX_SYS_getsockopt   118
  294 
  295 /* syscall: "readv" ret: "int" args: "int" "struct iovec *" "u_int" */
  296 #define ULTRIX_SYS_readv        120
  297 
  298 /* syscall: "writev" ret: "int" args: "int" "struct iovec *" "u_int" */
  299 #define ULTRIX_SYS_writev       121
  300 
  301 /* syscall: "settimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
  302 #define ULTRIX_SYS_settimeofday 122
  303 
  304 /* syscall: "__posix_fchown" ret: "int" args: "int" "int" "int" */
  305 #define ULTRIX_SYS___posix_fchown       123
  306 
  307 /* syscall: "fchmod" ret: "int" args: "int" "int" */
  308 #define ULTRIX_SYS_fchmod       124
  309 
  310 /* syscall: "recvfrom" ret: "int" args: "int" "void *" "size_t" "int" "void *" "int *" */
  311 #define ULTRIX_SYS_recvfrom     125
  312 
  313 /* syscall: "setreuid" ret: "int" args: "int" "int" */
  314 #define ULTRIX_SYS_setreuid     126
  315 
  316 /* syscall: "setregid" ret: "int" args: "int" "int" */
  317 #define ULTRIX_SYS_setregid     127
  318 
  319 /* syscall: "rename" ret: "int" args: "char *" "char *" */
  320 #define ULTRIX_SYS_rename       128
  321 
  322 /* syscall: "truncate" ret: "int" args: "char *" "long" */
  323 #define ULTRIX_SYS_truncate     129
  324 
  325 /* syscall: "ftruncate" ret: "int" args: "int" "long" */
  326 #define ULTRIX_SYS_ftruncate    130
  327 
  328 /* syscall: "flock" ret: "int" args: "int" "int" */
  329 #define ULTRIX_SYS_flock        131
  330 
  331 /* syscall: "sendto" ret: "int" args: "int" "void *" "size_t" "int" "void *" "int" */
  332 #define ULTRIX_SYS_sendto       133
  333 
  334 /* syscall: "shutdown" ret: "int" args: "int" "int" */
  335 #define ULTRIX_SYS_shutdown     134
  336 
  337 /* syscall: "socketpair" ret: "int" args: "int" "int" "int" "int *" */
  338 #define ULTRIX_SYS_socketpair   135
  339 
  340 /* syscall: "mkdir" ret: "int" args: "char *" "int" */
  341 #define ULTRIX_SYS_mkdir        136
  342 
  343 /* syscall: "rmdir" ret: "int" args: "char *" */
  344 #define ULTRIX_SYS_rmdir        137
  345 
  346 /* syscall: "utimes" ret: "int" args: "char *" "struct timeval *" */
  347 #define ULTRIX_SYS_utimes       138
  348 
  349 /* syscall: "sigcleanup" ret: "int" args: "struct sigcontext *" */
  350 #define ULTRIX_SYS_sigcleanup   139
  351 
  352 /* syscall: "adjtime" ret: "int" args: "struct timeval *" "struct timeval *" */
  353 #define ULTRIX_SYS_adjtime      140
  354 
  355 /* syscall: "getpeername" ret: "int" args: "int" "void *" "int *" */
  356 #define ULTRIX_SYS_getpeername  141
  357 
  358 /* syscall: "gethostid" ret: "int" args: */
  359 #define ULTRIX_SYS_gethostid    142
  360 
  361 /* syscall: "getrlimit" ret: "int" args: "u_int" "struct orlimit *" */
  362 #define ULTRIX_SYS_getrlimit    144
  363 
  364 /* syscall: "setrlimit" ret: "int" args: "u_int" "struct orlimit *" */
  365 #define ULTRIX_SYS_setrlimit    145
  366 
  367 /* syscall: "killpg" ret: "int" args: "int" "int" */
  368 #define ULTRIX_SYS_killpg       146
  369 
  370 /* syscall: "getsockname" ret: "int" args: "int" "void *" "int *" */
  371 #define ULTRIX_SYS_getsockname  150
  372 
  373 #ifdef __mips
  374 /* syscall: "cacheflush" ret: "int" args: "char *" "int" "int" */
  375 #define ULTRIX_SYS_cacheflush   152
  376 
  377 /* syscall: "cachectl" ret: "int" args: "char *" "int" "int" */
  378 #define ULTRIX_SYS_cachectl     153
  379 
  380 #else   /* !mips */
  381 #endif  /* !mips */
  382 #ifdef NFSSERVER
  383 /* syscall: "nfssvc" ret: "int" args: "int" */
  384 #define ULTRIX_SYS_nfssvc       158
  385 
  386 #else
  387 #endif
  388 /* syscall: "getdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */
  389 #define ULTRIX_SYS_getdirentries        159
  390 
  391 /* syscall: "statfs" ret: "int" args: "const char *" "struct ultrix_statfs *" */
  392 #define ULTRIX_SYS_statfs       160
  393 
  394 /* syscall: "fstatfs" ret: "int" args: "int" "struct ultrix_statfs *" */
  395 #define ULTRIX_SYS_fstatfs      161
  396 
  397 #ifdef NFS
  398 /* syscall: "async_daemon" ret: "int" args: */
  399 #define ULTRIX_SYS_async_daemon 163
  400 
  401 /* syscall: "getfh" ret: "int" args: "char *" "fhandle_t *" */
  402 #define ULTRIX_SYS_getfh        164
  403 
  404 #else
  405 #endif
  406 /* syscall: "getdomainname" ret: "int" args: "char *" "int" */
  407 #define ULTRIX_SYS_getdomainname        165
  408 
  409 /* syscall: "setdomainname" ret: "int" args: "char *" "int" */
  410 #define ULTRIX_SYS_setdomainname        166
  411 
  412 /* syscall: "quotactl" ret: "int" args: "int" "char *" "int" "void *" */
  413 #define ULTRIX_SYS_quotactl     168
  414 
  415 /* syscall: "exportfs" ret: "int" args: "char *" "char *" */
  416 #define ULTRIX_SYS_exportfs     169
  417 
  418 /* syscall: "uname" ret: "int" args: "struct ultrix_utsname *" */
  419 #define ULTRIX_SYS_uname        179
  420 
  421 /* syscall: "shmsys" ret: "int" args: "u_int" "u_int" "u_int" "u_int" */
  422 #define ULTRIX_SYS_shmsys       180
  423 
  424 /* syscall: "ustat" ret: "int" args: "int" "struct ultrix_ustat *" */
  425 #define ULTRIX_SYS_ustat        183
  426 
  427 /* syscall: "getmnt" ret: "int" args: "int *" "struct ultrix_fs_data *" "int" "int" "char *" */
  428 #define ULTRIX_SYS_getmnt       184
  429 
  430 /* syscall: "sigpending" ret: "int" args: "int *" */
  431 #define ULTRIX_SYS_sigpending   187
  432 
  433 /* syscall: "setsid" ret: "int" args: */
  434 #define ULTRIX_SYS_setsid       188
  435 
  436 /* syscall: "waitpid" ret: "int" args: "int" "int *" "int" */
  437 #define ULTRIX_SYS_waitpid      189
  438 
  439 /* syscall: "getsysinfo" ret: "int" args: "unsigned" "char *" "unsigned" "int *" "char *" */
  440 #define ULTRIX_SYS_getsysinfo   256
  441 
  442 /* syscall: "setsysinfo" ret: "int" args: "unsigned" "char *" "unsigned" "unsigned" "unsigned" */
  443 #define ULTRIX_SYS_setsysinfo   257
  444 
  445 #define ULTRIX_SYS_MAXSYSCALL   258
  446 #define ULTRIX_SYS_NSYSENT      512
  447 #endif /* _ULTRIX_SYS_SYSCALL_H_ */

Cache object: bfde1eb03b7c9d0f132eb50e071fab79


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