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/sys/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: syscall.h,v 1.175 2006/10/17 15:07:21 christos 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.160 2006/10/17 15:06:18 christos Exp
    8  */
    9 
   10 #ifndef _SYS_SYSCALL_H_
   11 #define _SYS_SYSCALL_H_
   12 
   13 /* syscall: "syscall" ret: "int" args: "int" "..." */
   14 #define SYS_syscall     0
   15 
   16 /* syscall: "exit" ret: "void" args: "int" */
   17 #define SYS_exit        1
   18 
   19 /* syscall: "fork" ret: "int" args: */
   20 #define SYS_fork        2
   21 
   22 /* syscall: "read" ret: "ssize_t" args: "int" "void *" "size_t" */
   23 #define SYS_read        3
   24 
   25 /* syscall: "write" ret: "ssize_t" args: "int" "const void *" "size_t" */
   26 #define SYS_write       4
   27 
   28 /* syscall: "open" ret: "int" args: "const char *" "int" "..." */
   29 #define SYS_open        5
   30 
   31 /* syscall: "close" ret: "int" args: "int" */
   32 #define SYS_close       6
   33 
   34 /* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage *" */
   35 #define SYS_wait4       7
   36 
   37 /* syscall: "compat_43_ocreat" ret: "int" args: "const char *" "mode_t" */
   38 #define SYS_compat_43_ocreat    8
   39 
   40 /* syscall: "link" ret: "int" args: "const char *" "const char *" */
   41 #define SYS_link        9
   42 
   43 /* syscall: "unlink" ret: "int" args: "const char *" */
   44 #define SYS_unlink      10
   45 
   46                                 /* 11 is obsolete execv */
   47 /* syscall: "chdir" ret: "int" args: "const char *" */
   48 #define SYS_chdir       12
   49 
   50 /* syscall: "fchdir" ret: "int" args: "int" */
   51 #define SYS_fchdir      13
   52 
   53 /* syscall: "mknod" ret: "int" args: "const char *" "mode_t" "dev_t" */
   54 #define SYS_mknod       14
   55 
   56 /* syscall: "chmod" ret: "int" args: "const char *" "mode_t" */
   57 #define SYS_chmod       15
   58 
   59 /* syscall: "chown" ret: "int" args: "const char *" "uid_t" "gid_t" */
   60 #define SYS_chown       16
   61 
   62 /* syscall: "break" ret: "int" args: "char *" */
   63 #define SYS_break       17
   64 
   65 /* syscall: "compat_20_getfsstat" ret: "int" args: "struct statfs12 *" "long" "int" */
   66 #define SYS_compat_20_getfsstat 18
   67 
   68 /* syscall: "compat_43_olseek" ret: "long" args: "int" "long" "int" */
   69 #define SYS_compat_43_olseek    19
   70 
   71 #ifdef COMPAT_43
   72 /* syscall: "getpid" ret: "pid_t" args: */
   73 #define SYS_getpid      20
   74 
   75 #else
   76 /* syscall: "getpid" ret: "pid_t" args: */
   77 #define SYS_getpid      20
   78 
   79 #endif
   80 /* syscall: "mount" ret: "int" args: "const char *" "const char *" "int" "void *" */
   81 #define SYS_mount       21
   82 
   83 /* syscall: "unmount" ret: "int" args: "const char *" "int" */
   84 #define SYS_unmount     22
   85 
   86 /* syscall: "setuid" ret: "int" args: "uid_t" */
   87 #define SYS_setuid      23
   88 
   89 #ifdef COMPAT_43
   90 /* syscall: "getuid" ret: "uid_t" args: */
   91 #define SYS_getuid      24
   92 
   93 #else
   94 /* syscall: "getuid" ret: "uid_t" args: */
   95 #define SYS_getuid      24
   96 
   97 #endif
   98 /* syscall: "geteuid" ret: "uid_t" args: */
   99 #define SYS_geteuid     25
  100 
  101 /* syscall: "ptrace" ret: "int" args: "int" "pid_t" "caddr_t" "int" */
  102 #define SYS_ptrace      26
  103 
  104 /* syscall: "recvmsg" ret: "ssize_t" args: "int" "struct msghdr *" "int" */
  105 #define SYS_recvmsg     27
  106 
  107 /* syscall: "sendmsg" ret: "ssize_t" args: "int" "const struct msghdr *" "int" */
  108 #define SYS_sendmsg     28
  109 
  110 /* syscall: "recvfrom" ret: "ssize_t" args: "int" "void *" "size_t" "int" "struct sockaddr *" "unsigned int *" */
  111 #define SYS_recvfrom    29
  112 
  113 /* syscall: "accept" ret: "int" args: "int" "struct sockaddr *" "unsigned int *" */
  114 #define SYS_accept      30
  115 
  116 /* syscall: "getpeername" ret: "int" args: "int" "struct sockaddr *" "unsigned int *" */
  117 #define SYS_getpeername 31
  118 
  119 /* syscall: "getsockname" ret: "int" args: "int" "struct sockaddr *" "unsigned int *" */
  120 #define SYS_getsockname 32
  121 
  122 /* syscall: "access" ret: "int" args: "const char *" "int" */
  123 #define SYS_access      33
  124 
  125 /* syscall: "chflags" ret: "int" args: "const char *" "u_long" */
  126 #define SYS_chflags     34
  127 
  128 /* syscall: "fchflags" ret: "int" args: "int" "u_long" */
  129 #define SYS_fchflags    35
  130 
  131 /* syscall: "sync" ret: "void" args: */
  132 #define SYS_sync        36
  133 
  134 /* syscall: "kill" ret: "int" args: "int" "int" */
  135 #define SYS_kill        37
  136 
  137 /* syscall: "compat_43_stat43" ret: "int" args: "const char *" "struct stat43 *" */
  138 #define SYS_compat_43_stat43    38
  139 
  140 /* syscall: "getppid" ret: "pid_t" args: */
  141 #define SYS_getppid     39
  142 
  143 /* syscall: "compat_43_lstat43" ret: "int" args: "const char *" "struct stat43 *" */
  144 #define SYS_compat_43_lstat43   40
  145 
  146 /* syscall: "dup" ret: "int" args: "int" */
  147 #define SYS_dup 41
  148 
  149 /* syscall: "pipe" ret: "int" args: */
  150 #define SYS_pipe        42
  151 
  152 /* syscall: "getegid" ret: "gid_t" args: */
  153 #define SYS_getegid     43
  154 
  155 /* syscall: "profil" ret: "int" args: "caddr_t" "size_t" "u_long" "u_int" */
  156 #define SYS_profil      44
  157 
  158 #if defined(KTRACE) || !defined(_KERNEL)
  159 /* syscall: "ktrace" ret: "int" args: "const char *" "int" "int" "int" */
  160 #define SYS_ktrace      45
  161 
  162 #else
  163                                 /* 45 is excluded ktrace */
  164 #endif
  165 /* syscall: "compat_13_sigaction13" ret: "int" args: "int" "const struct sigaction13 *" "struct sigaction13 *" */
  166 #define SYS_compat_13_sigaction13       46
  167 
  168 #ifdef COMPAT_43
  169 /* syscall: "getgid" ret: "gid_t" args: */
  170 #define SYS_getgid      47
  171 
  172 #else
  173 /* syscall: "getgid" ret: "gid_t" args: */
  174 #define SYS_getgid      47
  175 
  176 #endif
  177 /* syscall: "compat_13_sigprocmask13" ret: "int" args: "int" "int" */
  178 #define SYS_compat_13_sigprocmask13     48
  179 
  180 /* syscall: "__getlogin" ret: "int" args: "char *" "size_t" */
  181 #define SYS___getlogin  49
  182 
  183 /* syscall: "__setlogin" ret: "int" args: "const char *" */
  184 #define SYS___setlogin  50
  185 
  186 /* syscall: "acct" ret: "int" args: "const char *" */
  187 #define SYS_acct        51
  188 
  189 /* syscall: "compat_13_sigpending13" ret: "int" args: */
  190 #define SYS_compat_13_sigpending13      52
  191 
  192 /* syscall: "compat_13_sigaltstack13" ret: "int" args: "const struct sigaltstack13 *" "struct sigaltstack13 *" */
  193 #define SYS_compat_13_sigaltstack13     53
  194 
  195 /* syscall: "ioctl" ret: "int" args: "int" "u_long" "..." */
  196 #define SYS_ioctl       54
  197 
  198 /* syscall: "compat_12_oreboot" ret: "int" args: "int" */
  199 #define SYS_compat_12_oreboot   55
  200 
  201 /* syscall: "revoke" ret: "int" args: "const char *" */
  202 #define SYS_revoke      56
  203 
  204 /* syscall: "symlink" ret: "int" args: "const char *" "const char *" */
  205 #define SYS_symlink     57
  206 
  207 /* syscall: "readlink" ret: "ssize_t" args: "const char *" "char *" "size_t" */
  208 #define SYS_readlink    58
  209 
  210 /* syscall: "execve" ret: "int" args: "const char *" "char *const *" "char *const *" */
  211 #define SYS_execve      59
  212 
  213 /* syscall: "umask" ret: "mode_t" args: "mode_t" */
  214 #define SYS_umask       60
  215 
  216 /* syscall: "chroot" ret: "int" args: "const char *" */
  217 #define SYS_chroot      61
  218 
  219 /* syscall: "compat_43_fstat43" ret: "int" args: "int" "struct stat43 *" */
  220 #define SYS_compat_43_fstat43   62
  221 
  222 /* syscall: "compat_43_ogetkerninfo" ret: "int" args: "int" "char *" "int *" "int" */
  223 #define SYS_compat_43_ogetkerninfo      63
  224 
  225 /* syscall: "compat_43_ogetpagesize" ret: "int" args: */
  226 #define SYS_compat_43_ogetpagesize      64
  227 
  228 /* syscall: "compat_12_msync" ret: "int" args: "caddr_t" "size_t" */
  229 #define SYS_compat_12_msync     65
  230 
  231 /* syscall: "vfork" ret: "int" args: */
  232 #define SYS_vfork       66
  233 
  234                                 /* 67 is obsolete vread */
  235                                 /* 68 is obsolete vwrite */
  236 /* syscall: "sbrk" ret: "int" args: "intptr_t" */
  237 #define SYS_sbrk        69
  238 
  239 /* syscall: "sstk" ret: "int" args: "int" */
  240 #define SYS_sstk        70
  241 
  242 /* syscall: "compat_43_ommap" ret: "int" args: "caddr_t" "size_t" "int" "int" "int" "long" */
  243 #define SYS_compat_43_ommap     71
  244 
  245 /* syscall: "vadvise" ret: "int" args: "int" */
  246 #define SYS_vadvise     72
  247 
  248 /* syscall: "munmap" ret: "int" args: "void *" "size_t" */
  249 #define SYS_munmap      73
  250 
  251 /* syscall: "mprotect" ret: "int" args: "void *" "size_t" "int" */
  252 #define SYS_mprotect    74
  253 
  254 /* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */
  255 #define SYS_madvise     75
  256 
  257                                 /* 76 is obsolete vhangup */
  258                                 /* 77 is obsolete vlimit */
  259 /* syscall: "mincore" ret: "int" args: "void *" "size_t" "char *" */
  260 #define SYS_mincore     78
  261 
  262 /* syscall: "getgroups" ret: "int" args: "int" "gid_t *" */
  263 #define SYS_getgroups   79
  264 
  265 /* syscall: "setgroups" ret: "int" args: "int" "const gid_t *" */
  266 #define SYS_setgroups   80
  267 
  268 /* syscall: "getpgrp" ret: "int" args: */
  269 #define SYS_getpgrp     81
  270 
  271 /* syscall: "setpgid" ret: "int" args: "int" "int" */
  272 #define SYS_setpgid     82
  273 
  274 /* syscall: "setitimer" ret: "int" args: "int" "const struct itimerval *" "struct itimerval *" */
  275 #define SYS_setitimer   83
  276 
  277 /* syscall: "compat_43_owait" ret: "int" args: */
  278 #define SYS_compat_43_owait     84
  279 
  280 /* syscall: "compat_12_oswapon" ret: "int" args: "const char *" */
  281 #define SYS_compat_12_oswapon   85
  282 
  283 /* syscall: "getitimer" ret: "int" args: "int" "struct itimerval *" */
  284 #define SYS_getitimer   86
  285 
  286 /* syscall: "compat_43_ogethostname" ret: "int" args: "char *" "u_int" */
  287 #define SYS_compat_43_ogethostname      87
  288 
  289 /* syscall: "compat_43_osethostname" ret: "int" args: "char *" "u_int" */
  290 #define SYS_compat_43_osethostname      88
  291 
  292 /* syscall: "compat_43_ogetdtablesize" ret: "int" args: */
  293 #define SYS_compat_43_ogetdtablesize    89
  294 
  295 /* syscall: "dup2" ret: "int" args: "int" "int" */
  296 #define SYS_dup2        90
  297 
  298 /* syscall: "fcntl" ret: "int" args: "int" "int" "..." */
  299 #define SYS_fcntl       92
  300 
  301 /* syscall: "select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval *" */
  302 #define SYS_select      93
  303 
  304 /* syscall: "fsync" ret: "int" args: "int" */
  305 #define SYS_fsync       95
  306 
  307 /* syscall: "setpriority" ret: "int" args: "int" "id_t" "int" */
  308 #define SYS_setpriority 96
  309 
  310 /* syscall: "compat_30_socket" ret: "int" args: "int" "int" "int" */
  311 #define SYS_compat_30_socket    97
  312 
  313 /* syscall: "connect" ret: "int" args: "int" "const struct sockaddr *" "unsigned int" */
  314 #define SYS_connect     98
  315 
  316 /* syscall: "compat_43_oaccept" ret: "int" args: "int" "caddr_t" "int *" */
  317 #define SYS_compat_43_oaccept   99
  318 
  319 /* syscall: "getpriority" ret: "int" args: "int" "id_t" */
  320 #define SYS_getpriority 100
  321 
  322 /* syscall: "compat_43_osend" ret: "int" args: "int" "caddr_t" "int" "int" */
  323 #define SYS_compat_43_osend     101
  324 
  325 /* syscall: "compat_43_orecv" ret: "int" args: "int" "caddr_t" "int" "int" */
  326 #define SYS_compat_43_orecv     102
  327 
  328 /* syscall: "compat_13_sigreturn13" ret: "int" args: "struct sigcontext13 *" */
  329 #define SYS_compat_13_sigreturn13       103
  330 
  331 /* syscall: "bind" ret: "int" args: "int" "const struct sockaddr *" "unsigned int" */
  332 #define SYS_bind        104
  333 
  334 /* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "const void *" "unsigned int" */
  335 #define SYS_setsockopt  105
  336 
  337 /* syscall: "listen" ret: "int" args: "int" "int" */
  338 #define SYS_listen      106
  339 
  340                                 /* 107 is obsolete vtimes */
  341 /* syscall: "compat_43_osigvec" ret: "int" args: "int" "struct sigvec *" "struct sigvec *" */
  342 #define SYS_compat_43_osigvec   108
  343 
  344 /* syscall: "compat_43_osigblock" ret: "int" args: "int" */
  345 #define SYS_compat_43_osigblock 109
  346 
  347 /* syscall: "compat_43_osigsetmask" ret: "int" args: "int" */
  348 #define SYS_compat_43_osigsetmask       110
  349 
  350 /* syscall: "compat_13_sigsuspend13" ret: "int" args: "int" */
  351 #define SYS_compat_13_sigsuspend13      111
  352 
  353 /* syscall: "compat_43_osigstack" ret: "int" args: "struct sigstack *" "struct sigstack *" */
  354 #define SYS_compat_43_osigstack 112
  355 
  356 /* syscall: "compat_43_orecvmsg" ret: "int" args: "int" "struct omsghdr *" "int" */
  357 #define SYS_compat_43_orecvmsg  113
  358 
  359 /* syscall: "compat_43_osendmsg" ret: "int" args: "int" "caddr_t" "int" */
  360 #define SYS_compat_43_osendmsg  114
  361 
  362                                 /* 115 is obsolete vtrace */
  363 /* syscall: "gettimeofday" ret: "int" args: "struct timeval *" "void *" */
  364 #define SYS_gettimeofday        116
  365 
  366 /* syscall: "getrusage" ret: "int" args: "int" "struct rusage *" */
  367 #define SYS_getrusage   117
  368 
  369 /* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "void *" "unsigned int *" */
  370 #define SYS_getsockopt  118
  371 
  372                                 /* 119 is obsolete resuba */
  373 /* syscall: "readv" ret: "ssize_t" args: "int" "const struct iovec *" "int" */
  374 #define SYS_readv       120
  375 
  376 /* syscall: "writev" ret: "ssize_t" args: "int" "const struct iovec *" "int" */
  377 #define SYS_writev      121
  378 
  379 /* syscall: "settimeofday" ret: "int" args: "const struct timeval *" "const void *" */
  380 #define SYS_settimeofday        122
  381 
  382 /* syscall: "fchown" ret: "int" args: "int" "uid_t" "gid_t" */
  383 #define SYS_fchown      123
  384 
  385 /* syscall: "fchmod" ret: "int" args: "int" "mode_t" */
  386 #define SYS_fchmod      124
  387 
  388 /* syscall: "compat_43_orecvfrom" ret: "int" args: "int" "caddr_t" "size_t" "int" "caddr_t" "int *" */
  389 #define SYS_compat_43_orecvfrom 125
  390 
  391 /* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */
  392 #define SYS_setreuid    126
  393 
  394 /* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */
  395 #define SYS_setregid    127
  396 
  397 /* syscall: "rename" ret: "int" args: "const char *" "const char *" */
  398 #define SYS_rename      128
  399 
  400 /* syscall: "compat_43_otruncate" ret: "int" args: "const char *" "long" */
  401 #define SYS_compat_43_otruncate 129
  402 
  403 /* syscall: "compat_43_oftruncate" ret: "int" args: "int" "long" */
  404 #define SYS_compat_43_oftruncate        130
  405 
  406 /* syscall: "flock" ret: "int" args: "int" "int" */
  407 #define SYS_flock       131
  408 
  409 /* syscall: "mkfifo" ret: "int" args: "const char *" "mode_t" */
  410 #define SYS_mkfifo      132
  411 
  412 /* syscall: "sendto" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "const struct sockaddr *" "unsigned int" */
  413 #define SYS_sendto      133
  414 
  415 /* syscall: "shutdown" ret: "int" args: "int" "int" */
  416 #define SYS_shutdown    134
  417 
  418 /* syscall: "socketpair" ret: "int" args: "int" "int" "int" "int *" */
  419 #define SYS_socketpair  135
  420 
  421 /* syscall: "mkdir" ret: "int" args: "const char *" "mode_t" */
  422 #define SYS_mkdir       136
  423 
  424 /* syscall: "rmdir" ret: "int" args: "const char *" */
  425 #define SYS_rmdir       137
  426 
  427 /* syscall: "utimes" ret: "int" args: "const char *" "const struct timeval *" */
  428 #define SYS_utimes      138
  429 
  430                                 /* 139 is obsolete 4.2 sigreturn */
  431 /* syscall: "adjtime" ret: "int" args: "const struct timeval *" "struct timeval *" */
  432 #define SYS_adjtime     140
  433 
  434 /* syscall: "compat_43_ogetpeername" ret: "int" args: "int" "caddr_t" "int *" */
  435 #define SYS_compat_43_ogetpeername      141
  436 
  437 /* syscall: "compat_43_ogethostid" ret: "int32_t" args: */
  438 #define SYS_compat_43_ogethostid        142
  439 
  440 /* syscall: "compat_43_osethostid" ret: "int" args: "int32_t" */
  441 #define SYS_compat_43_osethostid        143
  442 
  443 /* syscall: "compat_43_ogetrlimit" ret: "int" args: "int" "struct orlimit *" */
  444 #define SYS_compat_43_ogetrlimit        144
  445 
  446 /* syscall: "compat_43_osetrlimit" ret: "int" args: "int" "const struct orlimit *" */
  447 #define SYS_compat_43_osetrlimit        145
  448 
  449 /* syscall: "compat_43_okillpg" ret: "int" args: "int" "int" */
  450 #define SYS_compat_43_okillpg   146
  451 
  452 /* syscall: "setsid" ret: "int" args: */
  453 #define SYS_setsid      147
  454 
  455 /* syscall: "quotactl" ret: "int" args: "const char *" "int" "int" "void *" */
  456 #define SYS_quotactl    148
  457 
  458 /* syscall: "compat_43_oquota" ret: "int" args: */
  459 #define SYS_compat_43_oquota    149
  460 
  461 /* syscall: "compat_43_ogetsockname" ret: "int" args: "int" "caddr_t" "int *" */
  462 #define SYS_compat_43_ogetsockname      150
  463 
  464 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
  465 /* syscall: "nfssvc" ret: "int" args: "int" "void *" */
  466 #define SYS_nfssvc      155
  467 
  468 #else
  469                                 /* 155 is excluded nfssvc */
  470 #endif
  471 /* syscall: "compat_43_ogetdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */
  472 #define SYS_compat_43_ogetdirentries    156
  473 
  474 /* syscall: "compat_20_statfs" ret: "int" args: "const char *" "struct statfs12 *" */
  475 #define SYS_compat_20_statfs    157
  476 
  477 /* syscall: "compat_20_fstatfs" ret: "int" args: "int" "struct statfs12 *" */
  478 #define SYS_compat_20_fstatfs   158
  479 
  480 /* syscall: "compat_30_getfh" ret: "int" args: "const char *" "struct compat_30_fhandle *" */
  481 #define SYS_compat_30_getfh     161
  482 
  483 /* syscall: "compat_09_ogetdomainname" ret: "int" args: "char *" "int" */
  484 #define SYS_compat_09_ogetdomainname    162
  485 
  486 /* syscall: "compat_09_osetdomainname" ret: "int" args: "char *" "int" */
  487 #define SYS_compat_09_osetdomainname    163
  488 
  489 /* syscall: "compat_09_ouname" ret: "int" args: "struct outsname *" */
  490 #define SYS_compat_09_ouname    164
  491 
  492 /* syscall: "sysarch" ret: "int" args: "int" "void *" */
  493 #define SYS_sysarch     165
  494 
  495 #if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(_LP64)
  496 /* syscall: "compat_10_osemsys" ret: "int" args: "int" "int" "int" "int" "int" */
  497 #define SYS_compat_10_osemsys   169
  498 
  499 #else
  500                                 /* 169 is excluded 1.0 semsys */
  501 #endif
  502 #if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(_LP64)
  503 /* syscall: "compat_10_omsgsys" ret: "int" args: "int" "int" "int" "int" "int" "int" */
  504 #define SYS_compat_10_omsgsys   170
  505 
  506 #else
  507                                 /* 170 is excluded 1.0 msgsys */
  508 #endif
  509 #if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(_LP64)
  510 /* syscall: "compat_10_oshmsys" ret: "int" args: "int" "int" "int" "int" */
  511 #define SYS_compat_10_oshmsys   171
  512 
  513 #else
  514                                 /* 171 is excluded 1.0 shmsys */
  515 #endif
  516 /* syscall: "pread" ret: "ssize_t" args: "int" "void *" "size_t" "int" "off_t" */
  517 #define SYS_pread       173
  518 
  519 /* syscall: "pwrite" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "off_t" */
  520 #define SYS_pwrite      174
  521 
  522 /* syscall: "compat_30_ntp_gettime" ret: "int" args: "struct ntptimeval30 *" */
  523 #define SYS_compat_30_ntp_gettime       175
  524 
  525 #if defined(NTP) || !defined(_KERNEL)
  526 /* syscall: "ntp_adjtime" ret: "int" args: "struct timex *" */
  527 #define SYS_ntp_adjtime 176
  528 
  529 #else
  530                                 /* 176 is excluded ntp_adjtime */
  531 #endif
  532 /* syscall: "setgid" ret: "int" args: "gid_t" */
  533 #define SYS_setgid      181
  534 
  535 /* syscall: "setegid" ret: "int" args: "gid_t" */
  536 #define SYS_setegid     182
  537 
  538 /* syscall: "seteuid" ret: "int" args: "uid_t" */
  539 #define SYS_seteuid     183
  540 
  541 #if defined(LFS) || !defined(_KERNEL)
  542 /* syscall: "lfs_bmapv" ret: "int" args: "fsid_t *" "struct block_info *" "int" */
  543 #define SYS_lfs_bmapv   184
  544 
  545 /* syscall: "lfs_markv" ret: "int" args: "fsid_t *" "struct block_info *" "int" */
  546 #define SYS_lfs_markv   185
  547 
  548 /* syscall: "lfs_segclean" ret: "int" args: "fsid_t *" "u_long" */
  549 #define SYS_lfs_segclean        186
  550 
  551 /* syscall: "lfs_segwait" ret: "int" args: "fsid_t *" "struct timeval *" */
  552 #define SYS_lfs_segwait 187
  553 
  554 #else
  555                                 /* 184 is excluded lfs_bmapv */
  556                                 /* 185 is excluded lfs_markv */
  557                                 /* 186 is excluded lfs_segclean */
  558                                 /* 187 is excluded lfs_segwait */
  559 #endif
  560 /* syscall: "compat_12_stat12" ret: "int" args: "const char *" "struct stat12 *" */
  561 #define SYS_compat_12_stat12    188
  562 
  563 /* syscall: "compat_12_fstat12" ret: "int" args: "int" "struct stat12 *" */
  564 #define SYS_compat_12_fstat12   189
  565 
  566 /* syscall: "compat_12_lstat12" ret: "int" args: "const char *" "struct stat12 *" */
  567 #define SYS_compat_12_lstat12   190
  568 
  569 /* syscall: "pathconf" ret: "long" args: "const char *" "int" */
  570 #define SYS_pathconf    191
  571 
  572 /* syscall: "fpathconf" ret: "long" args: "int" "int" */
  573 #define SYS_fpathconf   192
  574 
  575 /* syscall: "getrlimit" ret: "int" args: "int" "struct rlimit *" */
  576 #define SYS_getrlimit   194
  577 
  578 /* syscall: "setrlimit" ret: "int" args: "int" "const struct rlimit *" */
  579 #define SYS_setrlimit   195
  580 
  581 /* syscall: "compat_12_getdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */
  582 #define SYS_compat_12_getdirentries     196
  583 
  584 /* syscall: "mmap" ret: "void *" args: "void *" "size_t" "int" "int" "int" "long" "off_t" */
  585 #define SYS_mmap        197
  586 
  587 /* syscall: "__syscall" ret: "quad_t" args: "quad_t" "..." */
  588 #define SYS___syscall   198
  589 
  590 /* syscall: "lseek" ret: "off_t" args: "int" "int" "off_t" "int" */
  591 #define SYS_lseek       199
  592 
  593 /* syscall: "truncate" ret: "int" args: "const char *" "int" "off_t" */
  594 #define SYS_truncate    200
  595 
  596 /* syscall: "ftruncate" ret: "int" args: "int" "int" "off_t" */
  597 #define SYS_ftruncate   201
  598 
  599 /* syscall: "__sysctl" ret: "int" args: "const int *" "u_int" "void *" "size_t *" "const void *" "size_t" */
  600 #define SYS___sysctl    202
  601 
  602 /* syscall: "mlock" ret: "int" args: "const void *" "size_t" */
  603 #define SYS_mlock       203
  604 
  605 /* syscall: "munlock" ret: "int" args: "const void *" "size_t" */
  606 #define SYS_munlock     204
  607 
  608 /* syscall: "undelete" ret: "int" args: "const char *" */
  609 #define SYS_undelete    205
  610 
  611 /* syscall: "futimes" ret: "int" args: "int" "const struct timeval *" */
  612 #define SYS_futimes     206
  613 
  614 /* syscall: "getpgid" ret: "pid_t" args: "pid_t" */
  615 #define SYS_getpgid     207
  616 
  617 /* syscall: "reboot" ret: "int" args: "int" "char *" */
  618 #define SYS_reboot      208
  619 
  620 /* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
  621 #define SYS_poll        209
  622 
  623 #if defined(LKM) || !defined(_KERNEL)
  624 #else   /* !LKM */
  625                                 /* 210 is excluded lkmnosys */
  626                                 /* 211 is excluded lkmnosys */
  627                                 /* 212 is excluded lkmnosys */
  628                                 /* 213 is excluded lkmnosys */
  629                                 /* 214 is excluded lkmnosys */
  630                                 /* 215 is excluded lkmnosys */
  631                                 /* 216 is excluded lkmnosys */
  632                                 /* 217 is excluded lkmnosys */
  633                                 /* 218 is excluded lkmnosys */
  634                                 /* 219 is excluded lkmnosys */
  635 #endif  /* !LKM */
  636 #if defined(SYSVSEM) || !defined(_KERNEL)
  637 /* syscall: "compat_14___semctl" ret: "int" args: "int" "int" "int" "union __semun *" */
  638 #define SYS_compat_14___semctl  220
  639 
  640 /* syscall: "semget" ret: "int" args: "key_t" "int" "int" */
  641 #define SYS_semget      221
  642 
  643 /* syscall: "semop" ret: "int" args: "int" "struct sembuf *" "size_t" */
  644 #define SYS_semop       222
  645 
  646 /* syscall: "semconfig" ret: "int" args: "int" */
  647 #define SYS_semconfig   223
  648 
  649 #else
  650                                 /* 220 is excluded compat_14_semctl */
  651                                 /* 221 is excluded semget */
  652                                 /* 222 is excluded semop */
  653                                 /* 223 is excluded semconfig */
  654 #endif
  655 #if defined(SYSVMSG) || !defined(_KERNEL)
  656 /* syscall: "compat_14_msgctl" ret: "int" args: "int" "int" "struct msqid_ds14 *" */
  657 #define SYS_compat_14_msgctl    224
  658 
  659 /* syscall: "msgget" ret: "int" args: "key_t" "int" */
  660 #define SYS_msgget      225
  661 
  662 /* syscall: "msgsnd" ret: "int" args: "int" "const void *" "size_t" "int" */
  663 #define SYS_msgsnd      226
  664 
  665 /* syscall: "msgrcv" ret: "ssize_t" args: "int" "void *" "size_t" "long" "int" */
  666 #define SYS_msgrcv      227
  667 
  668 #else
  669                                 /* 224 is excluded compat_14_msgctl */
  670                                 /* 225 is excluded msgget */
  671                                 /* 226 is excluded msgsnd */
  672                                 /* 227 is excluded msgrcv */
  673 #endif
  674 #if defined(SYSVSHM) || !defined(_KERNEL)
  675 /* syscall: "shmat" ret: "void *" args: "int" "const void *" "int" */
  676 #define SYS_shmat       228
  677 
  678 /* syscall: "compat_14_shmctl" ret: "int" args: "int" "int" "struct shmid_ds14 *" */
  679 #define SYS_compat_14_shmctl    229
  680 
  681 /* syscall: "shmdt" ret: "int" args: "const void *" */
  682 #define SYS_shmdt       230
  683 
  684 /* syscall: "shmget" ret: "int" args: "key_t" "size_t" "int" */
  685 #define SYS_shmget      231
  686 
  687 #else
  688                                 /* 228 is excluded shmat */
  689                                 /* 229 is excluded compat_14_shmctl */
  690                                 /* 230 is excluded shmdt */
  691                                 /* 231 is excluded shmget */
  692 #endif
  693 /* syscall: "clock_gettime" ret: "int" args: "clockid_t" "struct timespec *" */
  694 #define SYS_clock_gettime       232
  695 
  696 /* syscall: "clock_settime" ret: "int" args: "clockid_t" "const struct timespec *" */
  697 #define SYS_clock_settime       233
  698 
  699 /* syscall: "clock_getres" ret: "int" args: "clockid_t" "struct timespec *" */
  700 #define SYS_clock_getres        234
  701 
  702 /* syscall: "timer_create" ret: "int" args: "clockid_t" "struct sigevent *" "timer_t *" */
  703 #define SYS_timer_create        235
  704 
  705 /* syscall: "timer_delete" ret: "int" args: "timer_t" */
  706 #define SYS_timer_delete        236
  707 
  708 /* syscall: "timer_settime" ret: "int" args: "timer_t" "int" "const struct itimerspec *" "struct itimerspec *" */
  709 #define SYS_timer_settime       237
  710 
  711 /* syscall: "timer_gettime" ret: "int" args: "timer_t" "struct itimerspec *" */
  712 #define SYS_timer_gettime       238
  713 
  714 /* syscall: "timer_getoverrun" ret: "int" args: "timer_t" */
  715 #define SYS_timer_getoverrun    239
  716 
  717 /* syscall: "nanosleep" ret: "int" args: "const struct timespec *" "struct timespec *" */
  718 #define SYS_nanosleep   240
  719 
  720 /* syscall: "fdatasync" ret: "int" args: "int" */
  721 #define SYS_fdatasync   241
  722 
  723 /* syscall: "mlockall" ret: "int" args: "int" */
  724 #define SYS_mlockall    242
  725 
  726 /* syscall: "munlockall" ret: "int" args: */
  727 #define SYS_munlockall  243
  728 
  729 /* syscall: "__sigtimedwait" ret: "int" args: "const sigset_t *" "siginfo_t *" "struct timespec *" */
  730 #define SYS___sigtimedwait      244
  731 
  732 #if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL) && defined(_LIBC))
  733 /* syscall: "_ksem_init" ret: "int" args: "unsigned int" "semid_t *" */
  734 #define SYS__ksem_init  247
  735 
  736 /* syscall: "_ksem_open" ret: "int" args: "const char *" "int" "mode_t" "unsigned int" "semid_t *" */
  737 #define SYS__ksem_open  248
  738 
  739 /* syscall: "_ksem_unlink" ret: "int" args: "const char *" */
  740 #define SYS__ksem_unlink        249
  741 
  742 /* syscall: "_ksem_close" ret: "int" args: "semid_t" */
  743 #define SYS__ksem_close 250
  744 
  745 /* syscall: "_ksem_post" ret: "int" args: "semid_t" */
  746 #define SYS__ksem_post  251
  747 
  748 /* syscall: "_ksem_wait" ret: "int" args: "semid_t" */
  749 #define SYS__ksem_wait  252
  750 
  751 /* syscall: "_ksem_trywait" ret: "int" args: "semid_t" */
  752 #define SYS__ksem_trywait       253
  753 
  754 /* syscall: "_ksem_getvalue" ret: "int" args: "semid_t" "unsigned int *" */
  755 #define SYS__ksem_getvalue      254
  756 
  757 /* syscall: "_ksem_destroy" ret: "int" args: "semid_t" */
  758 #define SYS__ksem_destroy       255
  759 
  760 #else
  761                                 /* 247 is excluded sys__ksem_init */
  762                                 /* 248 is excluded sys__ksem_open */
  763                                 /* 249 is excluded sys__ksem_unlink */
  764                                 /* 250 is excluded sys__ksem_close */
  765                                 /* 251 is excluded sys__ksem_post */
  766                                 /* 252 is excluded sys__ksem_wait */
  767                                 /* 253 is excluded sys__ksem_trywait */
  768                                 /* 254 is excluded sys__ksem_getvalue */
  769                                 /* 255 is excluded sys__ksem_destroy */
  770 #endif
  771 /* syscall: "__posix_rename" ret: "int" args: "const char *" "const char *" */
  772 #define SYS___posix_rename      270
  773 
  774 /* syscall: "swapctl" ret: "int" args: "int" "void *" "int" */
  775 #define SYS_swapctl     271
  776 
  777 /* syscall: "compat_30_getdents" ret: "int" args: "int" "char *" "size_t" */
  778 #define SYS_compat_30_getdents  272
  779 
  780 /* syscall: "minherit" ret: "int" args: "void *" "size_t" "int" */
  781 #define SYS_minherit    273
  782 
  783 /* syscall: "lchmod" ret: "int" args: "const char *" "mode_t" */
  784 #define SYS_lchmod      274
  785 
  786 /* syscall: "lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */
  787 #define SYS_lchown      275
  788 
  789 /* syscall: "lutimes" ret: "int" args: "const char *" "const struct timeval *" */
  790 #define SYS_lutimes     276
  791 
  792 /* syscall: "__msync13" ret: "int" args: "void *" "size_t" "int" */
  793 #define SYS___msync13   277
  794 
  795 /* syscall: "compat_30___stat13" ret: "int" args: "const char *" "struct stat13 *" */
  796 #define SYS_compat_30___stat13  278
  797 
  798 /* syscall: "compat_30___fstat13" ret: "int" args: "int" "struct stat13 *" */
  799 #define SYS_compat_30___fstat13 279
  800 
  801 /* syscall: "compat_30___lstat13" ret: "int" args: "const char *" "struct stat13 *" */
  802 #define SYS_compat_30___lstat13 280
  803 
  804 /* syscall: "__sigaltstack14" ret: "int" args: "const struct sigaltstack *" "struct sigaltstack *" */
  805 #define SYS___sigaltstack14     281
  806 
  807 /* syscall: "__vfork14" ret: "int" args: */
  808 #define SYS___vfork14   282
  809 
  810 /* syscall: "__posix_chown" ret: "int" args: "const char *" "uid_t" "gid_t" */
  811 #define SYS___posix_chown       283
  812 
  813 /* syscall: "__posix_fchown" ret: "int" args: "int" "uid_t" "gid_t" */
  814 #define SYS___posix_fchown      284
  815 
  816 /* syscall: "__posix_lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */
  817 #define SYS___posix_lchown      285
  818 
  819 /* syscall: "getsid" ret: "pid_t" args: "pid_t" */
  820 #define SYS_getsid      286
  821 
  822 /* syscall: "__clone" ret: "pid_t" args: "int" "void *" */
  823 #define SYS___clone     287
  824 
  825 #if defined(KTRACE) || !defined(_KERNEL)
  826 /* syscall: "fktrace" ret: "int" args: "const int" "int" "int" "int" */
  827 #define SYS_fktrace     288
  828 
  829 #else
  830                                 /* 288 is excluded ktrace */
  831 #endif
  832 /* syscall: "preadv" ret: "ssize_t" args: "int" "const struct iovec *" "int" "int" "off_t" */
  833 #define SYS_preadv      289
  834 
  835 /* syscall: "pwritev" ret: "ssize_t" args: "int" "const struct iovec *" "int" "int" "off_t" */
  836 #define SYS_pwritev     290
  837 
  838 /* syscall: "compat_16___sigaction14" ret: "int" args: "int" "const struct sigaction *" "struct sigaction *" */
  839 #define SYS_compat_16___sigaction14     291
  840 
  841 /* syscall: "__sigpending14" ret: "int" args: "sigset_t *" */
  842 #define SYS___sigpending14      292
  843 
  844 /* syscall: "__sigprocmask14" ret: "int" args: "int" "const sigset_t *" "sigset_t *" */
  845 #define SYS___sigprocmask14     293
  846 
  847 /* syscall: "__sigsuspend14" ret: "int" args: "const sigset_t *" */
  848 #define SYS___sigsuspend14      294
  849 
  850 /* syscall: "compat_16___sigreturn14" ret: "int" args: "struct sigcontext *" */
  851 #define SYS_compat_16___sigreturn14     295
  852 
  853 /* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */
  854 #define SYS___getcwd    296
  855 
  856 /* syscall: "fchroot" ret: "int" args: "int" */
  857 #define SYS_fchroot     297
  858 
  859 /* syscall: "compat_30_fhopen" ret: "int" args: "const struct compat_30_fhandle *" "int" */
  860 #define SYS_compat_30_fhopen    298
  861 
  862 /* syscall: "compat_30_fhstat" ret: "int" args: "const struct compat_30_fhandle *" "struct stat13 *" */
  863 #define SYS_compat_30_fhstat    299
  864 
  865 /* syscall: "compat_20_fhstatfs" ret: "int" args: "const struct compat_30_fhandle *" "struct statfs12 *" */
  866 #define SYS_compat_20_fhstatfs  300
  867 
  868 #if defined(SYSVSEM) || !defined(_KERNEL)
  869 /* syscall: "____semctl13" ret: "int" args: "int" "int" "int" "..." */
  870 #define SYS_____semctl13        301
  871 
  872 #else
  873                                 /* 301 is excluded ____semctl13 */
  874 #endif
  875 #if defined(SYSVMSG) || !defined(_KERNEL)
  876 /* syscall: "__msgctl13" ret: "int" args: "int" "int" "struct msqid_ds *" */
  877 #define SYS___msgctl13  302
  878 
  879 #else
  880                                 /* 302 is excluded __msgctl13 */
  881 #endif
  882 #if defined(SYSVSHM) || !defined(_KERNEL)
  883 /* syscall: "__shmctl13" ret: "int" args: "int" "int" "struct shmid_ds *" */
  884 #define SYS___shmctl13  303
  885 
  886 #else
  887                                 /* 303 is excluded __shmctl13 */
  888 #endif
  889 /* syscall: "lchflags" ret: "int" args: "const char *" "u_long" */
  890 #define SYS_lchflags    304
  891 
  892 /* syscall: "issetugid" ret: "int" args: */
  893 #define SYS_issetugid   305
  894 
  895 /* syscall: "utrace" ret: "int" args: "const char *" "void *" "size_t" */
  896 #define SYS_utrace      306
  897 
  898 /* syscall: "getcontext" ret: "int" args: "struct __ucontext *" */
  899 #define SYS_getcontext  307
  900 
  901 /* syscall: "setcontext" ret: "int" args: "const struct __ucontext *" */
  902 #define SYS_setcontext  308
  903 
  904 /* syscall: "_lwp_create" ret: "int" args: "const struct __ucontext *" "u_long" "lwpid_t *" */
  905 #define SYS__lwp_create 309
  906 
  907 /* syscall: "_lwp_exit" ret: "int" args: */
  908 #define SYS__lwp_exit   310
  909 
  910 /* syscall: "_lwp_self" ret: "lwpid_t" args: */
  911 #define SYS__lwp_self   311
  912 
  913 /* syscall: "_lwp_wait" ret: "int" args: "lwpid_t" "lwpid_t *" */
  914 #define SYS__lwp_wait   312
  915 
  916 /* syscall: "_lwp_suspend" ret: "int" args: "lwpid_t" */
  917 #define SYS__lwp_suspend        313
  918 
  919 /* syscall: "_lwp_continue" ret: "int" args: "lwpid_t" */
  920 #define SYS__lwp_continue       314
  921 
  922 /* syscall: "_lwp_wakeup" ret: "int" args: "lwpid_t" */
  923 #define SYS__lwp_wakeup 315
  924 
  925 /* syscall: "_lwp_getprivate" ret: "void *" args: */
  926 #define SYS__lwp_getprivate     316
  927 
  928 /* syscall: "_lwp_setprivate" ret: "void" args: "void *" */
  929 #define SYS__lwp_setprivate     317
  930 
  931 /* syscall: "sa_register" ret: "int" args: "sa_upcall_t" "sa_upcall_t *" "int" "ssize_t" */
  932 #define SYS_sa_register 330
  933 
  934 /* syscall: "sa_stacks" ret: "int" args: "int" "stack_t *" */
  935 #define SYS_sa_stacks   331
  936 
  937 /* syscall: "sa_enable" ret: "int" args: */
  938 #define SYS_sa_enable   332
  939 
  940 /* syscall: "sa_setconcurrency" ret: "int" args: "int" */
  941 #define SYS_sa_setconcurrency   333
  942 
  943 /* syscall: "sa_yield" ret: "int" args: */
  944 #define SYS_sa_yield    334
  945 
  946 /* syscall: "sa_preempt" ret: "int" args: "int" */
  947 #define SYS_sa_preempt  335
  948 
  949                                 /* 336 is obsolete sys_sa_unblockyield */
  950 /* syscall: "__sigaction_sigtramp" ret: "int" args: "int" "const struct sigaction *" "struct sigaction *" "const void *" "int" */
  951 #define SYS___sigaction_sigtramp        340
  952 
  953 /* syscall: "pmc_get_info" ret: "int" args: "int" "int" "void *" */
  954 #define SYS_pmc_get_info        341
  955 
  956 /* syscall: "pmc_control" ret: "int" args: "int" "int" "void *" */
  957 #define SYS_pmc_control 342
  958 
  959 /* syscall: "rasctl" ret: "int" args: "caddr_t" "size_t" "int" */
  960 #define SYS_rasctl      343
  961 
  962 /* syscall: "kqueue" ret: "int" args: */
  963 #define SYS_kqueue      344
  964 
  965 /* syscall: "kevent" ret: "int" args: "int" "const struct kevent *" "size_t" "struct kevent *" "size_t" "const struct timespec *" */
  966 #define SYS_kevent      345
  967 
  968 /* syscall: "fsync_range" ret: "int" args: "int" "int" "off_t" "off_t" */
  969 #define SYS_fsync_range 354
  970 
  971 /* syscall: "uuidgen" ret: "int" args: "struct uuid *" "int" */
  972 #define SYS_uuidgen     355
  973 
  974 /* syscall: "getvfsstat" ret: "int" args: "struct statvfs *" "size_t" "int" */
  975 #define SYS_getvfsstat  356
  976 
  977 /* syscall: "statvfs1" ret: "int" args: "const char *" "struct statvfs *" "int" */
  978 #define SYS_statvfs1    357
  979 
  980 /* syscall: "fstatvfs1" ret: "int" args: "int" "struct statvfs *" "int" */
  981 #define SYS_fstatvfs1   358
  982 
  983 /* syscall: "compat_30_fhstatvfs1" ret: "int" args: "const struct compat_30_fhandle *" "struct statvfs *" "int" */
  984 #define SYS_compat_30_fhstatvfs1        359
  985 
  986 /* syscall: "extattrctl" ret: "int" args: "const char *" "int" "const char *" "int" "const char *" */
  987 #define SYS_extattrctl  360
  988 
  989 /* syscall: "extattr_set_file" ret: "int" args: "const char *" "int" "const char *" "const void *" "size_t" */
  990 #define SYS_extattr_set_file    361
  991 
  992 /* syscall: "extattr_get_file" ret: "ssize_t" args: "const char *" "int" "const char *" "void *" "size_t" */
  993 #define SYS_extattr_get_file    362
  994 
  995 /* syscall: "extattr_delete_file" ret: "int" args: "const char *" "int" "const char *" */
  996 #define SYS_extattr_delete_file 363
  997 
  998 /* syscall: "extattr_set_fd" ret: "int" args: "int" "int" "const char *" "const void *" "size_t" */
  999 #define SYS_extattr_set_fd      364
 1000 
 1001 /* syscall: "extattr_get_fd" ret: "ssize_t" args: "int" "int" "const char *" "void *" "size_t" */
 1002 #define SYS_extattr_get_fd      365
 1003 
 1004 /* syscall: "extattr_delete_fd" ret: "int" args: "int" "int" "const char *" */
 1005 #define SYS_extattr_delete_fd   366
 1006 
 1007 /* syscall: "extattr_set_link" ret: "int" args: "const char *" "int" "const char *" "const void *" "size_t" */
 1008 #define SYS_extattr_set_link    367
 1009 
 1010 /* syscall: "extattr_get_link" ret: "ssize_t" args: "const char *" "int" "const char *" "void *" "size_t" */
 1011 #define SYS_extattr_get_link    368
 1012 
 1013 /* syscall: "extattr_delete_link" ret: "int" args: "const char *" "int" "const char *" */
 1014 #define SYS_extattr_delete_link 369
 1015 
 1016 /* syscall: "extattr_list_fd" ret: "ssize_t" args: "int" "int" "void *" "size_t" */
 1017 #define SYS_extattr_list_fd     370
 1018 
 1019 /* syscall: "extattr_list_file" ret: "ssize_t" args: "const char *" "int" "void *" "size_t" */
 1020 #define SYS_extattr_list_file   371
 1021 
 1022 /* syscall: "extattr_list_link" ret: "ssize_t" args: "const char *" "int" "void *" "size_t" */
 1023 #define SYS_extattr_list_link   372
 1024 
 1025 /* syscall: "pselect" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "const struct timespec *" "const sigset_t *" */
 1026 #define SYS_pselect     373
 1027 
 1028 /* syscall: "pollts" ret: "int" args: "struct pollfd *" "u_int" "const struct timespec *" "const sigset_t *" */
 1029 #define SYS_pollts      374
 1030 
 1031 /* syscall: "setxattr" ret: "int" args: "const char *" "const char *" "void *" "size_t" "int" */
 1032 #define SYS_setxattr    375
 1033 
 1034 /* syscall: "lsetxattr" ret: "int" args: "const char *" "const char *" "void *" "size_t" "int" */
 1035 #define SYS_lsetxattr   376
 1036 
 1037 /* syscall: "fsetxattr" ret: "int" args: "int" "const char *" "void *" "size_t" "int" */
 1038 #define SYS_fsetxattr   377
 1039 
 1040 /* syscall: "getxattr" ret: "int" args: "const char *" "const char *" "void *" "size_t" */
 1041 #define SYS_getxattr    378
 1042 
 1043 /* syscall: "lgetxattr" ret: "int" args: "const char *" "const char *" "void *" "size_t" */
 1044 #define SYS_lgetxattr   379
 1045 
 1046 /* syscall: "fgetxattr" ret: "int" args: "int" "const char *" "void *" "size_t" */
 1047 #define SYS_fgetxattr   380
 1048 
 1049 /* syscall: "listxattr" ret: "int" args: "const char *" "char *" "size_t" */
 1050 #define SYS_listxattr   381
 1051 
 1052 /* syscall: "llistxattr" ret: "int" args: "const char *" "char *" "size_t" */
 1053 #define SYS_llistxattr  382
 1054 
 1055 /* syscall: "flistxattr" ret: "int" args: "int" "char *" "size_t" */
 1056 #define SYS_flistxattr  383
 1057 
 1058 /* syscall: "removexattr" ret: "int" args: "const char *" "const char *" */
 1059 #define SYS_removexattr 384
 1060 
 1061 /* syscall: "lremovexattr" ret: "int" args: "const char *" "const char *" */
 1062 #define SYS_lremovexattr        385
 1063 
 1064 /* syscall: "fremovexattr" ret: "int" args: "int" "const char *" */
 1065 #define SYS_fremovexattr        386
 1066 
 1067 /* syscall: "__stat30" ret: "int" args: "const char *" "struct stat *" */
 1068 #define SYS___stat30    387
 1069 
 1070 /* syscall: "__fstat30" ret: "int" args: "int" "struct stat *" */
 1071 #define SYS___fstat30   388
 1072 
 1073 /* syscall: "__lstat30" ret: "int" args: "const char *" "struct stat *" */
 1074 #define SYS___lstat30   389
 1075 
 1076 /* syscall: "__getdents30" ret: "int" args: "int" "char *" "size_t" */
 1077 #define SYS___getdents30        390
 1078 
 1079 /* syscall: "posix_fadvise" ret: "int" args: "int" "off_t" "off_t" "int" */
 1080 #define SYS_posix_fadvise       391
 1081 
 1082 /* syscall: "compat_30___fhstat30" ret: "int" args: "const struct compat_30_fhandle *" "struct stat *" */
 1083 #define SYS_compat_30___fhstat30        392
 1084 
 1085 /* syscall: "__ntp_gettime30" ret: "int" args: "struct ntptimeval *" */
 1086 #define SYS___ntp_gettime30     393
 1087 
 1088 /* syscall: "__socket30" ret: "int" args: "int" "int" "int" */
 1089 #define SYS___socket30  394
 1090 
 1091 /* syscall: "__getfh30" ret: "int" args: "const char *" "void *" "size_t *" */
 1092 #define SYS___getfh30   395
 1093 
 1094 /* syscall: "__fhopen40" ret: "int" args: "const void *" "size_t" "int" */
 1095 #define SYS___fhopen40  396
 1096 
 1097 /* syscall: "__fhstatvfs140" ret: "int" args: "const void *" "size_t" "struct statvfs *" "int" */
 1098 #define SYS___fhstatvfs140      397
 1099 
 1100 /* syscall: "__fhstat40" ret: "int" args: "const void *" "size_t" "struct stat *" */
 1101 #define SYS___fhstat40  398
 1102 
 1103 #define SYS_MAXSYSCALL  399
 1104 #define SYS_NSYSENT     512
 1105 #endif /* _SYS_SYSCALL_H_ */

Cache object: 52d8d5262730c489c997d07261b00222


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