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/irix/irix_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: irix_syscall.h,v 1.58 2008/04/23 14:10:03 ad 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.52 2008/04/23 14:07:49 ad Exp
    8  */
    9 
   10 #ifndef _IRIX_SYS_SYSCALL_H_
   11 #define _IRIX_SYS_SYSCALL_H_
   12 
   13 #define IRIX_SYS_MAXSYSARGS     8
   14 
   15 /* syscall: "syscall" ret: "int" args: */
   16 #define IRIX_SYS_syscall        0
   17 
   18 /* syscall: "exit" ret: "int" args: "int" */
   19 #define IRIX_SYS_exit   1
   20 
   21 /* syscall: "fork" ret: "int" args: */
   22 #define IRIX_SYS_fork   2
   23 
   24 /* syscall: "read" ret: "int" args: "int" "char *" "u_int" */
   25 #define IRIX_SYS_read   3
   26 
   27 /* syscall: "write" ret: "int" args: "int" "char *" "u_int" */
   28 #define IRIX_SYS_write  4
   29 
   30 /* syscall: "open" ret: "int" args: "const char *" "int" "int" */
   31 #define IRIX_SYS_open   5
   32 
   33 /* syscall: "close" ret: "int" args: "int" */
   34 #define IRIX_SYS_close  6
   35 
   36                                 /* 7 is obsolete wait */
   37 /* syscall: "creat" ret: "int" args: "const char *" "int" */
   38 #define IRIX_SYS_creat  8
   39 
   40 /* syscall: "link" ret: "int" args: "char *" "char *" */
   41 #define IRIX_SYS_link   9
   42 
   43 /* syscall: "unlink" ret: "int" args: "char *" */
   44 #define IRIX_SYS_unlink 10
   45 
   46 /* syscall: "execv" ret: "int" args: "const char *" "char **" */
   47 #define IRIX_SYS_execv  11
   48 
   49 /* syscall: "chdir" ret: "int" args: "char *" */
   50 #define IRIX_SYS_chdir  12
   51 
   52 /* syscall: "time" ret: "int" args: "svr4_time_t *" */
   53 #define IRIX_SYS_time   13
   54 
   55                                 /* 14 is obsolete mknod */
   56 /* syscall: "chmod" ret: "int" args: "char *" "int" */
   57 #define IRIX_SYS_chmod  15
   58 
   59 /* syscall: "chown" ret: "int" args: "char *" "int" "int" */
   60 #define IRIX_SYS_chown  16
   61 
   62 /* syscall: "break" ret: "int" args: "void *" */
   63 #define IRIX_SYS_break  17
   64 
   65                                 /* 18 is obsolete stat */
   66 /* syscall: "lseek" ret: "long" args: "int" "long" "int" */
   67 #define IRIX_SYS_lseek  19
   68 
   69 /* syscall: "getpid" ret: "pid_t" args: */
   70 #define IRIX_SYS_getpid 20
   71 
   72 /* syscall: "setuid" ret: "int" args: "uid_t" */
   73 #define IRIX_SYS_setuid 23
   74 
   75 /* syscall: "getuid_with_euid" ret: "uid_t" args: */
   76 #define IRIX_SYS_getuid_with_euid       24
   77 
   78 /* syscall: "alarm" ret: "int" args: "unsigned" */
   79 #define IRIX_SYS_alarm  27
   80 
   81 /* syscall: "fstat" ret: "int" args: "int" "struct svr4_stat *" */
   82 #define IRIX_SYS_fstat  28
   83 
   84 /* syscall: "pause" ret: "int" args: */
   85 #define IRIX_SYS_pause  29
   86 
   87 /* syscall: "utime" ret: "int" args: "const char *" "struct svr4_utimbuf *" */
   88 #define IRIX_SYS_utime  30
   89 
   90 /* syscall: "access" ret: "int" args: "const char *" "int" */
   91 #define IRIX_SYS_access 33
   92 
   93 /* syscall: "nice" ret: "int" args: "int" */
   94 #define IRIX_SYS_nice   34
   95 
   96 /* syscall: "sync" ret: "int" args: */
   97 #define IRIX_SYS_sync   36
   98 
   99 /* syscall: "kill" ret: "int" args: "int" "int" */
  100 #define IRIX_SYS_kill   37
  101 
  102 /* syscall: "pgrpsys" ret: "int" args: "int" "int" "int" */
  103 #define IRIX_SYS_pgrpsys        39
  104 
  105 /* syscall: "syssgi" ret: "ptrdiff_t" args: "int" "void *" "void *" "void *" "void *" "void *" */
  106 #define IRIX_SYS_syssgi 40
  107 
  108 /* syscall: "dup" ret: "int" args: "u_int" */
  109 #define IRIX_SYS_dup    41
  110 
  111 /* syscall: "pipe" ret: "int" args: */
  112 #define IRIX_SYS_pipe   42
  113 
  114 /* syscall: "times" ret: "int" args: "struct tms *" */
  115 #define IRIX_SYS_times  43
  116 
  117 /* syscall: "setgid" ret: "int" args: "gid_t" */
  118 #define IRIX_SYS_setgid 46
  119 
  120 /* syscall: "getgid_with_egid" ret: "gid_t" args: */
  121 #define IRIX_SYS_getgid_with_egid       47
  122 
  123                                 /* 48 is obsolete ssig */
  124 #ifdef SYSVMSG
  125 /* syscall: "msgsys" ret: "int" args: "int" "int" "int" "int" "int" */
  126 #define IRIX_SYS_msgsys 49
  127 
  128 #else
  129 #endif
  130 #ifdef SYSVSHM
  131 /* syscall: "shmsys" ret: "int" args: "int" "int" "int" "int" */
  132 #define IRIX_SYS_shmsys 52
  133 
  134 #else
  135 #endif
  136 #ifdef SYSVSEM
  137 /* syscall: "semsys" ret: "int" args: "int" "int" "int" "int" "int" */
  138 #define IRIX_SYS_semsys 53
  139 
  140 #else
  141 #endif
  142 /* syscall: "ioctl" ret: "int" args: "int" "u_long" "void *" */
  143 #define IRIX_SYS_ioctl  54
  144 
  145 /* syscall: "sysmp" ret: "int" args: "int" "void *" "void *" "void *" "void *" */
  146 #define IRIX_SYS_sysmp  56
  147 
  148 /* syscall: "utssys" ret: "int" args: "void *" "void *" "int" "void *" */
  149 #define IRIX_SYS_utssys 57
  150 
  151 /* syscall: "execve" ret: "int" args: "const char *" "char **" "char **" */
  152 #define IRIX_SYS_execve 59
  153 
  154 /* syscall: "umask" ret: "int" args: "int" */
  155 #define IRIX_SYS_umask  60
  156 
  157 /* syscall: "chroot" ret: "int" args: "char *" */
  158 #define IRIX_SYS_chroot 61
  159 
  160 /* syscall: "fcntl" ret: "int" args: "int" "int" "char *" */
  161 #define IRIX_SYS_fcntl  62
  162 
  163 /* syscall: "ulimit" ret: "long" args: "int" "long" */
  164 #define IRIX_SYS_ulimit 63
  165 
  166                                 /* 70 is obsolete advfs */
  167                                 /* 71 is obsolete unadvfs */
  168                                 /* 72 is obsolete rmount */
  169                                 /* 73 is obsolete rumount */
  170                                 /* 74 is obsolete rfstart */
  171 /* syscall: "getrlimit64" ret: "int" args: "int" "struct irix_rlimit64 *" */
  172 #define IRIX_SYS_getrlimit64    75
  173 
  174 /* syscall: "setrlimit64" ret: "int" args: "int" "const struct irix_rlimit64 *" */
  175 #define IRIX_SYS_setrlimit64    76
  176 
  177 /* syscall: "nanosleep" ret: "int" args: "const struct timespec *" "struct timespec *" */
  178 #define IRIX_SYS_nanosleep      77
  179 
  180 /* syscall: "lseek64" ret: "irix_off64_t" args: "int" "int" "irix_off64_t" "int" "int" "int" "int" */
  181 #define IRIX_SYS_lseek64        78
  182 
  183 /* syscall: "rmdir" ret: "int" args: "char *" */
  184 #define IRIX_SYS_rmdir  79
  185 
  186 /* syscall: "mkdir" ret: "int" args: "char *" "int" */
  187 #define IRIX_SYS_mkdir  80
  188 
  189 /* syscall: "getdents" ret: "int" args: "int" "irix_dirent_t *" "int" */
  190 #define IRIX_SYS_getdents       81
  191 
  192 /* syscall: "sginap" ret: "long" args: "long" */
  193 #define IRIX_SYS_sginap 82
  194 
  195 /* syscall: "getmsg" ret: "int" args: "int" "struct svr4_strbuf *" "struct svr4_strbuf *" "int *" */
  196 #define IRIX_SYS_getmsg 85
  197 
  198 /* syscall: "putmsg" ret: "int" args: "int" "struct svr4_strbuf *" "struct svr4_strbuf *" "int" */
  199 #define IRIX_SYS_putmsg 86
  200 
  201 /* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
  202 #define IRIX_SYS_poll   87
  203 
  204 /* syscall: "sigreturn" ret: "int" args: "struct irix_sigcontext *" "struct irix_ucontext *" "int" */
  205 #define IRIX_SYS_sigreturn      88
  206 
  207 /* syscall: "accept" ret: "int" args: "int" "struct sockaddr *" "int *" */
  208 #define IRIX_SYS_accept 89
  209 
  210 /* syscall: "bind" ret: "int" args: "int" "const struct sockaddr *" "int" */
  211 #define IRIX_SYS_bind   90
  212 
  213 /* syscall: "connect" ret: "int" args: "int" "const struct sockaddr *" "int" */
  214 #define IRIX_SYS_connect        91
  215 
  216 /* syscall: "gethostid" ret: "int32_t" args: */
  217 #define IRIX_SYS_gethostid      92
  218 
  219 /* syscall: "getpeername" ret: "int" args: "int" "struct sockaddr *" "int *" */
  220 #define IRIX_SYS_getpeername    93
  221 
  222 /* syscall: "getsockname" ret: "int" args: "int" "struct sockaddr *" "int *" */
  223 #define IRIX_SYS_getsockname    94
  224 
  225 /* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "void *" "int *" */
  226 #define IRIX_SYS_getsockopt     95
  227 
  228 /* syscall: "listen" ret: "int" args: "int" "int" */
  229 #define IRIX_SYS_listen 96
  230 
  231 /* syscall: "recv" ret: "int" args: "int" "void *" "int" "int" */
  232 #define IRIX_SYS_recv   97
  233 
  234 /* syscall: "recvfrom" ret: "ssize_t" args: "int" "void *" "size_t" "int" "struct sockaddr *" "int *" */
  235 #define IRIX_SYS_recvfrom       98
  236 
  237 /* syscall: "recvmsg" ret: "ssize_t" args: "int" "struct msghdr *" "int" */
  238 #define IRIX_SYS_recvmsg        99
  239 
  240 /* syscall: "select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval *" */
  241 #define IRIX_SYS_select 100
  242 
  243 /* syscall: "send" ret: "int" args: "int" "void *" "int" "int" */
  244 #define IRIX_SYS_send   101
  245 
  246 /* syscall: "sendmsg" ret: "ssize_t" args: "int" "const struct msghdr *" "int" */
  247 #define IRIX_SYS_sendmsg        102
  248 
  249 /* syscall: "sendto" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "const struct sockaddr *" "int" */
  250 #define IRIX_SYS_sendto 103
  251 
  252 /* syscall: "sethostid" ret: "int" args: "int32_t" */
  253 #define IRIX_SYS_sethostid      104
  254 
  255 /* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "const void *" "int" */
  256 #define IRIX_SYS_setsockopt     105
  257 
  258 /* syscall: "shutdown" ret: "int" args: "int" "int" */
  259 #define IRIX_SYS_shutdown       106
  260 
  261 /* syscall: "socket" ret: "int" args: "int" "int" "int" */
  262 #define IRIX_SYS_socket 107
  263 
  264 /* syscall: "gethostname" ret: "int" args: "char *" "u_int" */
  265 #define IRIX_SYS_gethostname    108
  266 
  267 /* syscall: "sethostname" ret: "int" args: "const char *" "u_int" */
  268 #define IRIX_SYS_sethostname    109
  269 
  270 /* syscall: "getdomainname" ret: "int" args: "char *" "int" */
  271 #define IRIX_SYS_getdomainname  110
  272 
  273 /* syscall: "setdomainname" ret: "int" args: "char *" "int" */
  274 #define IRIX_SYS_setdomainname  111
  275 
  276 /* syscall: "truncate" ret: "int" args: "const char *" "long" */
  277 #define IRIX_SYS_truncate       112
  278 
  279 /* syscall: "ftruncate" ret: "int" args: "int" "long" */
  280 #define IRIX_SYS_ftruncate      113
  281 
  282 /* syscall: "rename" ret: "int" args: "const char *" "const char *" */
  283 #define IRIX_SYS_rename 114
  284 
  285 /* syscall: "symlink" ret: "int" args: "const char *" "const char *" */
  286 #define IRIX_SYS_symlink        115
  287 
  288 /* syscall: "readlink" ret: "int" args: "const char *" "char *" "size_t" */
  289 #define IRIX_SYS_readlink       116
  290 
  291 /* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */
  292 #define IRIX_SYS_setregid       123
  293 
  294 /* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */
  295 #define IRIX_SYS_setreuid       124
  296 
  297 /* syscall: "getitimer" ret: "int" args: "u_int" "struct itimerval *" */
  298 #define IRIX_SYS_getitimer      125
  299 
  300 /* syscall: "setitimer" ret: "int" args: "u_int" "struct itimerval *" "struct itimerval *" */
  301 #define IRIX_SYS_setitimer      126
  302 
  303 /* syscall: "adjtime" ret: "int" args: "struct timeval *" "struct timeval *" */
  304 #define IRIX_SYS_adjtime        127
  305 
  306 /* syscall: "gettimeofday" ret: "int" args: "struct timeval *" */
  307 #define IRIX_SYS_gettimeofday   128
  308 
  309 /* syscall: "sproc" ret: "irix_pid_t" args: "void *" "unsigned int" "void *" */
  310 #define IRIX_SYS_sproc  129
  311 
  312 /* syscall: "prctl" ret: "ptrdiff_t" args: "unsigned int" "void *" */
  313 #define IRIX_SYS_prctl  130
  314 
  315 /* syscall: "procblk" ret: "int" args: "int" "pid_t" "int" */
  316 #define IRIX_SYS_procblk        131
  317 
  318 /* syscall: "sprocsp" ret: "irix_pid_t" args: "void *" "unsigned int" "void *" "void *" "irix_size_t" */
  319 #define IRIX_SYS_sprocsp        132
  320 
  321 /* syscall: "mmap" ret: "void *" args: "void *" "irix_size_t" "int" "int" "int" "irix_off_t" */
  322 #define IRIX_SYS_mmap   134
  323 
  324 /* syscall: "munmap" ret: "int" args: "void *" "int" */
  325 #define IRIX_SYS_munmap 135
  326 
  327 /* syscall: "mprotect" ret: "int" args: "void *" "int" "int" */
  328 #define IRIX_SYS_mprotect       136
  329 
  330 /* syscall: "__msync13" ret: "int" args: "void *" "size_t" "int" */
  331 #define IRIX_SYS___msync13      137
  332 
  333 /* syscall: "getpgrp" ret: "int" args: */
  334 #define IRIX_SYS_getpgrp        143
  335 
  336 /* syscall: "setpgrp" ret: "int" args: "int" "int" */
  337 #define IRIX_SYS_setpgrp        144
  338 
  339 /* syscall: "fsync" ret: "int" args: "int" */
  340 #define IRIX_SYS_fsync  146
  341 
  342 /* syscall: "fchdir" ret: "int" args: "int" */
  343 #define IRIX_SYS_fchdir 147
  344 
  345 /* syscall: "getrlimit" ret: "int" args: "int" "struct irix_rlimit *" */
  346 #define IRIX_SYS_getrlimit      148
  347 
  348 /* syscall: "setrlimit" ret: "int" args: "int" "const struct irix_rlimit *" */
  349 #define IRIX_SYS_setrlimit      149
  350 
  351 /* syscall: "fchown" ret: "int" args: "int" "int" "int" */
  352 #define IRIX_SYS_fchown 152
  353 
  354 /* syscall: "fchmod" ret: "int" args: "int" "int" */
  355 #define IRIX_SYS_fchmod 153
  356 
  357 /* syscall: "systeminfo" ret: "long" args: "int" "char *" "long" */
  358 #define IRIX_SYS_systeminfo     156
  359 
  360 /* syscall: "uname" ret: "int" args: "struct irix_utsname *" */
  361 #define IRIX_SYS_uname  157
  362 
  363 /* syscall: "xstat" ret: "int" args: "const int" "const char *" "struct stat *" */
  364 #define IRIX_SYS_xstat  158
  365 
  366 /* syscall: "lxstat" ret: "int" args: "const int" "const char *" "struct stat *" */
  367 #define IRIX_SYS_lxstat 159
  368 
  369 /* syscall: "fxstat" ret: "int" args: "const int" "const int" "struct stat *" */
  370 #define IRIX_SYS_fxstat 160
  371 
  372 /* syscall: "sigaction" ret: "int" args: "int" "const struct svr4_sigaction *" "struct svr4_sigaction *" "void *" */
  373 #define IRIX_SYS_sigaction      162
  374 
  375 /* syscall: "sigpending" ret: "int" args: "int" "svr4_sigset_t *" */
  376 #define IRIX_SYS_sigpending     163
  377 
  378 /* syscall: "sigprocmask" ret: "int" args: "int" "const irix_sigset_t *" "irix_sigset_t *" */
  379 #define IRIX_SYS_sigprocmask    164
  380 
  381 /* syscall: "sigsuspend" ret: "int" args: "const svr4_sigset_t *" */
  382 #define IRIX_SYS_sigsuspend     165
  383 
  384 /* syscall: "swapctl" ret: "int" args: "int" "void *" */
  385 #define IRIX_SYS_swapctl        167
  386 
  387 /* syscall: "getcontext" ret: "int" args: "irix_ucontext_t *" */
  388 #define IRIX_SYS_getcontext     168
  389 
  390 /* syscall: "setcontext" ret: "int" args: "const irix_ucontext_t *" */
  391 #define IRIX_SYS_setcontext     169
  392 
  393 /* syscall: "waitsys" ret: "int" args: "int" "int" "struct irix_irix5_siginfo *" "int" "struct rusage *" */
  394 #define IRIX_SYS_waitsys        170
  395 
  396 /* syscall: "statvfs" ret: "int" args: "const char *" "struct svr4_statvfs *" */
  397 #define IRIX_SYS_statvfs        174
  398 
  399 /* syscall: "fstatvfs" ret: "int" args: "int" "struct svr4_statvfs *" */
  400 #define IRIX_SYS_fstatvfs       175
  401 
  402 /* syscall: "readv" ret: "ssize_t" args: "int" "const struct iovec *" "int" */
  403 #define IRIX_SYS_readv  181
  404 
  405 /* syscall: "writev" ret: "ssize_t" args: "int" "const struct iovec *" "int" */
  406 #define IRIX_SYS_writev 182
  407 
  408 /* syscall: "truncate64" ret: "int" args: "const char *" "int" "off_t" */
  409 #define IRIX_SYS_truncate64     183
  410 
  411 /* syscall: "ftruncate64" ret: "int" args: "int" "int" "off_t" */
  412 #define IRIX_SYS_ftruncate64    184
  413 
  414 /* syscall: "mmap64" ret: "void *" args: "void *" "irix_size_t" "int" "int" "int" "int" "irix_off_t" */
  415 #define IRIX_SYS_mmap64 185
  416 
  417 /* syscall: "pread" ret: "ssize_t" args: "int" "void *" "size_t" "svr4_off_t" */
  418 #define IRIX_SYS_pread  187
  419 
  420 /* syscall: "pwrite" ret: "ssize_t" args: "int" "const void *" "size_t" "svr4_off_t" */
  421 #define IRIX_SYS_pwrite 188
  422 
  423 /* syscall: "getmountid" ret: "int" args: "const char *" "irix_mountid_t *" */
  424 #define IRIX_SYS_getmountid     203
  425 
  426 /* syscall: "getdents64" ret: "int" args: "int" "irix_dirent64_t *" "int" */
  427 #define IRIX_SYS_getdents64     205
  428 
  429 /* syscall: "ngetdents" ret: "int" args: "int" "irix_dirent_t *" "unsigned short" "int *" */
  430 #define IRIX_SYS_ngetdents      207
  431 
  432 /* syscall: "ngetdents64" ret: "int" args: "int" "irix_dirent64_t *" "unsigned short" "int *" */
  433 #define IRIX_SYS_ngetdents64    208
  434 
  435 /* syscall: "pidsprocsp" ret: "irix_pid_t" args: "void *" "unsigned int" "void *" "void *" "irix_size_t" "irix_pid_t" */
  436 #define IRIX_SYS_pidsprocsp     210
  437 
  438 /* syscall: "usync_cntl" ret: "int" args: "int" "void *" */
  439 #define IRIX_SYS_usync_cntl     223
  440 
  441 #define IRIX_SYS_MAXSYSCALL     236
  442 #define IRIX_SYS_NSYSENT        256
  443 #endif /* _IRIX_SYS_SYSCALL_H_ */

Cache object: 8160bfb10a29330c7b473db3951c75c9


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