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