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/osf1/osf1_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: osf1_syscall.h,v 1.56 2007/12/20 23:10:50 dsl 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.45 2007/03/04 06:01:28 christos Exp
    8  */
    9 
   10 #ifndef _OSF1_SYS_SYSCALL_H_
   11 #define _OSF1_SYS_SYSCALL_H_
   12 
   13 #define OSF1_SYS_MAXSYSARGS     8
   14 
   15 /* syscall: "syscall" ret: "int" args: */
   16 #define OSF1_SYS_syscall        0
   17 
   18 /* syscall: "exit" ret: "int" args: "int" */
   19 #define OSF1_SYS_exit   1
   20 
   21 /* syscall: "fork" ret: "int" args: */
   22 #define OSF1_SYS_fork   2
   23 
   24 /* syscall: "read" ret: "int" args: "int" "char *" "u_int" */
   25 #define OSF1_SYS_read   3
   26 
   27 /* syscall: "write" ret: "int" args: "int" "const char *" "u_int" */
   28 #define OSF1_SYS_write  4
   29 
   30 /* syscall: "close" ret: "int" args: "int" */
   31 #define OSF1_SYS_close  6
   32 
   33 /* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct osf1_rusage *" */
   34 #define OSF1_SYS_wait4  7
   35 
   36 /* syscall: "link" ret: "int" args: "const char *" "const char *" */
   37 #define OSF1_SYS_link   9
   38 
   39 /* syscall: "unlink" ret: "int" args: "const char *" */
   40 #define OSF1_SYS_unlink 10
   41 
   42 /* syscall: "chdir" ret: "int" args: "const char *" */
   43 #define OSF1_SYS_chdir  12
   44 
   45 /* syscall: "fchdir" ret: "int" args: "int" */
   46 #define OSF1_SYS_fchdir 13
   47 
   48 /* syscall: "mknod" ret: "int" args: "const char *" "int" "int" */
   49 #define OSF1_SYS_mknod  14
   50 
   51 /* syscall: "chmod" ret: "int" args: "const char *" "int" */
   52 #define OSF1_SYS_chmod  15
   53 
   54 /* syscall: "__posix_chown" ret: "int" args: "const char *" "int" "int" */
   55 #define OSF1_SYS___posix_chown  16
   56 
   57 /* syscall: "obreak" ret: "int" args: "char *" */
   58 #define OSF1_SYS_obreak 17
   59 
   60 /* syscall: "getfsstat" ret: "int" args: "struct osf1_statfs *" "long" "int" */
   61 #define OSF1_SYS_getfsstat      18
   62 
   63 /* syscall: "lseek" ret: "off_t" args: "int" "off_t" "int" */
   64 #define OSF1_SYS_lseek  19
   65 
   66 /* syscall: "getpid_with_ppid" ret: "pid_t" args: */
   67 #define OSF1_SYS_getpid_with_ppid       20
   68 
   69 /* syscall: "mount" ret: "int" args: "int" "const char *" "int" "void *" */
   70 #define OSF1_SYS_mount  21
   71 
   72 /* syscall: "unmount" ret: "int" args: "const char *" "int" */
   73 #define OSF1_SYS_unmount        22
   74 
   75 /* syscall: "setuid" ret: "int" args: "uid_t" */
   76 #define OSF1_SYS_setuid 23
   77 
   78 /* syscall: "getuid_with_euid" ret: "uid_t" args: */
   79 #define OSF1_SYS_getuid_with_euid       24
   80 
   81 /* syscall: "recvmsg_xopen" ret: "int" args: "int" "struct osf1_msghdr_xopen *" "int" */
   82 #define OSF1_SYS_recvmsg_xopen  27
   83 
   84 /* syscall: "sendmsg_xopen" ret: "int" args: "int" "const struct osf1_msghdr_xopen *" "int" */
   85 #define OSF1_SYS_sendmsg_xopen  28
   86 
   87 /* syscall: "access" ret: "int" args: "const char *" "int" */
   88 #define OSF1_SYS_access 33
   89 
   90 /* syscall: "sync" ret: "int" args: */
   91 #define OSF1_SYS_sync   36
   92 
   93 /* syscall: "kill" ret: "int" args: "int" "int" */
   94 #define OSF1_SYS_kill   37
   95 
   96 /* syscall: "setpgid" ret: "int" args: "int" "int" */
   97 #define OSF1_SYS_setpgid        39
   98 
   99 /* syscall: "dup" ret: "int" args: "u_int" */
  100 #define OSF1_SYS_dup    41
  101 
  102 /* syscall: "pipe" ret: "int" args: */
  103 #define OSF1_SYS_pipe   42
  104 
  105 /* syscall: "set_program_attributes" ret: "int" args: "void *" "unsigned long" "void *" "unsigned long" */
  106 #define OSF1_SYS_set_program_attributes 43
  107 
  108 /* syscall: "open" ret: "int" args: "const char *" "int" "int" */
  109 #define OSF1_SYS_open   45
  110 
  111                                 /* 46 is obsolete sigaction */
  112 /* syscall: "getgid_with_egid" ret: "gid_t" args: */
  113 #define OSF1_SYS_getgid_with_egid       47
  114 
  115 /* syscall: "sigprocmask" ret: "int" args: "int" "sigset13_t" */
  116 #define OSF1_SYS_sigprocmask    48
  117 
  118 /* syscall: "__getlogin" ret: "int" args: "char *" "u_int" */
  119 #define OSF1_SYS___getlogin     49
  120 
  121 /* syscall: "__setlogin" ret: "int" args: "const char *" */
  122 #define OSF1_SYS___setlogin     50
  123 
  124 /* syscall: "acct" ret: "int" args: "const char *" */
  125 #define OSF1_SYS_acct   51
  126 
  127 /* syscall: "classcntl" ret: "int" args: "int" "int" "int" "int" */
  128 #define OSF1_SYS_classcntl      53
  129 
  130 /* syscall: "ioctl" ret: "int" args: "int" "int" "void *" */
  131 #define OSF1_SYS_ioctl  54
  132 
  133 /* syscall: "reboot" ret: "int" args: "int" */
  134 #define OSF1_SYS_reboot 55
  135 
  136 /* syscall: "revoke" ret: "int" args: "const char *" */
  137 #define OSF1_SYS_revoke 56
  138 
  139 /* syscall: "symlink" ret: "int" args: "const char *" "const char *" */
  140 #define OSF1_SYS_symlink        57
  141 
  142 /* syscall: "readlink" ret: "int" args: "const char *" "char *" "int" */
  143 #define OSF1_SYS_readlink       58
  144 
  145 /* syscall: "execve" ret: "int" args: "const char *" "char *const *" "char *const *" */
  146 #define OSF1_SYS_execve 59
  147 
  148 /* syscall: "umask" ret: "int" args: "int" */
  149 #define OSF1_SYS_umask  60
  150 
  151 /* syscall: "chroot" ret: "int" args: "const char *" */
  152 #define OSF1_SYS_chroot 61
  153 
  154 /* syscall: "getpgrp" ret: "int" args: */
  155 #define OSF1_SYS_getpgrp        63
  156 
  157 /* syscall: "getpagesize" ret: "int" args: */
  158 #define OSF1_SYS_getpagesize    64
  159 
  160 /* syscall: "vfork" ret: "int" args: */
  161 #define OSF1_SYS_vfork  66
  162 
  163 /* syscall: "stat" ret: "int" args: "const char *" "struct osf1_stat *" */
  164 #define OSF1_SYS_stat   67
  165 
  166 /* syscall: "lstat" ret: "int" args: "const char *" "struct osf1_stat *" */
  167 #define OSF1_SYS_lstat  68
  168 
  169 /* syscall: "mmap" ret: "void *" args: "void *" "size_t" "int" "int" "int" "off_t" */
  170 #define OSF1_SYS_mmap   71
  171 
  172 /* syscall: "munmap" ret: "int" args: "void *" "size_t" */
  173 #define OSF1_SYS_munmap 73
  174 
  175 /* syscall: "mprotect" ret: "int" args: "void *" "size_t" "int" */
  176 #define OSF1_SYS_mprotect       74
  177 
  178 /* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */
  179 #define OSF1_SYS_madvise        75
  180 
  181 /* syscall: "getgroups" ret: "int" args: "u_int" "gid_t *" */
  182 #define OSF1_SYS_getgroups      79
  183 
  184 /* syscall: "setgroups" ret: "int" args: "u_int" "gid_t *" */
  185 #define OSF1_SYS_setgroups      80
  186 
  187 /* syscall: "setpgrp" ret: "int" args: "int" "int" */
  188 #define OSF1_SYS_setpgrp        82
  189 
  190 /* syscall: "setitimer" ret: "int" args: "u_int" "struct osf1_itimerval *" "struct osf1_itimerval *" */
  191 #define OSF1_SYS_setitimer      83
  192 
  193 /* syscall: "getitimer" ret: "int" args: "u_int" "struct osf1_itimerval *" */
  194 #define OSF1_SYS_getitimer      86
  195 
  196 /* syscall: "gethostname" ret: "int" args: "char *" "u_int" */
  197 #define OSF1_SYS_gethostname    87
  198 
  199 /* syscall: "sethostname" ret: "int" args: "const char *" "u_int" */
  200 #define OSF1_SYS_sethostname    88
  201 
  202 /* syscall: "getdtablesize" ret: "int" args: */
  203 #define OSF1_SYS_getdtablesize  89
  204 
  205 /* syscall: "dup2" ret: "int" args: "u_int" "u_int" */
  206 #define OSF1_SYS_dup2   90
  207 
  208 /* syscall: "fstat" ret: "int" args: "int" "void *" */
  209 #define OSF1_SYS_fstat  91
  210 
  211 /* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */
  212 #define OSF1_SYS_fcntl  92
  213 
  214 /* syscall: "select" ret: "int" args: "u_int" "fd_set *" "fd_set *" "fd_set *" "struct osf1_timeval *" */
  215 #define OSF1_SYS_select 93
  216 
  217 /* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
  218 #define OSF1_SYS_poll   94
  219 
  220 /* syscall: "fsync" ret: "int" args: "int" */
  221 #define OSF1_SYS_fsync  95
  222 
  223 /* syscall: "setpriority" ret: "int" args: "int" "int" "int" */
  224 #define OSF1_SYS_setpriority    96
  225 
  226 /* syscall: "socket" ret: "int" args: "int" "int" "int" */
  227 #define OSF1_SYS_socket 97
  228 
  229 /* syscall: "connect" ret: "int" args: "int" "void *" "int" */
  230 #define OSF1_SYS_connect        98
  231 
  232 /* syscall: "accept" ret: "int" args: "int" "void *" "int *" */
  233 #define OSF1_SYS_accept 99
  234 
  235 /* syscall: "getpriority" ret: "int" args: "int" "int" */
  236 #define OSF1_SYS_getpriority    100
  237 
  238 /* syscall: "send" ret: "int" args: "int" "void *" "int" "int" */
  239 #define OSF1_SYS_send   101
  240 
  241 /* syscall: "recv" ret: "int" args: "int" "void *" "int" "int" */
  242 #define OSF1_SYS_recv   102
  243 
  244 /* syscall: "sigreturn" ret: "int" args: "struct sigcontext13 *" */
  245 #define OSF1_SYS_sigreturn      103
  246 
  247 /* syscall: "bind" ret: "int" args: "int" "void *" "int" */
  248 #define OSF1_SYS_bind   104
  249 
  250 /* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "void *" "int" */
  251 #define OSF1_SYS_setsockopt     105
  252 
  253 /* syscall: "listen" ret: "int" args: "int" "int" */
  254 #define OSF1_SYS_listen 106
  255 
  256 /* syscall: "sigsuspend" ret: "int" args: "int" */
  257 #define OSF1_SYS_sigsuspend     111
  258 
  259 /* syscall: "sigstack" ret: "int" args: "struct sigstack *" "struct sigstack *" */
  260 #define OSF1_SYS_sigstack       112
  261 
  262                                 /* 115 is obsolete vtrace */
  263 /* syscall: "gettimeofday" ret: "int" args: "struct osf1_timeval *" "struct osf1_timezone *" */
  264 #define OSF1_SYS_gettimeofday   116
  265 
  266 /* syscall: "getrusage" ret: "int" args: "int" "struct osf1_rusage *" */
  267 #define OSF1_SYS_getrusage      117
  268 
  269 /* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "void *" "int *" */
  270 #define OSF1_SYS_getsockopt     118
  271 
  272 /* syscall: "readv" ret: "int" args: "int" "struct osf1_iovec *" "u_int" */
  273 #define OSF1_SYS_readv  120
  274 
  275 /* syscall: "writev" ret: "int" args: "int" "struct osf1_iovec *" "u_int" */
  276 #define OSF1_SYS_writev 121
  277 
  278 /* syscall: "settimeofday" ret: "int" args: "struct osf1_timeval *" "struct osf1_timezone *" */
  279 #define OSF1_SYS_settimeofday   122
  280 
  281 /* syscall: "__posix_fchown" ret: "int" args: "int" "int" "int" */
  282 #define OSF1_SYS___posix_fchown 123
  283 
  284 /* syscall: "fchmod" ret: "int" args: "int" "int" */
  285 #define OSF1_SYS_fchmod 124
  286 
  287 /* syscall: "recvfrom" ret: "int" args: "int" "void *" "size_t" "int" "void *" "int *" */
  288 #define OSF1_SYS_recvfrom       125
  289 
  290 /* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */
  291 #define OSF1_SYS_setreuid       126
  292 
  293 /* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */
  294 #define OSF1_SYS_setregid       127
  295 
  296 /* syscall: "__posix_rename" ret: "int" args: "const char *" "const char *" */
  297 #define OSF1_SYS___posix_rename 128
  298 
  299 /* syscall: "truncate" ret: "int" args: "const char *" "off_t" */
  300 #define OSF1_SYS_truncate       129
  301 
  302 /* syscall: "ftruncate" ret: "int" args: "int" "off_t" */
  303 #define OSF1_SYS_ftruncate      130
  304 
  305 /* syscall: "flock" ret: "int" args: "int" "int" */
  306 #define OSF1_SYS_flock  131
  307 
  308 /* syscall: "setgid" ret: "int" args: "gid_t" */
  309 #define OSF1_SYS_setgid 132
  310 
  311 /* syscall: "sendto" ret: "int" args: "int" "void *" "size_t" "int" "struct sockaddr *" "int" */
  312 #define OSF1_SYS_sendto 133
  313 
  314 /* syscall: "shutdown" ret: "int" args: "int" "int" */
  315 #define OSF1_SYS_shutdown       134
  316 
  317 /* syscall: "socketpair" ret: "int" args: "int" "int" "int" "int *" */
  318 #define OSF1_SYS_socketpair     135
  319 
  320 /* syscall: "mkdir" ret: "int" args: "const char *" "int" */
  321 #define OSF1_SYS_mkdir  136
  322 
  323 /* syscall: "rmdir" ret: "int" args: "const char *" */
  324 #define OSF1_SYS_rmdir  137
  325 
  326 /* syscall: "utimes" ret: "int" args: "const char *" "const struct osf1_timeval *" */
  327 #define OSF1_SYS_utimes 138
  328 
  329                                 /* 139 is obsolete 4.2 sigreturn */
  330 /* syscall: "getpeername" ret: "int" args: "int" "void *" "int *" */
  331 #define OSF1_SYS_getpeername    141
  332 
  333 /* syscall: "gethostid" ret: "int32_t" args: */
  334 #define OSF1_SYS_gethostid      142
  335 
  336 /* syscall: "sethostid" ret: "int" args: "int32_t" */
  337 #define OSF1_SYS_sethostid      143
  338 
  339 /* syscall: "getrlimit" ret: "int" args: "u_int" "struct rlimit *" */
  340 #define OSF1_SYS_getrlimit      144
  341 
  342 /* syscall: "setrlimit" ret: "int" args: "u_int" "struct rlimit *" */
  343 #define OSF1_SYS_setrlimit      145
  344 
  345 /* syscall: "setsid" ret: "int" args: */
  346 #define OSF1_SYS_setsid 147
  347 
  348 /* syscall: "quota" ret: "int" args: */
  349 #define OSF1_SYS_quota  149
  350 
  351 /* syscall: "getsockname" ret: "int" args: "int" "void *" "int *" */
  352 #define OSF1_SYS_getsockname    150
  353 
  354 /* syscall: "sigaction" ret: "int" args: "int" "struct osf1_sigaction *" "struct osf1_sigaction *" */
  355 #define OSF1_SYS_sigaction      156
  356 
  357 /* syscall: "getdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */
  358 #define OSF1_SYS_getdirentries  159
  359 
  360 /* syscall: "statfs" ret: "int" args: "const char *" "struct osf1_statfs *" "int" */
  361 #define OSF1_SYS_statfs 160
  362 
  363 /* syscall: "fstatfs" ret: "int" args: "int" "struct osf1_statfs *" "int" */
  364 #define OSF1_SYS_fstatfs        161
  365 
  366 /* syscall: "getdomainname" ret: "int" args: "char *" "int" */
  367 #define OSF1_SYS_getdomainname  165
  368 
  369 /* syscall: "setdomainname" ret: "int" args: "char *" "int" */
  370 #define OSF1_SYS_setdomainname  166
  371 
  372 /* syscall: "uname" ret: "int" args: "struct osf1_uname *" */
  373 #define OSF1_SYS_uname  207
  374 
  375 /* syscall: "__posix_lchown" ret: "int" args: "const char *" "int" "int" */
  376 #define OSF1_SYS___posix_lchown 208
  377 
  378 /* syscall: "shmat" ret: "void *" args: "int" "const void *" "int" */
  379 #define OSF1_SYS_shmat  209
  380 
  381 /* syscall: "shmctl" ret: "int" args: "int" "int" "struct osf1_shmid_ds *" */
  382 #define OSF1_SYS_shmctl 210
  383 
  384 /* syscall: "shmdt" ret: "int" args: "const void *" */
  385 #define OSF1_SYS_shmdt  211
  386 
  387 /* syscall: "shmget" ret: "int" args: "osf1_key_t" "size_t" "int" */
  388 #define OSF1_SYS_shmget 212
  389 
  390 /* syscall: "stat2" ret: "int" args: "const char *" "struct osf1_stat2 *" */
  391 #define OSF1_SYS_stat2  224
  392 
  393 /* syscall: "lstat2" ret: "int" args: "const char *" "struct osf1_stat2 *" */
  394 #define OSF1_SYS_lstat2 225
  395 
  396 /* syscall: "fstat2" ret: "int" args: "int" "struct osf1_stat2 *" */
  397 #define OSF1_SYS_fstat2 226
  398 
  399 /* syscall: "getsid" ret: "pid_t" args: "pid_t" */
  400 #define OSF1_SYS_getsid 234
  401 
  402 /* syscall: "sigaltstack" ret: "int" args: "struct osf1_sigaltstack *" "struct osf1_sigaltstack *" */
  403 #define OSF1_SYS_sigaltstack    235
  404 
  405 /* syscall: "sysinfo" ret: "int" args: "int" "char *" "long" */
  406 #define OSF1_SYS_sysinfo        241
  407 
  408 /* syscall: "pathconf" ret: "long" args: "const char *" "int" */
  409 #define OSF1_SYS_pathconf       247
  410 
  411 /* syscall: "fpathconf" ret: "long" args: "int" "int" */
  412 #define OSF1_SYS_fpathconf      248
  413 
  414 /* syscall: "usleep_thread" ret: "int" args: "struct osf1_timeval *" "struct osf1_timeval *" */
  415 #define OSF1_SYS_usleep_thread  251
  416 
  417 /* syscall: "getsysinfo" ret: "int" args: "u_long" "void *" "u_long" "void *" "u_long" */
  418 #define OSF1_SYS_getsysinfo     256
  419 
  420 /* syscall: "setsysinfo" ret: "int" args: "u_long" "void *" "u_long" "void *" "u_long" */
  421 #define OSF1_SYS_setsysinfo     257
  422 
  423 #define OSF1_SYS_MAXSYSCALL     267
  424 #define OSF1_SYS_NSYSENT        512
  425 #endif /* _OSF1_SYS_SYSCALL_H_ */

Cache object: 23aaceeadab0c134b791149801acb709


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