Home | History | Annotate | Line # | Download | only in freebsd
freebsd_syscall.h revision 1.88.2.1
      1  1.88.2.1  pgoyette /* $NetBSD: freebsd_syscall.h,v 1.88.2.1 2018/09/06 06:55:45 pgoyette Exp $ */
      2      1.17   thorpej 
      3       1.1   mycroft /*
      4       1.1   mycroft  * System call numbers.
      5       1.1   mycroft  *
      6       1.1   mycroft  * DO NOT EDIT-- this file is automatically generated.
      7  1.88.2.1  pgoyette  * created from	NetBSD: syscalls.master,v 1.72 2018/01/06 16:41:23 kamil Exp
      8       1.1   mycroft  */
      9       1.1   mycroft 
     10      1.62  christos #ifndef _FREEBSD_SYS_SYSCALL_H_
     11      1.62  christos #define	_FREEBSD_SYS_SYSCALL_H_
     12      1.62  christos 
     13      1.69       dsl #define	FREEBSD_SYS_MAXSYSARGS	8
     14      1.69       dsl 
     15       1.6   thorpej /* syscall: "syscall" ret: "int" args: */
     16       1.1   mycroft #define	FREEBSD_SYS_syscall	0
     17       1.6   thorpej 
     18       1.6   thorpej /* syscall: "exit" ret: "int" args: "int" */
     19       1.1   mycroft #define	FREEBSD_SYS_exit	1
     20       1.6   thorpej 
     21       1.6   thorpej /* syscall: "fork" ret: "int" args: */
     22       1.1   mycroft #define	FREEBSD_SYS_fork	2
     23       1.6   thorpej 
     24       1.6   thorpej /* syscall: "read" ret: "int" args: "int" "char *" "u_int" */
     25       1.1   mycroft #define	FREEBSD_SYS_read	3
     26       1.6   thorpej 
     27       1.6   thorpej /* syscall: "write" ret: "int" args: "int" "char *" "u_int" */
     28       1.1   mycroft #define	FREEBSD_SYS_write	4
     29       1.6   thorpej 
     30      1.28  christos /* syscall: "open" ret: "int" args: "const char *" "int" "int" */
     31       1.1   mycroft #define	FREEBSD_SYS_open	5
     32       1.6   thorpej 
     33       1.6   thorpej /* syscall: "close" ret: "int" args: "int" */
     34       1.1   mycroft #define	FREEBSD_SYS_close	6
     35       1.6   thorpej 
     36      1.72  christos /* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage50 *" */
     37       1.1   mycroft #define	FREEBSD_SYS_wait4	7
     38       1.6   thorpej 
     39      1.28  christos /* syscall: "ocreat" ret: "int" args: "const char *" "int" */
     40       1.1   mycroft #define	FREEBSD_SYS_ocreat	8
     41       1.6   thorpej 
     42      1.28  christos /* syscall: "link" ret: "int" args: "const char *" "const char *" */
     43       1.1   mycroft #define	FREEBSD_SYS_link	9
     44       1.6   thorpej 
     45      1.28  christos /* syscall: "unlink" ret: "int" args: "const char *" */
     46       1.1   mycroft #define	FREEBSD_SYS_unlink	10
     47       1.6   thorpej 
     48       1.1   mycroft 				/* 11 is obsolete execv */
     49      1.28  christos /* syscall: "chdir" ret: "int" args: "const char *" */
     50       1.1   mycroft #define	FREEBSD_SYS_chdir	12
     51       1.6   thorpej 
     52       1.6   thorpej /* syscall: "fchdir" ret: "int" args: "int" */
     53       1.1   mycroft #define	FREEBSD_SYS_fchdir	13
     54       1.6   thorpej 
     55      1.28  christos /* syscall: "mknod" ret: "int" args: "const char *" "int" "int" */
     56       1.1   mycroft #define	FREEBSD_SYS_mknod	14
     57       1.6   thorpej 
     58      1.28  christos /* syscall: "chmod" ret: "int" args: "const char *" "int" */
     59       1.1   mycroft #define	FREEBSD_SYS_chmod	15
     60       1.6   thorpej 
     61      1.28  christos /* syscall: "chown" ret: "int" args: "const char *" "int" "int" */
     62       1.1   mycroft #define	FREEBSD_SYS_chown	16
     63       1.6   thorpej 
     64       1.6   thorpej /* syscall: "break" ret: "int" args: "char *" */
     65       1.1   mycroft #define	FREEBSD_SYS_break	17
     66       1.6   thorpej 
     67      1.54  christos /* syscall: "getfsstat" ret: "int" args: "struct statfs12 *" "long" "int" */
     68       1.1   mycroft #define	FREEBSD_SYS_getfsstat	18
     69       1.6   thorpej 
     70       1.6   thorpej /* syscall: "olseek" ret: "long" args: "int" "long" "int" */
     71       1.1   mycroft #define	FREEBSD_SYS_olseek	19
     72       1.6   thorpej 
     73      1.40   mycroft /* syscall: "getpid_with_ppid" ret: "pid_t" args: */
     74      1.40   mycroft #define	FREEBSD_SYS_getpid_with_ppid	20
     75       1.6   thorpej 
     76      1.67  christos /* syscall: "mount" ret: "int" args: "int" "const char *" "int" "void *" */
     77       1.1   mycroft #define	FREEBSD_SYS_mount	21
     78       1.6   thorpej 
     79      1.28  christos /* syscall: "unmount" ret: "int" args: "const char *" "int" */
     80       1.1   mycroft #define	FREEBSD_SYS_unmount	22
     81       1.6   thorpej 
     82       1.6   thorpej /* syscall: "setuid" ret: "int" args: "uid_t" */
     83       1.1   mycroft #define	FREEBSD_SYS_setuid	23
     84       1.6   thorpej 
     85      1.40   mycroft /* syscall: "getuid_with_euid" ret: "uid_t" args: */
     86      1.40   mycroft #define	FREEBSD_SYS_getuid_with_euid	24
     87       1.6   thorpej 
     88       1.6   thorpej /* syscall: "geteuid" ret: "uid_t" args: */
     89       1.1   mycroft #define	FREEBSD_SYS_geteuid	25
     90       1.6   thorpej 
     91      1.67  christos /* syscall: "ptrace" ret: "int" args: "int" "pid_t" "void *" "int" */
     92       1.1   mycroft #define	FREEBSD_SYS_ptrace	26
     93       1.6   thorpej 
     94       1.6   thorpej /* syscall: "recvmsg" ret: "int" args: "int" "struct msghdr *" "int" */
     95       1.1   mycroft #define	FREEBSD_SYS_recvmsg	27
     96       1.6   thorpej 
     97      1.67  christos /* syscall: "sendmsg" ret: "int" args: "int" "void *" "int" */
     98       1.1   mycroft #define	FREEBSD_SYS_sendmsg	28
     99       1.6   thorpej 
    100      1.67  christos /* syscall: "recvfrom" ret: "int" args: "int" "void *" "size_t" "int" "void *" "int *" */
    101       1.1   mycroft #define	FREEBSD_SYS_recvfrom	29
    102       1.6   thorpej 
    103      1.67  christos /* syscall: "accept" ret: "int" args: "int" "void *" "int *" */
    104       1.1   mycroft #define	FREEBSD_SYS_accept	30
    105       1.6   thorpej 
    106      1.67  christos /* syscall: "getpeername" ret: "int" args: "int" "void *" "int *" */
    107       1.1   mycroft #define	FREEBSD_SYS_getpeername	31
    108       1.6   thorpej 
    109      1.67  christos /* syscall: "getsockname" ret: "int" args: "int" "void *" "int *" */
    110       1.1   mycroft #define	FREEBSD_SYS_getsockname	32
    111       1.6   thorpej 
    112      1.28  christos /* syscall: "access" ret: "int" args: "const char *" "int" */
    113       1.1   mycroft #define	FREEBSD_SYS_access	33
    114       1.6   thorpej 
    115      1.28  christos /* syscall: "chflags" ret: "int" args: "const char *" "int" */
    116       1.1   mycroft #define	FREEBSD_SYS_chflags	34
    117       1.6   thorpej 
    118       1.6   thorpej /* syscall: "fchflags" ret: "int" args: "int" "int" */
    119       1.1   mycroft #define	FREEBSD_SYS_fchflags	35
    120       1.6   thorpej 
    121       1.6   thorpej /* syscall: "sync" ret: "int" args: */
    122       1.1   mycroft #define	FREEBSD_SYS_sync	36
    123       1.6   thorpej 
    124       1.6   thorpej /* syscall: "kill" ret: "int" args: "int" "int" */
    125       1.1   mycroft #define	FREEBSD_SYS_kill	37
    126       1.6   thorpej 
    127      1.28  christos /* syscall: "stat43" ret: "int" args: "const char *" "struct stat43 *" */
    128      1.12  christos #define	FREEBSD_SYS_stat43	38
    129       1.6   thorpej 
    130       1.6   thorpej /* syscall: "getppid" ret: "pid_t" args: */
    131       1.1   mycroft #define	FREEBSD_SYS_getppid	39
    132       1.6   thorpej 
    133      1.28  christos /* syscall: "lstat43" ret: "int" args: "const char *" "struct stat43 *" */
    134      1.12  christos #define	FREEBSD_SYS_lstat43	40
    135       1.6   thorpej 
    136      1.79     njoly /* syscall: "dup" ret: "int" args: "int" */
    137       1.1   mycroft #define	FREEBSD_SYS_dup	41
    138       1.6   thorpej 
    139       1.6   thorpej /* syscall: "pipe" ret: "int" args: */
    140       1.1   mycroft #define	FREEBSD_SYS_pipe	42
    141       1.6   thorpej 
    142       1.6   thorpej /* syscall: "getegid" ret: "gid_t" args: */
    143       1.1   mycroft #define	FREEBSD_SYS_getegid	43
    144       1.6   thorpej 
    145      1.67  christos /* syscall: "profil" ret: "int" args: "void *" "u_int" "u_int" "u_int" */
    146       1.1   mycroft #define	FREEBSD_SYS_profil	44
    147       1.6   thorpej 
    148      1.51     pooka #ifdef KTRACE
    149       1.6   thorpej /* syscall: "ktrace" ret: "int" args: "char *" "int" "int" "int" */
    150       1.1   mycroft #define	FREEBSD_SYS_ktrace	45
    151       1.6   thorpej 
    152      1.51     pooka #else
    153      1.41  jdolecek 				/* 45 is excluded ktrace */
    154      1.51     pooka #endif
    155      1.25   mycroft /* syscall: "sigaction" ret: "int" args: "int" "const struct sigaction13 *" "struct sigaction13 *" */
    156       1.1   mycroft #define	FREEBSD_SYS_sigaction	46
    157       1.6   thorpej 
    158      1.40   mycroft /* syscall: "getgid_with_egid" ret: "gid_t" args: */
    159      1.40   mycroft #define	FREEBSD_SYS_getgid_with_egid	47
    160       1.6   thorpej 
    161      1.25   mycroft /* syscall: "sigprocmask" ret: "int" args: "int" "int" */
    162       1.1   mycroft #define	FREEBSD_SYS_sigprocmask	48
    163       1.6   thorpej 
    164       1.6   thorpej /* syscall: "__getlogin" ret: "int" args: "char *" "u_int" */
    165       1.5  christos #define	FREEBSD_SYS___getlogin	49
    166       1.6   thorpej 
    167      1.49   thorpej /* syscall: "__setlogin" ret: "int" args: "char *" */
    168      1.49   thorpej #define	FREEBSD_SYS___setlogin	50
    169       1.6   thorpej 
    170       1.6   thorpej /* syscall: "acct" ret: "int" args: "char *" */
    171       1.1   mycroft #define	FREEBSD_SYS_acct	51
    172       1.6   thorpej 
    173       1.6   thorpej /* syscall: "sigpending" ret: "int" args: */
    174       1.1   mycroft #define	FREEBSD_SYS_sigpending	52
    175       1.6   thorpej 
    176      1.14     veego /* syscall: "sigaltstack" ret: "int" args: "const struct sigaltstack13 *" "struct sigaltstack13 *" */
    177       1.1   mycroft #define	FREEBSD_SYS_sigaltstack	53
    178       1.6   thorpej 
    179      1.67  christos /* syscall: "ioctl" ret: "int" args: "int" "u_long" "void *" */
    180       1.1   mycroft #define	FREEBSD_SYS_ioctl	54
    181       1.6   thorpej 
    182      1.28  christos /* syscall: "oreboot" ret: "int" args: "int" */
    183      1.28  christos #define	FREEBSD_SYS_oreboot	55
    184       1.6   thorpej 
    185      1.28  christos /* syscall: "revoke" ret: "int" args: "const char *" */
    186       1.1   mycroft #define	FREEBSD_SYS_revoke	56
    187       1.6   thorpej 
    188      1.28  christos /* syscall: "symlink" ret: "int" args: "const char *" "const char *" */
    189       1.1   mycroft #define	FREEBSD_SYS_symlink	57
    190       1.6   thorpej 
    191      1.28  christos /* syscall: "readlink" ret: "int" args: "const char *" "char *" "int" */
    192       1.1   mycroft #define	FREEBSD_SYS_readlink	58
    193       1.6   thorpej 
    194      1.28  christos /* syscall: "execve" ret: "int" args: "const char *" "char **" "char **" */
    195       1.1   mycroft #define	FREEBSD_SYS_execve	59
    196       1.6   thorpej 
    197       1.6   thorpej /* syscall: "umask" ret: "int" args: "int" */
    198       1.1   mycroft #define	FREEBSD_SYS_umask	60
    199       1.6   thorpej 
    200      1.28  christos /* syscall: "chroot" ret: "int" args: "const char *" */
    201       1.1   mycroft #define	FREEBSD_SYS_chroot	61
    202       1.6   thorpej 
    203      1.12  christos /* syscall: "fstat43" ret: "int" args: "int" "struct stat43 *" */
    204      1.12  christos #define	FREEBSD_SYS_fstat43	62
    205       1.6   thorpej 
    206       1.6   thorpej /* syscall: "ogetkerninfo" ret: "int" args: "int" "char *" "int *" "int" */
    207       1.1   mycroft #define	FREEBSD_SYS_ogetkerninfo	63
    208       1.6   thorpej 
    209       1.6   thorpej /* syscall: "ogetpagesize" ret: "int" args: */
    210       1.1   mycroft #define	FREEBSD_SYS_ogetpagesize	64
    211       1.6   thorpej 
    212      1.67  christos /* syscall: "msync" ret: "int" args: "void *" "size_t" "int" */
    213       1.1   mycroft #define	FREEBSD_SYS_msync	65
    214       1.6   thorpej 
    215       1.6   thorpej /* syscall: "vfork" ret: "int" args: */
    216       1.1   mycroft #define	FREEBSD_SYS_vfork	66
    217       1.6   thorpej 
    218       1.1   mycroft 				/* 67 is obsolete vread */
    219       1.1   mycroft 				/* 68 is obsolete vwrite */
    220      1.86     kamil 				/* 69 is obsolete sbrk */
    221      1.85     kamil 				/* 70 is obsolete sstk */
    222      1.67  christos /* syscall: "ommap" ret: "int" args: "void *" "size_t" "int" "int" "int" "long" */
    223       1.1   mycroft #define	FREEBSD_SYS_ommap	71
    224       1.6   thorpej 
    225      1.88     kamil /* syscall: "vadvise" ret: "int" args: "int" */
    226      1.88     kamil #define	FREEBSD_SYS_vadvise	72
    227      1.88     kamil 
    228      1.67  christos /* syscall: "munmap" ret: "int" args: "void *" "size_t" */
    229       1.1   mycroft #define	FREEBSD_SYS_munmap	73
    230       1.6   thorpej 
    231      1.67  christos /* syscall: "mprotect" ret: "int" args: "void *" "size_t" "int" */
    232       1.1   mycroft #define	FREEBSD_SYS_mprotect	74
    233       1.6   thorpej 
    234      1.67  christos /* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */
    235       1.1   mycroft #define	FREEBSD_SYS_madvise	75
    236       1.6   thorpej 
    237       1.1   mycroft 				/* 76 is obsolete vhangup */
    238       1.1   mycroft 				/* 77 is obsolete vlimit */
    239      1.67  christos /* syscall: "mincore" ret: "int" args: "void *" "size_t" "char *" */
    240       1.1   mycroft #define	FREEBSD_SYS_mincore	78
    241       1.6   thorpej 
    242       1.6   thorpej /* syscall: "getgroups" ret: "int" args: "u_int" "gid_t *" */
    243       1.1   mycroft #define	FREEBSD_SYS_getgroups	79
    244       1.6   thorpej 
    245       1.6   thorpej /* syscall: "setgroups" ret: "int" args: "u_int" "gid_t *" */
    246       1.1   mycroft #define	FREEBSD_SYS_setgroups	80
    247       1.6   thorpej 
    248       1.6   thorpej /* syscall: "getpgrp" ret: "int" args: */
    249       1.1   mycroft #define	FREEBSD_SYS_getpgrp	81
    250       1.6   thorpej 
    251       1.6   thorpej /* syscall: "setpgid" ret: "int" args: "int" "int" */
    252       1.1   mycroft #define	FREEBSD_SYS_setpgid	82
    253       1.6   thorpej 
    254      1.72  christos /* syscall: "setitimer" ret: "int" args: "u_int" "struct itimerval50 *" "struct itimerval50 *" */
    255       1.1   mycroft #define	FREEBSD_SYS_setitimer	83
    256       1.6   thorpej 
    257       1.6   thorpej /* syscall: "owait" ret: "int" args: */
    258       1.1   mycroft #define	FREEBSD_SYS_owait	84
    259       1.6   thorpej 
    260       1.6   thorpej /* syscall: "swapon" ret: "int" args: "char *" */
    261       1.1   mycroft #define	FREEBSD_SYS_swapon	85
    262       1.6   thorpej 
    263      1.72  christos /* syscall: "getitimer" ret: "int" args: "u_int" "struct itimerval50 *" */
    264       1.1   mycroft #define	FREEBSD_SYS_getitimer	86
    265       1.6   thorpej 
    266       1.6   thorpej /* syscall: "ogethostname" ret: "int" args: "char *" "u_int" */
    267       1.1   mycroft #define	FREEBSD_SYS_ogethostname	87
    268       1.6   thorpej 
    269       1.6   thorpej /* syscall: "osethostname" ret: "int" args: "char *" "u_int" */
    270       1.1   mycroft #define	FREEBSD_SYS_osethostname	88
    271       1.6   thorpej 
    272       1.6   thorpej /* syscall: "ogetdtablesize" ret: "int" args: */
    273       1.1   mycroft #define	FREEBSD_SYS_ogetdtablesize	89
    274       1.6   thorpej 
    275      1.79     njoly /* syscall: "dup2" ret: "int" args: "int" "int" */
    276       1.1   mycroft #define	FREEBSD_SYS_dup2	90
    277       1.6   thorpej 
    278       1.6   thorpej /* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */
    279       1.1   mycroft #define	FREEBSD_SYS_fcntl	92
    280       1.6   thorpej 
    281      1.72  christos /* syscall: "select" ret: "int" args: "u_int" "fd_set *" "fd_set *" "fd_set *" "struct timeval50 *" */
    282       1.1   mycroft #define	FREEBSD_SYS_select	93
    283       1.6   thorpej 
    284       1.6   thorpej /* syscall: "fsync" ret: "int" args: "int" */
    285       1.1   mycroft #define	FREEBSD_SYS_fsync	95
    286       1.6   thorpej 
    287       1.6   thorpej /* syscall: "setpriority" ret: "int" args: "int" "int" "int" */
    288       1.1   mycroft #define	FREEBSD_SYS_setpriority	96
    289       1.6   thorpej 
    290       1.6   thorpej /* syscall: "socket" ret: "int" args: "int" "int" "int" */
    291       1.1   mycroft #define	FREEBSD_SYS_socket	97
    292       1.6   thorpej 
    293      1.67  christos /* syscall: "connect" ret: "int" args: "int" "void *" "int" */
    294       1.1   mycroft #define	FREEBSD_SYS_connect	98
    295       1.6   thorpej 
    296      1.67  christos /* syscall: "oaccept" ret: "int" args: "int" "void *" "int *" */
    297       1.1   mycroft #define	FREEBSD_SYS_oaccept	99
    298       1.6   thorpej 
    299       1.6   thorpej /* syscall: "getpriority" ret: "int" args: "int" "int" */
    300       1.1   mycroft #define	FREEBSD_SYS_getpriority	100
    301       1.6   thorpej 
    302      1.67  christos /* syscall: "osend" ret: "int" args: "int" "void *" "int" "int" */
    303       1.1   mycroft #define	FREEBSD_SYS_osend	101
    304       1.6   thorpej 
    305      1.67  christos /* syscall: "orecv" ret: "int" args: "int" "void *" "int" "int" */
    306       1.1   mycroft #define	FREEBSD_SYS_orecv	102
    307       1.6   thorpej 
    308       1.6   thorpej /* syscall: "sigreturn" ret: "int" args: "struct freebsd_sigcontext *" */
    309       1.1   mycroft #define	FREEBSD_SYS_sigreturn	103
    310       1.6   thorpej 
    311      1.67  christos /* syscall: "bind" ret: "int" args: "int" "void *" "int" */
    312       1.1   mycroft #define	FREEBSD_SYS_bind	104
    313       1.6   thorpej 
    314      1.67  christos /* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "void *" "int" */
    315       1.1   mycroft #define	FREEBSD_SYS_setsockopt	105
    316       1.6   thorpej 
    317       1.6   thorpej /* syscall: "listen" ret: "int" args: "int" "int" */
    318       1.1   mycroft #define	FREEBSD_SYS_listen	106
    319       1.6   thorpej 
    320       1.1   mycroft 				/* 107 is obsolete vtimes */
    321       1.6   thorpej /* syscall: "osigvec" ret: "int" args: "int" "struct sigvec *" "struct sigvec *" */
    322       1.1   mycroft #define	FREEBSD_SYS_osigvec	108
    323       1.6   thorpej 
    324       1.6   thorpej /* syscall: "osigblock" ret: "int" args: "int" */
    325       1.1   mycroft #define	FREEBSD_SYS_osigblock	109
    326       1.6   thorpej 
    327       1.6   thorpej /* syscall: "osigsetmask" ret: "int" args: "int" */
    328       1.1   mycroft #define	FREEBSD_SYS_osigsetmask	110
    329       1.6   thorpej 
    330       1.6   thorpej /* syscall: "sigsuspend" ret: "int" args: "int" */
    331       1.1   mycroft #define	FREEBSD_SYS_sigsuspend	111
    332       1.6   thorpej 
    333       1.6   thorpej /* syscall: "osigstack" ret: "int" args: "struct sigstack *" "struct sigstack *" */
    334       1.1   mycroft #define	FREEBSD_SYS_osigstack	112
    335       1.6   thorpej 
    336       1.6   thorpej /* syscall: "orecvmsg" ret: "int" args: "int" "struct omsghdr *" "int" */
    337       1.1   mycroft #define	FREEBSD_SYS_orecvmsg	113
    338       1.6   thorpej 
    339      1.67  christos /* syscall: "osendmsg" ret: "int" args: "int" "void *" "int" */
    340       1.1   mycroft #define	FREEBSD_SYS_osendmsg	114
    341       1.6   thorpej 
    342      1.51     pooka #ifdef TRACE
    343       1.6   thorpej /* syscall: "vtrace" ret: "int" args: "int" "int" */
    344       1.1   mycroft #define	FREEBSD_SYS_vtrace	115
    345       1.6   thorpej 
    346      1.51     pooka #else
    347       1.1   mycroft 				/* 115 is obsolete vtrace */
    348      1.51     pooka #endif
    349      1.72  christos /* syscall: "gettimeofday" ret: "int" args: "struct timeval50 *" "struct timezone *" */
    350       1.1   mycroft #define	FREEBSD_SYS_gettimeofday	116
    351       1.6   thorpej 
    352      1.72  christos /* syscall: "getrusage" ret: "int" args: "int" "struct rusage50 *" */
    353       1.1   mycroft #define	FREEBSD_SYS_getrusage	117
    354       1.6   thorpej 
    355      1.67  christos /* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "void *" "int *" */
    356       1.1   mycroft #define	FREEBSD_SYS_getsockopt	118
    357       1.6   thorpej 
    358       1.1   mycroft 				/* 119 is obsolete resuba */
    359       1.6   thorpej /* syscall: "readv" ret: "int" args: "int" "struct iovec *" "u_int" */
    360       1.1   mycroft #define	FREEBSD_SYS_readv	120
    361       1.6   thorpej 
    362       1.6   thorpej /* syscall: "writev" ret: "int" args: "int" "struct iovec *" "u_int" */
    363       1.1   mycroft #define	FREEBSD_SYS_writev	121
    364       1.6   thorpej 
    365      1.72  christos /* syscall: "settimeofday" ret: "int" args: "struct timeval50 *" "struct timezone50 *" */
    366       1.1   mycroft #define	FREEBSD_SYS_settimeofday	122
    367       1.6   thorpej 
    368       1.6   thorpej /* syscall: "fchown" ret: "int" args: "int" "int" "int" */
    369       1.1   mycroft #define	FREEBSD_SYS_fchown	123
    370       1.6   thorpej 
    371       1.6   thorpej /* syscall: "fchmod" ret: "int" args: "int" "int" */
    372       1.1   mycroft #define	FREEBSD_SYS_fchmod	124
    373       1.6   thorpej 
    374      1.67  christos /* syscall: "orecvfrom" ret: "int" args: "int" "void *" "size_t" "int" "void *" "int *" */
    375       1.1   mycroft #define	FREEBSD_SYS_orecvfrom	125
    376       1.6   thorpej 
    377       1.6   thorpej /* syscall: "setreuid" ret: "int" args: "int" "int" */
    378       1.4   mycroft #define	FREEBSD_SYS_setreuid	126
    379       1.6   thorpej 
    380       1.6   thorpej /* syscall: "setregid" ret: "int" args: "int" "int" */
    381       1.4   mycroft #define	FREEBSD_SYS_setregid	127
    382       1.6   thorpej 
    383      1.28  christos /* syscall: "rename" ret: "int" args: "const char *" "const char *" */
    384       1.1   mycroft #define	FREEBSD_SYS_rename	128
    385       1.6   thorpej 
    386      1.28  christos /* syscall: "otruncate" ret: "int" args: "const char *" "long" */
    387       1.1   mycroft #define	FREEBSD_SYS_otruncate	129
    388       1.6   thorpej 
    389       1.6   thorpej /* syscall: "oftruncate" ret: "int" args: "int" "long" */
    390       1.2   mycroft #define	FREEBSD_SYS_oftruncate	130
    391       1.6   thorpej 
    392       1.6   thorpej /* syscall: "flock" ret: "int" args: "int" "int" */
    393       1.2   mycroft #define	FREEBSD_SYS_flock	131
    394       1.6   thorpej 
    395      1.28  christos /* syscall: "mkfifo" ret: "int" args: "const char *" "int" */
    396       1.1   mycroft #define	FREEBSD_SYS_mkfifo	132
    397       1.6   thorpej 
    398      1.67  christos /* syscall: "sendto" ret: "int" args: "int" "void *" "size_t" "int" "void *" "int" */
    399       1.1   mycroft #define	FREEBSD_SYS_sendto	133
    400       1.6   thorpej 
    401       1.6   thorpej /* syscall: "shutdown" ret: "int" args: "int" "int" */
    402       1.1   mycroft #define	FREEBSD_SYS_shutdown	134
    403       1.6   thorpej 
    404       1.6   thorpej /* syscall: "socketpair" ret: "int" args: "int" "int" "int" "int *" */
    405       1.1   mycroft #define	FREEBSD_SYS_socketpair	135
    406       1.6   thorpej 
    407      1.28  christos /* syscall: "mkdir" ret: "int" args: "const char *" "int" */
    408       1.1   mycroft #define	FREEBSD_SYS_mkdir	136
    409       1.6   thorpej 
    410      1.28  christos /* syscall: "rmdir" ret: "int" args: "const char *" */
    411       1.1   mycroft #define	FREEBSD_SYS_rmdir	137
    412       1.6   thorpej 
    413      1.72  christos /* syscall: "utimes" ret: "int" args: "char *" "struct timeval50 *" */
    414       1.1   mycroft #define	FREEBSD_SYS_utimes	138
    415       1.6   thorpej 
    416       1.1   mycroft 				/* 139 is obsolete 4.2 sigreturn */
    417      1.72  christos /* syscall: "adjtime" ret: "int" args: "struct timeval50 *" "struct timeval50 *" */
    418       1.1   mycroft #define	FREEBSD_SYS_adjtime	140
    419       1.6   thorpej 
    420      1.67  christos /* syscall: "ogetpeername" ret: "int" args: "int" "void *" "int *" */
    421       1.1   mycroft #define	FREEBSD_SYS_ogetpeername	141
    422       1.6   thorpej 
    423       1.6   thorpej /* syscall: "ogethostid" ret: "int32_t" args: */
    424       1.1   mycroft #define	FREEBSD_SYS_ogethostid	142
    425       1.6   thorpej 
    426       1.6   thorpej /* syscall: "osethostid" ret: "int" args: "int32_t" */
    427       1.1   mycroft #define	FREEBSD_SYS_osethostid	143
    428       1.6   thorpej 
    429      1.11   mycroft /* syscall: "ogetrlimit" ret: "int" args: "u_int" "struct orlimit *" */
    430       1.1   mycroft #define	FREEBSD_SYS_ogetrlimit	144
    431       1.6   thorpej 
    432      1.11   mycroft /* syscall: "osetrlimit" ret: "int" args: "u_int" "struct orlimit *" */
    433       1.1   mycroft #define	FREEBSD_SYS_osetrlimit	145
    434       1.6   thorpej 
    435       1.6   thorpej /* syscall: "okillpg" ret: "int" args: "int" "int" */
    436       1.1   mycroft #define	FREEBSD_SYS_okillpg	146
    437       1.6   thorpej 
    438       1.6   thorpej /* syscall: "setsid" ret: "int" args: */
    439       1.1   mycroft #define	FREEBSD_SYS_setsid	147
    440       1.6   thorpej 
    441      1.67  christos /* syscall: "quotactl" ret: "int" args: "char *" "int" "int" "void *" */
    442       1.1   mycroft #define	FREEBSD_SYS_quotactl	148
    443       1.6   thorpej 
    444       1.6   thorpej /* syscall: "oquota" ret: "int" args: */
    445       1.1   mycroft #define	FREEBSD_SYS_oquota	149
    446       1.6   thorpej 
    447      1.67  christos /* syscall: "ogetsockname" ret: "int" args: "int" "void *" "int *" */
    448       1.1   mycroft #define	FREEBSD_SYS_ogetsockname	150
    449       1.6   thorpej 
    450       1.6   thorpej /* syscall: "ogetdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */
    451       1.1   mycroft #define	FREEBSD_SYS_ogetdirentries	156
    452       1.6   thorpej 
    453      1.54  christos /* syscall: "statfs" ret: "int" args: "const char *" "struct statfs12 *" */
    454       1.1   mycroft #define	FREEBSD_SYS_statfs	157
    455       1.6   thorpej 
    456      1.54  christos /* syscall: "fstatfs" ret: "int" args: "int" "struct statfs12 *" */
    457       1.1   mycroft #define	FREEBSD_SYS_fstatfs	158
    458       1.6   thorpej 
    459      1.64    martin /* syscall: "getfh" ret: "int" args: "const char *" "struct compat_30_fhandle *" */
    460       1.1   mycroft #define	FREEBSD_SYS_getfh	161
    461       1.6   thorpej 
    462       1.6   thorpej /* syscall: "getdomainname" ret: "int" args: "char *" "int" */
    463       1.1   mycroft #define	FREEBSD_SYS_getdomainname	162
    464       1.6   thorpej 
    465       1.6   thorpej /* syscall: "setdomainname" ret: "int" args: "char *" "int" */
    466       1.1   mycroft #define	FREEBSD_SYS_setdomainname	163
    467       1.6   thorpej 
    468       1.6   thorpej /* syscall: "uname" ret: "int" args: "struct outsname *" */
    469       1.1   mycroft #define	FREEBSD_SYS_uname	164
    470       1.6   thorpej 
    471       1.6   thorpej /* syscall: "sysarch" ret: "int" args: "int" "char *" */
    472       1.1   mycroft #define	FREEBSD_SYS_sysarch	165
    473       1.6   thorpej 
    474       1.6   thorpej /* syscall: "rtprio" ret: "int" args: "int" "pid_t" "struct freebsd_rtprio *" */
    475       1.1   mycroft #define	FREEBSD_SYS_rtprio	166
    476       1.6   thorpej 
    477      1.51     pooka #if defined(SYSVSEM) && !defined(_LP64)
    478       1.6   thorpej /* syscall: "semsys" ret: "int" args: "int" "int" "int" "int" "int" */
    479       1.1   mycroft #define	FREEBSD_SYS_semsys	169
    480       1.6   thorpej 
    481      1.51     pooka #else
    482      1.51     pooka #endif
    483      1.51     pooka #if defined(SYSVMSG) && !defined(_LP64)
    484       1.6   thorpej /* syscall: "msgsys" ret: "int" args: "int" "int" "int" "int" "int" "int" */
    485       1.1   mycroft #define	FREEBSD_SYS_msgsys	170
    486       1.6   thorpej 
    487      1.51     pooka #else
    488      1.51     pooka #endif
    489      1.51     pooka #if defined(SYSVSHM) && !defined(_LP64)
    490       1.6   thorpej /* syscall: "shmsys" ret: "int" args: "int" "int" "int" "int" */
    491       1.1   mycroft #define	FREEBSD_SYS_shmsys	171
    492       1.6   thorpej 
    493      1.51     pooka #else
    494      1.51     pooka #endif
    495      1.33        tv /* syscall: "pread" ret: "ssize_t" args: "int" "void *" "size_t" "int" "off_t" */
    496      1.33        tv #define	FREEBSD_SYS_pread	173
    497      1.33        tv 
    498      1.33        tv /* syscall: "pwrite" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "off_t" */
    499      1.33        tv #define	FREEBSD_SYS_pwrite	174
    500      1.33        tv 
    501      1.51     pooka #ifdef NTP
    502       1.6   thorpej /* syscall: "freebsd_ntp_adjtime" ret: "int" args: "struct freebsd_timex *" */
    503       1.1   mycroft #define	FREEBSD_SYS_freebsd_ntp_adjtime	176
    504       1.6   thorpej 
    505      1.51     pooka #else
    506      1.35     bjh21 				/* 176 is excluded ntp_adjtime */
    507      1.51     pooka #endif
    508       1.6   thorpej /* syscall: "setgid" ret: "int" args: "gid_t" */
    509       1.1   mycroft #define	FREEBSD_SYS_setgid	181
    510       1.6   thorpej 
    511       1.6   thorpej /* syscall: "setegid" ret: "int" args: "gid_t" */
    512       1.1   mycroft #define	FREEBSD_SYS_setegid	182
    513       1.6   thorpej 
    514       1.6   thorpej /* syscall: "seteuid" ret: "int" args: "uid_t" */
    515       1.1   mycroft #define	FREEBSD_SYS_seteuid	183
    516       1.6   thorpej 
    517      1.28  christos /* syscall: "stat" ret: "int" args: "const char *" "struct stat12 *" */
    518       1.1   mycroft #define	FREEBSD_SYS_stat	188
    519       1.6   thorpej 
    520      1.13  christos /* syscall: "fstat" ret: "int" args: "int" "struct stat12 *" */
    521       1.1   mycroft #define	FREEBSD_SYS_fstat	189
    522       1.6   thorpej 
    523      1.28  christos /* syscall: "lstat" ret: "int" args: "const char *" "struct stat12 *" */
    524       1.1   mycroft #define	FREEBSD_SYS_lstat	190
    525       1.6   thorpej 
    526      1.28  christos /* syscall: "pathconf" ret: "int" args: "const char *" "int" */
    527       1.1   mycroft #define	FREEBSD_SYS_pathconf	191
    528       1.6   thorpej 
    529       1.6   thorpej /* syscall: "fpathconf" ret: "int" args: "int" "int" */
    530       1.1   mycroft #define	FREEBSD_SYS_fpathconf	192
    531       1.6   thorpej 
    532       1.6   thorpej /* syscall: "getrlimit" ret: "int" args: "u_int" "struct rlimit *" */
    533       1.1   mycroft #define	FREEBSD_SYS_getrlimit	194
    534       1.6   thorpej 
    535       1.6   thorpej /* syscall: "setrlimit" ret: "int" args: "u_int" "struct rlimit *" */
    536       1.1   mycroft #define	FREEBSD_SYS_setrlimit	195
    537       1.6   thorpej 
    538       1.6   thorpej /* syscall: "getdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */
    539       1.1   mycroft #define	FREEBSD_SYS_getdirentries	196
    540       1.6   thorpej 
    541      1.67  christos /* syscall: "mmap" ret: "void *" args: "void *" "size_t" "int" "int" "int" "long" "off_t" */
    542       1.1   mycroft #define	FREEBSD_SYS_mmap	197
    543       1.6   thorpej 
    544       1.6   thorpej /* syscall: "__syscall" ret: "int" args: */
    545       1.1   mycroft #define	FREEBSD_SYS___syscall	198
    546       1.6   thorpej 
    547       1.6   thorpej /* syscall: "lseek" ret: "off_t" args: "int" "int" "off_t" "int" */
    548       1.1   mycroft #define	FREEBSD_SYS_lseek	199
    549       1.6   thorpej 
    550      1.28  christos /* syscall: "truncate" ret: "int" args: "const char *" "int" "off_t" */
    551       1.1   mycroft #define	FREEBSD_SYS_truncate	200
    552       1.6   thorpej 
    553       1.6   thorpej /* syscall: "ftruncate" ret: "int" args: "int" "int" "off_t" */
    554       1.1   mycroft #define	FREEBSD_SYS_ftruncate	201
    555       1.6   thorpej 
    556      1.57      heas /* syscall: "sysctl" ret: "int" args: "int *" "u_int" "void *" "size_t *" "void *" "size_t" */
    557      1.57      heas #define	FREEBSD_SYS_sysctl	202
    558       1.6   thorpej 
    559      1.67  christos /* syscall: "mlock" ret: "int" args: "void *" "size_t" */
    560       1.1   mycroft #define	FREEBSD_SYS_mlock	203
    561       1.6   thorpej 
    562      1.67  christos /* syscall: "munlock" ret: "int" args: "void *" "size_t" */
    563       1.1   mycroft #define	FREEBSD_SYS_munlock	204
    564       1.6   thorpej 
    565      1.51     pooka #ifdef FREEBSD_BASED_ON_44LITE_R2
    566       1.6   thorpej /* syscall: "undelete" ret: "int" args: "char *" */
    567       1.1   mycroft #define	FREEBSD_SYS_undelete	205
    568      1.22  christos 
    569      1.51     pooka #else
    570      1.51     pooka #endif
    571      1.72  christos /* syscall: "futimes" ret: "int" args: "int" "const struct timeval50 *" */
    572      1.28  christos #define	FREEBSD_SYS_futimes	206
    573      1.28  christos 
    574      1.28  christos /* syscall: "getpgid" ret: "pid_t" args: "pid_t" */
    575      1.28  christos #define	FREEBSD_SYS_getpgid	207
    576      1.28  christos 
    577      1.51     pooka #if 0
    578      1.28  christos /* syscall: "reboot" ret: "int" args: "int" "char *" */
    579      1.28  christos #define	FREEBSD_SYS_reboot	208
    580      1.28  christos 
    581      1.51     pooka #else
    582      1.51     pooka #endif
    583      1.28  christos /* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
    584      1.28  christos #define	FREEBSD_SYS_poll	209
    585      1.28  christos 
    586      1.51     pooka #ifdef SYSVSEM
    587      1.31   thorpej /* syscall: "__semctl" ret: "int" args: "int" "int" "int" "union __semun *" */
    588      1.28  christos #define	FREEBSD_SYS___semctl	220
    589      1.28  christos 
    590      1.28  christos /* syscall: "semget" ret: "int" args: "key_t" "int" "int" */
    591      1.28  christos #define	FREEBSD_SYS_semget	221
    592      1.28  christos 
    593      1.28  christos /* syscall: "semop" ret: "int" args: "int" "struct sembuf *" "u_int" */
    594      1.28  christos #define	FREEBSD_SYS_semop	222
    595      1.28  christos 
    596      1.28  christos /* syscall: "semconfig" ret: "int" args: "int" */
    597      1.28  christos #define	FREEBSD_SYS_semconfig	223
    598      1.28  christos 
    599      1.51     pooka #else
    600      1.51     pooka #endif
    601      1.51     pooka #ifdef SYSVMSG
    602      1.31   thorpej /* syscall: "msgctl" ret: "int" args: "int" "int" "struct msqid14_ds *" */
    603      1.28  christos #define	FREEBSD_SYS_msgctl	224
    604      1.28  christos 
    605      1.28  christos /* syscall: "msgget" ret: "int" args: "key_t" "int" */
    606      1.28  christos #define	FREEBSD_SYS_msgget	225
    607      1.28  christos 
    608      1.28  christos /* syscall: "msgsnd" ret: "int" args: "int" "void *" "size_t" "int" */
    609      1.28  christos #define	FREEBSD_SYS_msgsnd	226
    610      1.28  christos 
    611      1.28  christos /* syscall: "msgrcv" ret: "int" args: "int" "void *" "size_t" "long" "int" */
    612      1.28  christos #define	FREEBSD_SYS_msgrcv	227
    613      1.28  christos 
    614      1.51     pooka #else
    615      1.51     pooka #endif
    616      1.51     pooka #ifdef SYSVSHM
    617      1.28  christos /* syscall: "shmat" ret: "int" args: "int" "void *" "int" */
    618      1.28  christos #define	FREEBSD_SYS_shmat	228
    619      1.28  christos 
    620      1.31   thorpej /* syscall: "shmctl" ret: "int" args: "int" "int" "struct shmid_ds14 *" */
    621      1.28  christos #define	FREEBSD_SYS_shmctl	229
    622      1.28  christos 
    623      1.28  christos /* syscall: "shmdt" ret: "int" args: "void *" */
    624      1.28  christos #define	FREEBSD_SYS_shmdt	230
    625      1.28  christos 
    626      1.28  christos /* syscall: "shmget" ret: "int" args: "key_t" "int" "int" */
    627      1.28  christos #define	FREEBSD_SYS_shmget	231
    628      1.28  christos 
    629      1.51     pooka #else
    630      1.51     pooka #endif
    631      1.72  christos /* syscall: "clock_gettime" ret: "int" args: "clockid_t" "struct timespec50 *" */
    632      1.28  christos #define	FREEBSD_SYS_clock_gettime	232
    633      1.28  christos 
    634      1.72  christos /* syscall: "clock_settime" ret: "int" args: "clockid_t" "const struct timespec50 *" */
    635      1.28  christos #define	FREEBSD_SYS_clock_settime	233
    636      1.28  christos 
    637      1.72  christos /* syscall: "clock_getres" ret: "int" args: "clockid_t" "struct timespec50 *" */
    638      1.28  christos #define	FREEBSD_SYS_clock_getres	234
    639      1.28  christos 
    640      1.72  christos /* syscall: "nanosleep" ret: "int" args: "const struct timespec50 *" "struct timespec50 *" */
    641      1.28  christos #define	FREEBSD_SYS_nanosleep	240
    642      1.28  christos 
    643      1.44  jdolecek /* syscall: "minherit" ret: "int" args: "void *" "size_t" "int" */
    644      1.44  jdolecek #define	FREEBSD_SYS_minherit	250
    645      1.47     pooka 
    646      1.47     pooka /* syscall: "rfork" ret: "int" args: "int" */
    647      1.47     pooka #define	FREEBSD_SYS_rfork	251
    648      1.44  jdolecek 
    649      1.22  christos /* syscall: "issetugid" ret: "int" args: */
    650      1.22  christos #define	FREEBSD_SYS_issetugid	253
    651       1.6   thorpej 
    652      1.28  christos /* syscall: "lchown" ret: "int" args: "const char *" "int" "int" */
    653      1.10     enami #define	FREEBSD_SYS_lchown	254
    654      1.10     enami 
    655      1.28  christos /* syscall: "getdents" ret: "int" args: "int" "char *" "size_t" */
    656      1.28  christos #define	FREEBSD_SYS_getdents	272
    657      1.28  christos 
    658      1.28  christos /* syscall: "lchmod" ret: "int" args: "const char *" "mode_t" */
    659      1.28  christos #define	FREEBSD_SYS_lchmod	274
    660      1.28  christos 
    661      1.28  christos /* syscall: "netbsd_lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */
    662      1.28  christos #define	FREEBSD_SYS_netbsd_lchown	275
    663      1.28  christos 
    664      1.72  christos /* syscall: "lutimes" ret: "int" args: "const char *" "const struct timeval50 *" */
    665      1.28  christos #define	FREEBSD_SYS_lutimes	276
    666      1.28  christos 
    667      1.28  christos /* syscall: "__msync13" ret: "int" args: "void *" "size_t" "int" */
    668      1.28  christos #define	FREEBSD_SYS___msync13	277
    669      1.28  christos 
    670      1.62  christos /* syscall: "__stat13" ret: "int" args: "const char *" "struct stat13 *" */
    671      1.28  christos #define	FREEBSD_SYS___stat13	278
    672      1.28  christos 
    673      1.62  christos /* syscall: "__fstat13" ret: "int" args: "int" "struct stat13 *" */
    674      1.28  christos #define	FREEBSD_SYS___fstat13	279
    675      1.28  christos 
    676      1.62  christos /* syscall: "__lstat13" ret: "int" args: "const char *" "struct stat13 *" */
    677      1.28  christos #define	FREEBSD_SYS___lstat13	280
    678      1.44  jdolecek 
    679      1.64    martin /* syscall: "fhstatfs" ret: "int" args: "const struct compat_30_fhandle *" "struct statfs12 *" */
    680      1.44  jdolecek #define	FREEBSD_SYS_fhstatfs	297
    681      1.44  jdolecek 
    682      1.64    martin /* syscall: "fhopen" ret: "int" args: "const struct compat_30_fhandle *" "int" */
    683      1.44  jdolecek #define	FREEBSD_SYS_fhopen	298
    684      1.44  jdolecek 
    685      1.64    martin /* syscall: "fhstat" ret: "int" args: "const struct cocmpat_30_fhandlez *" "struct stat13 *" */
    686      1.44  jdolecek #define	FREEBSD_SYS_fhstat	299
    687      1.28  christos 
    688      1.33        tv /* syscall: "getsid" ret: "pid_t" args: "pid_t" */
    689      1.33        tv #define	FREEBSD_SYS_getsid	310
    690      1.33        tv 
    691      1.48  gmcgarry /* syscall: "yield" ret: "void" args: */
    692      1.48  gmcgarry #define	FREEBSD_SYS_yield	321
    693      1.48  gmcgarry 
    694      1.33        tv /* syscall: "mlockall" ret: "int" args: "int" */
    695      1.33        tv #define	FREEBSD_SYS_mlockall	324
    696      1.33        tv 
    697      1.33        tv /* syscall: "munlockall" ret: "int" args: */
    698      1.33        tv #define	FREEBSD_SYS_munlockall	325
    699      1.33        tv 
    700      1.33        tv /* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */
    701      1.33        tv #define	FREEBSD_SYS___getcwd	326
    702      1.48  gmcgarry 
    703      1.48  gmcgarry /* syscall: "sched_setparam" ret: "int" args: "pid_t" "const struct freebsd_sched_param *" */
    704      1.48  gmcgarry #define	FREEBSD_SYS_sched_setparam	327
    705      1.48  gmcgarry 
    706      1.48  gmcgarry /* syscall: "sched_getparam" ret: "int" args: "pid_t" "struct freebsd_sched_param *" */
    707      1.48  gmcgarry #define	FREEBSD_SYS_sched_getparam	328
    708      1.48  gmcgarry 
    709      1.48  gmcgarry /* syscall: "sched_setscheduler" ret: "int" args: "pid_t" "int" "const struct sched_param *" */
    710      1.48  gmcgarry #define	FREEBSD_SYS_sched_setscheduler	329
    711      1.48  gmcgarry 
    712      1.48  gmcgarry /* syscall: "sched_getscheduler" ret: "int" args: "pid_t" */
    713      1.48  gmcgarry #define	FREEBSD_SYS_sched_getscheduler	330
    714      1.48  gmcgarry 
    715      1.48  gmcgarry /* syscall: "sched_yield" ret: "int" args: */
    716      1.48  gmcgarry #define	FREEBSD_SYS_sched_yield	331
    717      1.48  gmcgarry 
    718      1.48  gmcgarry /* syscall: "sched_get_priority_max" ret: "int" args: "int" */
    719      1.48  gmcgarry #define	FREEBSD_SYS_sched_get_priority_max	332
    720      1.48  gmcgarry 
    721      1.48  gmcgarry /* syscall: "sched_get_priority_min" ret: "int" args: "int" */
    722      1.48  gmcgarry #define	FREEBSD_SYS_sched_get_priority_min	333
    723      1.41  jdolecek 
    724      1.41  jdolecek /* syscall: "utrace" ret: "int" args: "void *" "size_t" */
    725      1.41  jdolecek #define	FREEBSD_SYS_utrace	335
    726      1.34      onoe 
    727      1.34      onoe /* syscall: "__sigprocmask14" ret: "int" args: "int" "const sigset_t *" "sigset_t *" */
    728      1.34      onoe #define	FREEBSD_SYS___sigprocmask14	340
    729      1.34      onoe 
    730      1.34      onoe /* syscall: "__sigsuspend14" ret: "int" args: "const sigset_t *" */
    731      1.34      onoe #define	FREEBSD_SYS___sigsuspend14	341
    732      1.34      onoe 
    733      1.34      onoe /* syscall: "sigaction4" ret: "int" args: "int" "const struct freebsd_sigaction4 *" "struct freebsd_sigaction4 *" */
    734      1.34      onoe #define	FREEBSD_SYS_sigaction4	342
    735      1.34      onoe 
    736      1.34      onoe /* syscall: "__sigpending14" ret: "int" args: "const sigset_t *" */
    737      1.34      onoe #define	FREEBSD_SYS___sigpending14	343
    738      1.33        tv 
    739      1.52  jdolecek /* syscall: "lchflags" ret: "int" args: "const char *" "u_long" */
    740      1.52  jdolecek #define	FREEBSD_SYS_lchflags	391
    741      1.52  jdolecek 
    742      1.53    tsarna /* syscall: "uuidgen" ret: "int" args: "struct uuid *" "int" */
    743      1.53    tsarna #define	FREEBSD_SYS_uuidgen	392
    744      1.53    tsarna 
    745      1.70        ad /* syscall: "_ksem_close" ret: "int" args: "intptr_t" */
    746      1.52  jdolecek #define	FREEBSD_SYS__ksem_close	400
    747      1.52  jdolecek 
    748      1.70        ad /* syscall: "_ksem_post" ret: "int" args: "intptr_t" */
    749      1.52  jdolecek #define	FREEBSD_SYS__ksem_post	401
    750      1.52  jdolecek 
    751      1.70        ad /* syscall: "_ksem_wait" ret: "int" args: "intptr_t" */
    752      1.52  jdolecek #define	FREEBSD_SYS__ksem_wait	402
    753      1.52  jdolecek 
    754      1.70        ad /* syscall: "_ksem_trywait" ret: "int" args: "intptr_t" */
    755      1.52  jdolecek #define	FREEBSD_SYS__ksem_trywait	403
    756      1.52  jdolecek 
    757      1.52  jdolecek /* syscall: "_ksem_unlink" ret: "int" args: "const char *" */
    758      1.52  jdolecek #define	FREEBSD_SYS__ksem_unlink	406
    759      1.52  jdolecek 
    760      1.70        ad /* syscall: "_ksem_getvalue" ret: "int" args: "intptr_t" "unsigned int *" */
    761      1.52  jdolecek #define	FREEBSD_SYS__ksem_getvalue	407
    762      1.52  jdolecek 
    763      1.70        ad /* syscall: "_ksem_destroy" ret: "int" args: "intptr_t" */
    764      1.52  jdolecek #define	FREEBSD_SYS__ksem_destroy	408
    765      1.52  jdolecek 
    766      1.52  jdolecek #define	FREEBSD_SYS_MAXSYSCALL	440
    767      1.39   mycroft #define	FREEBSD_SYS_NSYSENT	512
    768      1.62  christos #endif /* _FREEBSD_SYS_SYSCALL_H_ */
    769