Home | History | Annotate | Line # | Download | only in sunos
sunos_syscall.h revision 1.68
      1  1.61       cgd /* $NetBSD: sunos_syscall.h,v 1.68 2002/11/01 20:44:43 jdolecek Exp $ */
      2  1.49   thorpej 
      3   1.1   deraadt /*
      4   1.1   deraadt  * System call numbers.
      5   1.1   deraadt  *
      6   1.1   deraadt  * DO NOT EDIT-- this file is automatically generated.
      7  1.67       mrg  * created from	NetBSD: syscalls.master,v 1.59 2002/01/03 00:59:00 mrg Exp
      8   1.1   deraadt  */
      9   1.1   deraadt 
     10  1.40   thorpej /* syscall: "syscall" ret: "int" args: */
     11  1.18   deraadt #define	SUNOS_SYS_syscall	0
     12  1.40   thorpej 
     13  1.40   thorpej /* syscall: "exit" ret: "int" args: "int" */
     14  1.18   deraadt #define	SUNOS_SYS_exit	1
     15  1.40   thorpej 
     16  1.40   thorpej /* syscall: "fork" ret: "int" args: */
     17  1.18   deraadt #define	SUNOS_SYS_fork	2
     18  1.40   thorpej 
     19  1.40   thorpej /* syscall: "read" ret: "int" args: "int" "char *" "u_int" */
     20  1.18   deraadt #define	SUNOS_SYS_read	3
     21  1.40   thorpej 
     22  1.40   thorpej /* syscall: "write" ret: "int" args: "int" "char *" "u_int" */
     23  1.18   deraadt #define	SUNOS_SYS_write	4
     24  1.40   thorpej 
     25  1.57  christos /* syscall: "open" ret: "int" args: "const char *" "int" "int" */
     26  1.33   mycroft #define	SUNOS_SYS_open	5
     27  1.40   thorpej 
     28  1.40   thorpej /* syscall: "close" ret: "int" args: "int" */
     29  1.18   deraadt #define	SUNOS_SYS_close	6
     30  1.40   thorpej 
     31  1.40   thorpej /* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage *" */
     32  1.33   mycroft #define	SUNOS_SYS_wait4	7
     33  1.40   thorpej 
     34  1.57  christos /* syscall: "creat" ret: "int" args: "const char *" "int" */
     35  1.33   mycroft #define	SUNOS_SYS_creat	8
     36  1.40   thorpej 
     37  1.40   thorpej /* syscall: "link" ret: "int" args: "char *" "char *" */
     38  1.18   deraadt #define	SUNOS_SYS_link	9
     39  1.40   thorpej 
     40  1.40   thorpej /* syscall: "unlink" ret: "int" args: "char *" */
     41  1.18   deraadt #define	SUNOS_SYS_unlink	10
     42  1.40   thorpej 
     43  1.57  christos /* syscall: "execv" ret: "int" args: "const char *" "char **" */
     44  1.33   mycroft #define	SUNOS_SYS_execv	11
     45  1.40   thorpej 
     46  1.40   thorpej /* syscall: "chdir" ret: "int" args: "char *" */
     47  1.18   deraadt #define	SUNOS_SYS_chdir	12
     48  1.40   thorpej 
     49  1.60       mrg 				/* 13 is obsolete old_time */
     50  1.57  christos /* syscall: "mknod" ret: "int" args: "const char *" "int" "int" */
     51  1.33   mycroft #define	SUNOS_SYS_mknod	14
     52  1.40   thorpej 
     53  1.40   thorpej /* syscall: "chmod" ret: "int" args: "char *" "int" */
     54  1.18   deraadt #define	SUNOS_SYS_chmod	15
     55  1.40   thorpej 
     56  1.40   thorpej /* syscall: "chown" ret: "int" args: "char *" "int" "int" */
     57  1.18   deraadt #define	SUNOS_SYS_chown	16
     58  1.40   thorpej 
     59  1.40   thorpej /* syscall: "break" ret: "int" args: "char *" */
     60  1.18   deraadt #define	SUNOS_SYS_break	17
     61  1.40   thorpej 
     62  1.60       mrg 				/* 18 is obsolete old_stat */
     63  1.40   thorpej /* syscall: "lseek" ret: "long" args: "int" "long" "int" */
     64  1.33   mycroft #define	SUNOS_SYS_lseek	19
     65  1.40   thorpej 
     66  1.63   mycroft /* syscall: "getpid_with_ppid" ret: "pid_t" args: */
     67  1.63   mycroft #define	SUNOS_SYS_getpid_with_ppid	20
     68  1.40   thorpej 
     69  1.18   deraadt 				/* 21 is obsolete sunos_old_mount */
     70  1.40   thorpej /* syscall: "setuid" ret: "int" args: "uid_t" */
     71  1.18   deraadt #define	SUNOS_SYS_setuid	23
     72  1.40   thorpej 
     73  1.63   mycroft /* syscall: "getuid_with_euid" ret: "uid_t" args: */
     74  1.63   mycroft #define	SUNOS_SYS_getuid_with_euid	24
     75  1.40   thorpej 
     76  1.40   thorpej /* syscall: "stime" ret: "int" args: "time_t *" */
     77  1.37  christos #define	SUNOS_SYS_stime	25
     78  1.40   thorpej 
     79  1.40   thorpej /* syscall: "ptrace" ret: "long" args: "int" "pid_t" "caddr_t" "int" "char *" */
     80  1.33   mycroft #define	SUNOS_SYS_ptrace	26
     81  1.40   thorpej 
     82  1.57  christos /* syscall: "access" ret: "int" args: "const char *" "int" */
     83  1.33   mycroft #define	SUNOS_SYS_access	33
     84  1.40   thorpej 
     85  1.40   thorpej /* syscall: "sync" ret: "int" args: */
     86  1.18   deraadt #define	SUNOS_SYS_sync	36
     87  1.40   thorpej 
     88  1.40   thorpej /* syscall: "kill" ret: "int" args: "int" "int" */
     89  1.18   deraadt #define	SUNOS_SYS_kill	37
     90  1.40   thorpej 
     91  1.57  christos /* syscall: "stat" ret: "int" args: "const char *" "struct stat43 *" */
     92  1.33   mycroft #define	SUNOS_SYS_stat	38
     93  1.40   thorpej 
     94  1.57  christos /* syscall: "lstat" ret: "int" args: "const char *" "struct stat43 *" */
     95  1.33   mycroft #define	SUNOS_SYS_lstat	40
     96  1.40   thorpej 
     97  1.40   thorpej /* syscall: "dup" ret: "int" args: "u_int" */
     98  1.18   deraadt #define	SUNOS_SYS_dup	41
     99  1.40   thorpej 
    100  1.40   thorpej /* syscall: "pipe" ret: "int" args: */
    101  1.18   deraadt #define	SUNOS_SYS_pipe	42
    102  1.40   thorpej 
    103  1.40   thorpej /* syscall: "profil" ret: "int" args: "caddr_t" "u_int" "u_int" "u_int" */
    104  1.18   deraadt #define	SUNOS_SYS_profil	44
    105  1.40   thorpej 
    106  1.40   thorpej /* syscall: "setgid" ret: "int" args: "uid_t" */
    107  1.23   deraadt #define	SUNOS_SYS_setgid	46
    108  1.40   thorpej 
    109  1.63   mycroft /* syscall: "getgid_with_egid" ret: "gid_t" args: */
    110  1.63   mycroft #define	SUNOS_SYS_getgid_with_egid	47
    111  1.40   thorpej 
    112  1.40   thorpej /* syscall: "acct" ret: "int" args: "char *" */
    113  1.18   deraadt #define	SUNOS_SYS_acct	51
    114  1.40   thorpej 
    115  1.46  christos /* syscall: "mctl" ret: "int" args: "void *" "int" "int" "void *" */
    116  1.33   mycroft #define	SUNOS_SYS_mctl	53
    117  1.40   thorpej 
    118  1.40   thorpej /* syscall: "ioctl" ret: "int" args: "int" "u_long" "caddr_t" */
    119  1.33   mycroft #define	SUNOS_SYS_ioctl	54
    120  1.40   thorpej 
    121  1.40   thorpej /* syscall: "reboot" ret: "int" args: "int" "char *" */
    122  1.33   mycroft #define	SUNOS_SYS_reboot	55
    123  1.40   thorpej 
    124  1.18   deraadt 				/* 56 is obsolete sunos_owait3 */
    125  1.40   thorpej /* syscall: "symlink" ret: "int" args: "char *" "char *" */
    126  1.18   deraadt #define	SUNOS_SYS_symlink	57
    127  1.40   thorpej 
    128  1.40   thorpej /* syscall: "readlink" ret: "int" args: "char *" "char *" "int" */
    129  1.18   deraadt #define	SUNOS_SYS_readlink	58
    130  1.40   thorpej 
    131  1.57  christos /* syscall: "execve" ret: "int" args: "const char *" "char **" "char **" */
    132  1.18   deraadt #define	SUNOS_SYS_execve	59
    133  1.40   thorpej 
    134  1.40   thorpej /* syscall: "umask" ret: "int" args: "int" */
    135  1.18   deraadt #define	SUNOS_SYS_umask	60
    136  1.40   thorpej 
    137  1.40   thorpej /* syscall: "chroot" ret: "int" args: "char *" */
    138  1.18   deraadt #define	SUNOS_SYS_chroot	61
    139  1.40   thorpej 
    140  1.45  christos /* syscall: "fstat" ret: "int" args: "int" "struct stat43 *" */
    141  1.33   mycroft #define	SUNOS_SYS_fstat	62
    142  1.40   thorpej 
    143  1.40   thorpej /* syscall: "getpagesize" ret: "int" args: */
    144  1.33   mycroft #define	SUNOS_SYS_getpagesize	64
    145  1.40   thorpej 
    146  1.40   thorpej /* syscall: "omsync" ret: "int" args: "caddr_t" "size_t" "int" */
    147  1.33   mycroft #define	SUNOS_SYS_omsync	65
    148  1.40   thorpej 
    149  1.40   thorpej /* syscall: "vfork" ret: "int" args: */
    150  1.18   deraadt #define	SUNOS_SYS_vfork	66
    151  1.40   thorpej 
    152   1.1   deraadt 				/* 67 is obsolete vread */
    153   1.1   deraadt 				/* 68 is obsolete vwrite */
    154  1.59    kleink /* syscall: "sbrk" ret: "int" args: "intptr_t" */
    155  1.18   deraadt #define	SUNOS_SYS_sbrk	69
    156  1.40   thorpej 
    157  1.40   thorpej /* syscall: "sstk" ret: "int" args: "int" */
    158  1.18   deraadt #define	SUNOS_SYS_sstk	70
    159  1.40   thorpej 
    160  1.46  christos /* syscall: "mmap" ret: "void *" args: "void *" "size_t" "int" "int" "int" "long" */
    161  1.33   mycroft #define	SUNOS_SYS_mmap	71
    162  1.40   thorpej 
    163  1.40   thorpej /* syscall: "vadvise" ret: "int" args: "int" */
    164  1.18   deraadt #define	SUNOS_SYS_vadvise	72
    165  1.40   thorpej 
    166  1.46  christos /* syscall: "munmap" ret: "int" args: "void *" "size_t" */
    167  1.18   deraadt #define	SUNOS_SYS_munmap	73
    168  1.40   thorpej 
    169  1.46  christos /* syscall: "mprotect" ret: "int" args: "void *" "size_t" "int" */
    170  1.18   deraadt #define	SUNOS_SYS_mprotect	74
    171  1.40   thorpej 
    172  1.46  christos /* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */
    173  1.18   deraadt #define	SUNOS_SYS_madvise	75
    174  1.40   thorpej 
    175  1.40   thorpej /* syscall: "vhangup" ret: "int" args: */
    176  1.33   mycroft #define	SUNOS_SYS_vhangup	76
    177  1.40   thorpej 
    178  1.46  christos /* syscall: "mincore" ret: "int" args: "void *" "size_t" "char *" */
    179  1.18   deraadt #define	SUNOS_SYS_mincore	78
    180  1.40   thorpej 
    181  1.40   thorpej /* syscall: "getgroups" ret: "int" args: "u_int" "gid_t *" */
    182  1.18   deraadt #define	SUNOS_SYS_getgroups	79
    183  1.40   thorpej 
    184  1.40   thorpej /* syscall: "setgroups" ret: "int" args: "u_int" "gid_t *" */
    185  1.18   deraadt #define	SUNOS_SYS_setgroups	80
    186  1.40   thorpej 
    187  1.40   thorpej /* syscall: "getpgrp" ret: "int" args: */
    188  1.18   deraadt #define	SUNOS_SYS_getpgrp	81
    189  1.40   thorpej 
    190  1.40   thorpej /* syscall: "setpgrp" ret: "int" args: "int" "int" */
    191  1.33   mycroft #define	SUNOS_SYS_setpgrp	82
    192  1.40   thorpej 
    193  1.40   thorpej /* syscall: "setitimer" ret: "int" args: "u_int" "struct itimerval *" "struct itimerval *" */
    194  1.18   deraadt #define	SUNOS_SYS_setitimer	83
    195  1.40   thorpej 
    196  1.40   thorpej /* syscall: "swapon" ret: "int" args: "char *" */
    197  1.18   deraadt #define	SUNOS_SYS_swapon	85
    198  1.40   thorpej 
    199  1.40   thorpej /* syscall: "getitimer" ret: "int" args: "u_int" "struct itimerval *" */
    200  1.18   deraadt #define	SUNOS_SYS_getitimer	86
    201  1.40   thorpej 
    202  1.40   thorpej /* syscall: "gethostname" ret: "int" args: "char *" "u_int" */
    203  1.33   mycroft #define	SUNOS_SYS_gethostname	87
    204  1.40   thorpej 
    205  1.40   thorpej /* syscall: "sethostname" ret: "int" args: "char *" "u_int" */
    206  1.33   mycroft #define	SUNOS_SYS_sethostname	88
    207  1.40   thorpej 
    208  1.40   thorpej /* syscall: "getdtablesize" ret: "int" args: */
    209  1.33   mycroft #define	SUNOS_SYS_getdtablesize	89
    210  1.40   thorpej 
    211  1.40   thorpej /* syscall: "dup2" ret: "int" args: "u_int" "u_int" */
    212  1.18   deraadt #define	SUNOS_SYS_dup2	90
    213  1.40   thorpej 
    214  1.40   thorpej /* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */
    215  1.18   deraadt #define	SUNOS_SYS_fcntl	92
    216  1.40   thorpej 
    217  1.40   thorpej /* syscall: "select" ret: "int" args: "u_int" "fd_set *" "fd_set *" "fd_set *" "struct timeval *" */
    218  1.18   deraadt #define	SUNOS_SYS_select	93
    219  1.40   thorpej 
    220  1.40   thorpej /* syscall: "fsync" ret: "int" args: "int" */
    221  1.18   deraadt #define	SUNOS_SYS_fsync	95
    222  1.40   thorpej 
    223  1.40   thorpej /* syscall: "setpriority" ret: "int" args: "int" "int" "int" */
    224  1.18   deraadt #define	SUNOS_SYS_setpriority	96
    225  1.40   thorpej 
    226  1.40   thorpej /* syscall: "socket" ret: "int" args: "int" "int" "int" */
    227  1.18   deraadt #define	SUNOS_SYS_socket	97
    228  1.40   thorpej 
    229  1.40   thorpej /* syscall: "connect" ret: "int" args: "int" "caddr_t" "int" */
    230  1.18   deraadt #define	SUNOS_SYS_connect	98
    231  1.40   thorpej 
    232  1.40   thorpej /* syscall: "accept" ret: "int" args: "int" "caddr_t" "int *" */
    233  1.33   mycroft #define	SUNOS_SYS_accept	99
    234  1.40   thorpej 
    235  1.40   thorpej /* syscall: "getpriority" ret: "int" args: "int" "int" */
    236  1.18   deraadt #define	SUNOS_SYS_getpriority	100
    237  1.40   thorpej 
    238  1.40   thorpej /* syscall: "send" ret: "int" args: "int" "caddr_t" "int" "int" */
    239  1.33   mycroft #define	SUNOS_SYS_send	101
    240  1.40   thorpej 
    241  1.40   thorpej /* syscall: "recv" ret: "int" args: "int" "caddr_t" "int" "int" */
    242  1.33   mycroft #define	SUNOS_SYS_recv	102
    243  1.40   thorpej 
    244  1.40   thorpej /* syscall: "bind" ret: "int" args: "int" "caddr_t" "int" */
    245  1.18   deraadt #define	SUNOS_SYS_bind	104
    246  1.40   thorpej 
    247  1.40   thorpej /* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "caddr_t" "int" */
    248  1.33   mycroft #define	SUNOS_SYS_setsockopt	105
    249  1.40   thorpej 
    250  1.40   thorpej /* syscall: "listen" ret: "int" args: "int" "int" */
    251  1.18   deraadt #define	SUNOS_SYS_listen	106
    252  1.40   thorpej 
    253  1.40   thorpej /* syscall: "sigvec" ret: "int" args: "int" "struct sigvec *" "struct sigvec *" */
    254  1.33   mycroft #define	SUNOS_SYS_sigvec	108
    255  1.40   thorpej 
    256  1.40   thorpej /* syscall: "sigblock" ret: "int" args: "int" */
    257  1.33   mycroft #define	SUNOS_SYS_sigblock	109
    258  1.40   thorpej 
    259  1.40   thorpej /* syscall: "sigsetmask" ret: "int" args: "int" */
    260  1.33   mycroft #define	SUNOS_SYS_sigsetmask	110
    261  1.40   thorpej 
    262  1.40   thorpej /* syscall: "sigsuspend" ret: "int" args: "int" */
    263  1.18   deraadt #define	SUNOS_SYS_sigsuspend	111
    264  1.40   thorpej 
    265  1.40   thorpej /* syscall: "sigstack" ret: "int" args: "struct sigstack *" "struct sigstack *" */
    266  1.33   mycroft #define	SUNOS_SYS_sigstack	112
    267  1.40   thorpej 
    268  1.40   thorpej /* syscall: "recvmsg" ret: "int" args: "int" "struct omsghdr *" "int" */
    269  1.33   mycroft #define	SUNOS_SYS_recvmsg	113
    270  1.40   thorpej 
    271  1.40   thorpej /* syscall: "sendmsg" ret: "int" args: "int" "caddr_t" "int" */
    272  1.33   mycroft #define	SUNOS_SYS_sendmsg	114
    273  1.40   thorpej 
    274   1.1   deraadt 				/* 115 is obsolete vtrace */
    275  1.40   thorpej /* syscall: "gettimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
    276  1.18   deraadt #define	SUNOS_SYS_gettimeofday	116
    277  1.40   thorpej 
    278  1.40   thorpej /* syscall: "getrusage" ret: "int" args: "int" "struct rusage *" */
    279  1.18   deraadt #define	SUNOS_SYS_getrusage	117
    280  1.40   thorpej 
    281  1.40   thorpej /* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "caddr_t" "int *" */
    282  1.18   deraadt #define	SUNOS_SYS_getsockopt	118
    283  1.40   thorpej 
    284  1.40   thorpej /* syscall: "readv" ret: "int" args: "int" "struct iovec *" "u_int" */
    285  1.18   deraadt #define	SUNOS_SYS_readv	120
    286  1.40   thorpej 
    287  1.40   thorpej /* syscall: "writev" ret: "int" args: "int" "struct iovec *" "u_int" */
    288  1.18   deraadt #define	SUNOS_SYS_writev	121
    289  1.40   thorpej 
    290  1.40   thorpej /* syscall: "settimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
    291  1.18   deraadt #define	SUNOS_SYS_settimeofday	122
    292  1.40   thorpej 
    293  1.40   thorpej /* syscall: "fchown" ret: "int" args: "int" "int" "int" */
    294  1.18   deraadt #define	SUNOS_SYS_fchown	123
    295  1.40   thorpej 
    296  1.40   thorpej /* syscall: "fchmod" ret: "int" args: "int" "int" */
    297  1.18   deraadt #define	SUNOS_SYS_fchmod	124
    298  1.40   thorpej 
    299  1.40   thorpej /* syscall: "recvfrom" ret: "int" args: "int" "caddr_t" "size_t" "int" "caddr_t" "int *" */
    300  1.33   mycroft #define	SUNOS_SYS_recvfrom	125
    301  1.40   thorpej 
    302  1.40   thorpej /* syscall: "setreuid" ret: "int" args: "int" "int" */
    303  1.33   mycroft #define	SUNOS_SYS_setreuid	126
    304  1.40   thorpej 
    305  1.40   thorpej /* syscall: "setregid" ret: "int" args: "int" "int" */
    306  1.33   mycroft #define	SUNOS_SYS_setregid	127
    307  1.40   thorpej 
    308  1.40   thorpej /* syscall: "rename" ret: "int" args: "char *" "char *" */
    309  1.18   deraadt #define	SUNOS_SYS_rename	128
    310  1.40   thorpej 
    311  1.40   thorpej /* syscall: "truncate" ret: "int" args: "char *" "long" */
    312  1.33   mycroft #define	SUNOS_SYS_truncate	129
    313  1.40   thorpej 
    314  1.40   thorpej /* syscall: "ftruncate" ret: "int" args: "int" "long" */
    315  1.33   mycroft #define	SUNOS_SYS_ftruncate	130
    316  1.40   thorpej 
    317  1.40   thorpej /* syscall: "flock" ret: "int" args: "int" "int" */
    318  1.18   deraadt #define	SUNOS_SYS_flock	131
    319  1.40   thorpej 
    320  1.40   thorpej /* syscall: "sendto" ret: "int" args: "int" "caddr_t" "size_t" "int" "caddr_t" "int" */
    321  1.18   deraadt #define	SUNOS_SYS_sendto	133
    322  1.40   thorpej 
    323  1.40   thorpej /* syscall: "shutdown" ret: "int" args: "int" "int" */
    324  1.18   deraadt #define	SUNOS_SYS_shutdown	134
    325  1.40   thorpej 
    326  1.40   thorpej /* syscall: "socketpair" ret: "int" args: "int" "int" "int" "int *" */
    327  1.18   deraadt #define	SUNOS_SYS_socketpair	135
    328  1.40   thorpej 
    329  1.40   thorpej /* syscall: "mkdir" ret: "int" args: "char *" "int" */
    330  1.18   deraadt #define	SUNOS_SYS_mkdir	136
    331  1.40   thorpej 
    332  1.40   thorpej /* syscall: "rmdir" ret: "int" args: "char *" */
    333  1.18   deraadt #define	SUNOS_SYS_rmdir	137
    334  1.40   thorpej 
    335  1.40   thorpej /* syscall: "utimes" ret: "int" args: "char *" "struct timeval *" */
    336  1.18   deraadt #define	SUNOS_SYS_utimes	138
    337  1.40   thorpej 
    338  1.40   thorpej /* syscall: "sigreturn" ret: "int" args: "struct sigcontext *" */
    339  1.33   mycroft #define	SUNOS_SYS_sigreturn	139
    340  1.40   thorpej 
    341  1.40   thorpej /* syscall: "adjtime" ret: "int" args: "struct timeval *" "struct timeval *" */
    342  1.18   deraadt #define	SUNOS_SYS_adjtime	140
    343  1.40   thorpej 
    344  1.40   thorpej /* syscall: "getpeername" ret: "int" args: "int" "caddr_t" "int *" */
    345  1.33   mycroft #define	SUNOS_SYS_getpeername	141
    346  1.40   thorpej 
    347  1.40   thorpej /* syscall: "gethostid" ret: "int" args: */
    348  1.33   mycroft #define	SUNOS_SYS_gethostid	142
    349  1.40   thorpej 
    350  1.40   thorpej /* syscall: "getrlimit" ret: "int" args: "u_int" "struct orlimit *" */
    351  1.33   mycroft #define	SUNOS_SYS_getrlimit	144
    352  1.40   thorpej 
    353  1.40   thorpej /* syscall: "setrlimit" ret: "int" args: "u_int" "struct orlimit *" */
    354  1.33   mycroft #define	SUNOS_SYS_setrlimit	145
    355  1.40   thorpej 
    356  1.40   thorpej /* syscall: "killpg" ret: "int" args: "int" "int" */
    357  1.33   mycroft #define	SUNOS_SYS_killpg	146
    358  1.40   thorpej 
    359  1.40   thorpej /* syscall: "getsockname" ret: "int" args: "int" "caddr_t" "int *" */
    360  1.33   mycroft #define	SUNOS_SYS_getsockname	150
    361  1.40   thorpej 
    362  1.40   thorpej /* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
    363  1.33   mycroft #define	SUNOS_SYS_poll	153
    364  1.40   thorpej 
    365  1.40   thorpej /* syscall: "nfssvc" ret: "int" args: "int" */
    366  1.33   mycroft #define	SUNOS_SYS_nfssvc	155
    367  1.40   thorpej 
    368  1.40   thorpej /* syscall: "getdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */
    369  1.18   deraadt #define	SUNOS_SYS_getdirentries	156
    370  1.40   thorpej 
    371  1.57  christos /* syscall: "statfs" ret: "int" args: "const char *" "struct sunos_statfs *" */
    372  1.33   mycroft #define	SUNOS_SYS_statfs	157
    373  1.40   thorpej 
    374  1.40   thorpej /* syscall: "fstatfs" ret: "int" args: "int" "struct sunos_statfs *" */
    375  1.33   mycroft #define	SUNOS_SYS_fstatfs	158
    376  1.40   thorpej 
    377  1.40   thorpej /* syscall: "unmount" ret: "int" args: "char *" */
    378  1.33   mycroft #define	SUNOS_SYS_unmount	159
    379  1.40   thorpej 
    380  1.40   thorpej /* syscall: "async_daemon" ret: "int" args: */
    381  1.18   deraadt #define	SUNOS_SYS_async_daemon	160
    382  1.40   thorpej 
    383  1.40   thorpej /* syscall: "getfh" ret: "int" args: "char *" "fhandle_t *" */
    384  1.18   deraadt #define	SUNOS_SYS_getfh	161
    385  1.40   thorpej 
    386  1.40   thorpej /* syscall: "getdomainname" ret: "int" args: "char *" "int" */
    387  1.33   mycroft #define	SUNOS_SYS_getdomainname	162
    388  1.40   thorpej 
    389  1.40   thorpej /* syscall: "setdomainname" ret: "int" args: "char *" "int" */
    390  1.33   mycroft #define	SUNOS_SYS_setdomainname	163
    391  1.40   thorpej 
    392  1.40   thorpej /* syscall: "quotactl" ret: "int" args: "int" "char *" "int" "caddr_t" */
    393  1.33   mycroft #define	SUNOS_SYS_quotactl	165
    394  1.40   thorpej 
    395  1.40   thorpej /* syscall: "exportfs" ret: "int" args: "char *" "char *" */
    396  1.33   mycroft #define	SUNOS_SYS_exportfs	166
    397  1.40   thorpej 
    398  1.40   thorpej /* syscall: "mount" ret: "int" args: "char *" "char *" "int" "caddr_t" */
    399  1.33   mycroft #define	SUNOS_SYS_mount	167
    400  1.40   thorpej 
    401  1.40   thorpej /* syscall: "ustat" ret: "int" args: "int" "struct sunos_ustat *" */
    402  1.33   mycroft #define	SUNOS_SYS_ustat	168
    403  1.40   thorpej 
    404  1.40   thorpej /* syscall: "semsys" ret: "int" args: "int" "int" "int" "int" "int" */
    405  1.33   mycroft #define	SUNOS_SYS_semsys	169
    406  1.40   thorpej 
    407  1.40   thorpej /* syscall: "msgsys" ret: "int" args: "int" "int" "int" "int" "int" "int" */
    408  1.33   mycroft #define	SUNOS_SYS_msgsys	170
    409  1.40   thorpej 
    410  1.40   thorpej /* syscall: "shmsys" ret: "int" args: "int" "int" "int" "int" */
    411  1.33   mycroft #define	SUNOS_SYS_shmsys	171
    412  1.40   thorpej 
    413  1.40   thorpej /* syscall: "auditsys" ret: "int" args: "char *" */
    414  1.33   mycroft #define	SUNOS_SYS_auditsys	172
    415  1.40   thorpej 
    416  1.40   thorpej /* syscall: "getdents" ret: "int" args: "int" "char *" "int" */
    417  1.33   mycroft #define	SUNOS_SYS_getdents	174
    418  1.40   thorpej 
    419  1.40   thorpej /* syscall: "setsid" ret: "int" args: */
    420  1.18   deraadt #define	SUNOS_SYS_setsid	175
    421  1.40   thorpej 
    422  1.40   thorpej /* syscall: "fchdir" ret: "int" args: "int" */
    423  1.18   deraadt #define	SUNOS_SYS_fchdir	176
    424  1.40   thorpej 
    425  1.40   thorpej /* syscall: "fchroot" ret: "int" args: "int" */
    426  1.33   mycroft #define	SUNOS_SYS_fchroot	177
    427  1.40   thorpej 
    428  1.40   thorpej /* syscall: "sigpending" ret: "int" args: "int *" */
    429  1.33   mycroft #define	SUNOS_SYS_sigpending	183
    430  1.40   thorpej 
    431  1.40   thorpej /* syscall: "setpgid" ret: "int" args: "int" "int" */
    432  1.18   deraadt #define	SUNOS_SYS_setpgid	185
    433  1.40   thorpej 
    434  1.40   thorpej /* syscall: "pathconf" ret: "long" args: "char *" "int" */
    435  1.23   deraadt #define	SUNOS_SYS_pathconf	186
    436  1.40   thorpej 
    437  1.40   thorpej /* syscall: "fpathconf" ret: "long" args: "int" "int" */
    438  1.23   deraadt #define	SUNOS_SYS_fpathconf	187
    439  1.40   thorpej 
    440  1.40   thorpej /* syscall: "sysconf" ret: "int" args: "int" */
    441  1.33   mycroft #define	SUNOS_SYS_sysconf	188
    442  1.40   thorpej 
    443  1.40   thorpej /* syscall: "uname" ret: "int" args: "struct sunos_utsname *" */
    444  1.33   mycroft #define	SUNOS_SYS_uname	189
    445  1.40   thorpej 
    446  1.25  christos #define	SUNOS_SYS_MAXSYSCALL	190
    447  1.68  jdolecek #define	SUNOS_SYS_NSYSENT	256
    448