Home | History | Annotate | Line # | Download | only in sunos32
sunos32_syscall.h revision 1.13
      1 /* $NetBSD: sunos32_syscall.h,v 1.13 2003/10/26 08:11:17 christos Exp $ */
      2 
      3 /*
      4  * System call numbers.
      5  *
      6  * DO NOT EDIT-- this file is automatically generated.
      7  * created from;	NetBSD: syscalls.master,v 1.9 2003/01/18 08:38:15 thorpej Exp
      8  */
      9 
     10 /* syscall: "syscall" ret: "int" args: */
     11 #define	SUNOS32_SYS_syscall	0
     12 
     13 /* syscall: "netbsd32_exit" ret: "int" args: "int" */
     14 #define	SUNOS32_SYS_netbsd32_exit	1
     15 
     16 /* syscall: "fork" ret: "int" args: */
     17 #define	SUNOS32_SYS_fork	2
     18 
     19 /* syscall: "netbsd32_read" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" */
     20 #define	SUNOS32_SYS_netbsd32_read	3
     21 
     22 /* syscall: "netbsd32_write" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_voidp" "netbsd32_size_t" */
     23 #define	SUNOS32_SYS_netbsd32_write	4
     24 
     25 /* syscall: "open" ret: "int" args: "const netbsd32_charp" "int" "int" */
     26 #define	SUNOS32_SYS_open	5
     27 
     28 /* syscall: "netbsd32_close" ret: "int" args: "int" */
     29 #define	SUNOS32_SYS_netbsd32_close	6
     30 
     31 /* syscall: "wait4" ret: "int" args: "int" "netbsd32_intp" "int" "netbsd32_rusagep_t" */
     32 #define	SUNOS32_SYS_wait4	7
     33 
     34 /* syscall: "creat" ret: "int" args: "const netbsd32_charp" "int" */
     35 #define	SUNOS32_SYS_creat	8
     36 
     37 /* syscall: "netbsd32_link" ret: "int" args: "netbsd32_charp" "netbsd32_charp" */
     38 #define	SUNOS32_SYS_netbsd32_link	9
     39 
     40 /* syscall: "netbsd32_unlink" ret: "int" args: "netbsd32_charp" */
     41 #define	SUNOS32_SYS_netbsd32_unlink	10
     42 
     43 /* syscall: "execv" ret: "int" args: "const netbsd32_charp" "netbsd32_charpp" */
     44 #define	SUNOS32_SYS_execv	11
     45 
     46 /* syscall: "netbsd32_chdir" ret: "int" args: "netbsd32_charp" */
     47 #define	SUNOS32_SYS_netbsd32_chdir	12
     48 
     49 				/* 13 is obsolete old_time */
     50 /* syscall: "mknod" ret: "int" args: "const netbsd32_charp" "int" "int" */
     51 #define	SUNOS32_SYS_mknod	14
     52 
     53 /* syscall: "netbsd32_chmod" ret: "int" args: "netbsd32_charp" "int" */
     54 #define	SUNOS32_SYS_netbsd32_chmod	15
     55 
     56 /* syscall: "netbsd32_chown" ret: "int" args: "netbsd32_charp" "int" "int" */
     57 #define	SUNOS32_SYS_netbsd32_chown	16
     58 
     59 /* syscall: "netbsd32_break" ret: "int" args: "netbsd32_charp" */
     60 #define	SUNOS32_SYS_netbsd32_break	17
     61 
     62 				/* 18 is obsolete old_stat */
     63 /* syscall: "compat_43_netbsd32_olseek" ret: "netbsd32_long" args: "int" "netbsd32_long" "int" */
     64 #define	SUNOS32_SYS_compat_43_netbsd32_olseek	19
     65 
     66 /* syscall: "getpid_with_ppid" ret: "pid_t" args: */
     67 #define	SUNOS32_SYS_getpid_with_ppid	20
     68 
     69 				/* 21 is obsolete sunos_old_mount */
     70 /* syscall: "netbsd32_setuid" ret: "int" args: "uid_t" */
     71 #define	SUNOS32_SYS_netbsd32_setuid	23
     72 
     73 /* syscall: "getuid_with_euid" ret: "uid_t" args: */
     74 #define	SUNOS32_SYS_getuid_with_euid	24
     75 
     76 /* syscall: "stime" ret: "int" args: "sunos32_time_tp" */
     77 #define	SUNOS32_SYS_stime	25
     78 
     79 /* syscall: "ptrace" ret: "netbsd32_long" args: "int" "pid_t" "netbsd32_caddr_t" "int" "netbsd32_charp" */
     80 #define	SUNOS32_SYS_ptrace	26
     81 
     82 /* syscall: "access" ret: "int" args: "const netbsd32_charp" "int" */
     83 #define	SUNOS32_SYS_access	33
     84 
     85 /* syscall: "sync" ret: "int" args: */
     86 #define	SUNOS32_SYS_sync	36
     87 
     88 /* syscall: "netbsd32_kill" ret: "int" args: "int" "int" */
     89 #define	SUNOS32_SYS_netbsd32_kill	37
     90 
     91 /* syscall: "stat" ret: "int" args: "const netbsd32_charp" "netbsd32_stat43p_t" */
     92 #define	SUNOS32_SYS_stat	38
     93 
     94 /* syscall: "lstat" ret: "int" args: "const netbsd32_charp" "netbsd32_stat43p_t" */
     95 #define	SUNOS32_SYS_lstat	40
     96 
     97 /* syscall: "netbsd32_dup" ret: "int" args: "u_int" */
     98 #define	SUNOS32_SYS_netbsd32_dup	41
     99 
    100 /* syscall: "pipe" ret: "int" args: */
    101 #define	SUNOS32_SYS_pipe	42
    102 
    103 /* syscall: "netbsd32_profil" ret: "int" args: "netbsd32_caddr_t" "u_int" "u_int" "u_int" */
    104 #define	SUNOS32_SYS_netbsd32_profil	44
    105 
    106 /* syscall: "netbsd32_setgid" ret: "int" args: "uid_t" */
    107 #define	SUNOS32_SYS_netbsd32_setgid	46
    108 
    109 /* syscall: "getgid_with_egid" ret: "gid_t" args: */
    110 #define	SUNOS32_SYS_getgid_with_egid	47
    111 
    112 /* syscall: "netbsd32_acct" ret: "int" args: "netbsd32_charp" */
    113 #define	SUNOS32_SYS_netbsd32_acct	51
    114 
    115 /* syscall: "mctl" ret: "int" args: "netbsd32_voidp" "int" "int" "netbsd32_voidp" */
    116 #define	SUNOS32_SYS_mctl	53
    117 
    118 /* syscall: "ioctl" ret: "int" args: "int" "netbsd32_u_long" "netbsd32_caddr_t" */
    119 #define	SUNOS32_SYS_ioctl	54
    120 
    121 /* syscall: "reboot" ret: "int" args: "int" "netbsd32_charp" */
    122 #define	SUNOS32_SYS_reboot	55
    123 
    124 				/* 56 is obsolete sunos_owait3 */
    125 /* syscall: "netbsd32_symlink" ret: "int" args: "netbsd32_charp" "netbsd32_charp" */
    126 #define	SUNOS32_SYS_netbsd32_symlink	57
    127 
    128 /* syscall: "netbsd32_readlink" ret: "int" args: "netbsd32_charp" "netbsd32_charp" "int" */
    129 #define	SUNOS32_SYS_netbsd32_readlink	58
    130 
    131 /* syscall: "execve" ret: "int" args: "const netbsd32_charp" "netbsd32_charpp" "netbsd32_charpp" */
    132 #define	SUNOS32_SYS_execve	59
    133 
    134 /* syscall: "netbsd32_umask" ret: "int" args: "int" */
    135 #define	SUNOS32_SYS_netbsd32_umask	60
    136 
    137 /* syscall: "netbsd32_chroot" ret: "int" args: "netbsd32_charp" */
    138 #define	SUNOS32_SYS_netbsd32_chroot	61
    139 
    140 /* syscall: "compat_43_netbsd32_fstat43" ret: "int" args: "int" "netbsd32_stat43p_t" */
    141 #define	SUNOS32_SYS_compat_43_netbsd32_fstat43	62
    142 
    143 /* syscall: "ogetpagesize" ret: "int" args: */
    144 #define	SUNOS32_SYS_ogetpagesize	64
    145 
    146 /* syscall: "omsync" ret: "int" args: "netbsd32_caddr_t" "netbsd32_size_t" "int" */
    147 #define	SUNOS32_SYS_omsync	65
    148 
    149 /* syscall: "vfork" ret: "int" args: */
    150 #define	SUNOS32_SYS_vfork	66
    151 
    152 				/* 67 is obsolete vread */
    153 				/* 68 is obsolete vwrite */
    154 /* syscall: "netbsd32_sbrk" ret: "int" args: "netbsd32_intptr_t" */
    155 #define	SUNOS32_SYS_netbsd32_sbrk	69
    156 
    157 /* syscall: "netbsd32_sstk" ret: "int" args: "int" */
    158 #define	SUNOS32_SYS_netbsd32_sstk	70
    159 
    160 /* syscall: "mmap" ret: "netbsd32_voidp" args: "netbsd32_voidp" "netbsd32_size_t" "int" "int" "int" "netbsd32_long" */
    161 #define	SUNOS32_SYS_mmap	71
    162 
    163 /* syscall: "vadvise" ret: "int" args: "int" */
    164 #define	SUNOS32_SYS_vadvise	72
    165 
    166 /* syscall: "netbsd32_munmap" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" */
    167 #define	SUNOS32_SYS_netbsd32_munmap	73
    168 
    169 /* syscall: "netbsd32_mprotect" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */
    170 #define	SUNOS32_SYS_netbsd32_mprotect	74
    171 
    172 /* syscall: "netbsd32_madvise" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */
    173 #define	SUNOS32_SYS_netbsd32_madvise	75
    174 
    175 /* syscall: "vhangup" ret: "int" args: */
    176 #define	SUNOS32_SYS_vhangup	76
    177 
    178 /* syscall: "netbsd32_mincore" ret: "int" args: "netbsd32_caddr_t" "netbsd32_size_t" "netbsd32_charp" */
    179 #define	SUNOS32_SYS_netbsd32_mincore	78
    180 
    181 /* syscall: "netbsd32_getgroups" ret: "int" args: "u_int" "netbsd32_gid_tp" */
    182 #define	SUNOS32_SYS_netbsd32_getgroups	79
    183 
    184 /* syscall: "netbsd32_setgroups" ret: "int" args: "u_int" "netbsd32_gid_tp" */
    185 #define	SUNOS32_SYS_netbsd32_setgroups	80
    186 
    187 /* syscall: "getpgrp" ret: "int" args: */
    188 #define	SUNOS32_SYS_getpgrp	81
    189 
    190 /* syscall: "setpgrp" ret: "int" args: "int" "int" */
    191 #define	SUNOS32_SYS_setpgrp	82
    192 
    193 /* syscall: "netbsd32_setitimer" ret: "int" args: "u_int" "netbsd32_itimervalp_t" "netbsd32_itimervalp_t" */
    194 #define	SUNOS32_SYS_netbsd32_setitimer	83
    195 
    196 /* syscall: "compat_12_netbsd32_oswapon" ret: "int" args: "netbsd32_charp" */
    197 #define	SUNOS32_SYS_compat_12_netbsd32_oswapon	85
    198 
    199 /* syscall: "netbsd32_getitimer" ret: "int" args: "u_int" "netbsd32_itimervalp_t" */
    200 #define	SUNOS32_SYS_netbsd32_getitimer	86
    201 
    202 /* syscall: "compat_43_netbsd32_ogethostname" ret: "int" args: "netbsd32_charp" "u_int" */
    203 #define	SUNOS32_SYS_compat_43_netbsd32_ogethostname	87
    204 
    205 /* syscall: "compat_43_netbsd32_osethostname" ret: "int" args: "netbsd32_charp" "u_int" */
    206 #define	SUNOS32_SYS_compat_43_netbsd32_osethostname	88
    207 
    208 /* syscall: "ogetdtablesize" ret: "int" args: */
    209 #define	SUNOS32_SYS_ogetdtablesize	89
    210 
    211 /* syscall: "netbsd32_dup2" ret: "int" args: "u_int" "u_int" */
    212 #define	SUNOS32_SYS_netbsd32_dup2	90
    213 
    214 /* syscall: "fcntl" ret: "int" args: "int" "int" "netbsd32_voidp" */
    215 #define	SUNOS32_SYS_fcntl	92
    216 
    217 /* syscall: "netbsd32_select" ret: "int" args: "u_int" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "netbsd32_timevalp_t" */
    218 #define	SUNOS32_SYS_netbsd32_select	93
    219 
    220 /* syscall: "netbsd32_fsync" ret: "int" args: "int" */
    221 #define	SUNOS32_SYS_netbsd32_fsync	95
    222 
    223 /* syscall: "netbsd32_setpriority" ret: "int" args: "int" "int" "int" */
    224 #define	SUNOS32_SYS_netbsd32_setpriority	96
    225 
    226 /* syscall: "socket" ret: "int" args: "int" "int" "int" */
    227 #define	SUNOS32_SYS_socket	97
    228 
    229 /* syscall: "netbsd32_connect" ret: "int" args: "int" "netbsd32_caddr_t" "int" */
    230 #define	SUNOS32_SYS_netbsd32_connect	98
    231 
    232 /* syscall: "compat_43_netbsd32_oaccept" ret: "int" args: "int" "netbsd32_caddr_t" "netbsd32_intp" */
    233 #define	SUNOS32_SYS_compat_43_netbsd32_oaccept	99
    234 
    235 /* syscall: "netbsd32_getpriority" ret: "int" args: "int" "int" */
    236 #define	SUNOS32_SYS_netbsd32_getpriority	100
    237 
    238 /* syscall: "compat_43_netbsd32_osend" ret: "int" args: "int" "netbsd32_caddr_t" "int" "int" */
    239 #define	SUNOS32_SYS_compat_43_netbsd32_osend	101
    240 
    241 /* syscall: "compat_43_netbsd32_orecv" ret: "int" args: "int" "netbsd32_caddr_t" "int" "int" */
    242 #define	SUNOS32_SYS_compat_43_netbsd32_orecv	102
    243 
    244 /* syscall: "netbsd32_bind" ret: "int" args: "int" "netbsd32_caddr_t" "int" */
    245 #define	SUNOS32_SYS_netbsd32_bind	104
    246 
    247 /* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "netbsd32_caddr_t" "int" */
    248 #define	SUNOS32_SYS_setsockopt	105
    249 
    250 /* syscall: "netbsd32_listen" ret: "int" args: "int" "int" */
    251 #define	SUNOS32_SYS_netbsd32_listen	106
    252 
    253 /* syscall: "sigvec" ret: "int" args: "int" "netbsd32_sigvecp_t" "netbsd32_sigvecp_t" */
    254 #define	SUNOS32_SYS_sigvec	108
    255 
    256 /* syscall: "compat_43_netbsd32_sigblock" ret: "int" args: "int" */
    257 #define	SUNOS32_SYS_compat_43_netbsd32_sigblock	109
    258 
    259 /* syscall: "compat_43_netbsd32_sigsetmask" ret: "int" args: "int" */
    260 #define	SUNOS32_SYS_compat_43_netbsd32_sigsetmask	110
    261 
    262 /* syscall: "sigsuspend" ret: "int" args: "int" */
    263 #define	SUNOS32_SYS_sigsuspend	111
    264 
    265 /* syscall: "compat_43_netbsd32_osigstack" ret: "int" args: "netbsd32_sigstackp_t" "netbsd32_sigstackp_t" */
    266 #define	SUNOS32_SYS_compat_43_netbsd32_osigstack	112
    267 
    268 /* syscall: "compat_43_netbsd32_orecvmsg" ret: "int" args: "int" "netbsd32_omsghdrp_t" "int" */
    269 #define	SUNOS32_SYS_compat_43_netbsd32_orecvmsg	113
    270 
    271 /* syscall: "compat_43_netbsd32_osendmsg" ret: "int" args: "int" "netbsd32_caddr_t" "int" */
    272 #define	SUNOS32_SYS_compat_43_netbsd32_osendmsg	114
    273 
    274 				/* 115 is obsolete vtrace */
    275 /* syscall: "netbsd32_gettimeofday" ret: "int" args: "netbsd32_timevalp_t" "netbsd32_timezonep_t" */
    276 #define	SUNOS32_SYS_netbsd32_gettimeofday	116
    277 
    278 /* syscall: "netbsd32_getrusage" ret: "int" args: "int" "netbsd32_rusagep_t" */
    279 #define	SUNOS32_SYS_netbsd32_getrusage	117
    280 
    281 /* syscall: "netbsd32_getsockopt" ret: "int" args: "int" "int" "int" "netbsd32_caddr_t" "netbsd32_intp" */
    282 #define	SUNOS32_SYS_netbsd32_getsockopt	118
    283 
    284 /* syscall: "netbsd32_readv" ret: "int" args: "int" "netbsd32_iovecp_t" "u_int" */
    285 #define	SUNOS32_SYS_netbsd32_readv	120
    286 
    287 /* syscall: "netbsd32_writev" ret: "int" args: "int" "netbsd32_iovecp_t" "u_int" */
    288 #define	SUNOS32_SYS_netbsd32_writev	121
    289 
    290 /* syscall: "netbsd32_settimeofday" ret: "int" args: "netbsd32_timevalp_t" "netbsd32_timezonep_t" */
    291 #define	SUNOS32_SYS_netbsd32_settimeofday	122
    292 
    293 /* syscall: "netbsd32_fchown" ret: "int" args: "int" "int" "int" */
    294 #define	SUNOS32_SYS_netbsd32_fchown	123
    295 
    296 /* syscall: "netbsd32_fchmod" ret: "int" args: "int" "int" */
    297 #define	SUNOS32_SYS_netbsd32_fchmod	124
    298 
    299 /* syscall: "compat_43_netbsd32_orecvfrom" ret: "int" args: "int" "netbsd32_caddr_t" "netbsd32_size_t" "int" "netbsd32_caddr_t" "netbsd32_intp" */
    300 #define	SUNOS32_SYS_compat_43_netbsd32_orecvfrom	125
    301 
    302 /* syscall: "netbsd32_setreuid" ret: "int" args: "int" "int" */
    303 #define	SUNOS32_SYS_netbsd32_setreuid	126
    304 
    305 /* syscall: "netbsd32_setregid" ret: "int" args: "int" "int" */
    306 #define	SUNOS32_SYS_netbsd32_setregid	127
    307 
    308 /* syscall: "netbsd32_rename" ret: "int" args: "netbsd32_charp" "netbsd32_charp" */
    309 #define	SUNOS32_SYS_netbsd32_rename	128
    310 
    311 /* syscall: "compat_43_netbsd32_otruncate" ret: "int" args: "netbsd32_charp" "netbsd32_long" */
    312 #define	SUNOS32_SYS_compat_43_netbsd32_otruncate	129
    313 
    314 /* syscall: "compat_43_netbsd32_oftruncate" ret: "int" args: "int" "netbsd32_long" */
    315 #define	SUNOS32_SYS_compat_43_netbsd32_oftruncate	130
    316 
    317 /* syscall: "netbsd32_flock" ret: "int" args: "int" "int" */
    318 #define	SUNOS32_SYS_netbsd32_flock	131
    319 
    320 /* syscall: "netbsd32_sendto" ret: "int" args: "int" "netbsd32_caddr_t" "netbsd32_size_t" "int" "netbsd32_caddr_t" "int" */
    321 #define	SUNOS32_SYS_netbsd32_sendto	133
    322 
    323 /* syscall: "netbsd32_shutdown" ret: "int" args: "int" "int" */
    324 #define	SUNOS32_SYS_netbsd32_shutdown	134
    325 
    326 /* syscall: "socketpair" ret: "int" args: "int" "int" "int" "netbsd32_intp" */
    327 #define	SUNOS32_SYS_socketpair	135
    328 
    329 /* syscall: "netbsd32_mkdir" ret: "int" args: "netbsd32_charp" "int" */
    330 #define	SUNOS32_SYS_netbsd32_mkdir	136
    331 
    332 /* syscall: "netbsd32_rmdir" ret: "int" args: "netbsd32_charp" */
    333 #define	SUNOS32_SYS_netbsd32_rmdir	137
    334 
    335 /* syscall: "netbsd32_utimes" ret: "int" args: "netbsd32_charp" "netbsd32_timevalp_t" */
    336 #define	SUNOS32_SYS_netbsd32_utimes	138
    337 
    338 /* syscall: "sigreturn" ret: "int" args: "netbsd32_sigcontextp_t" */
    339 #define	SUNOS32_SYS_sigreturn	139
    340 
    341 /* syscall: "netbsd32_adjtime" ret: "int" args: "netbsd32_timevalp_t" "netbsd32_timevalp_t" */
    342 #define	SUNOS32_SYS_netbsd32_adjtime	140
    343 
    344 /* syscall: "compat_43_netbsd32_ogetpeername" ret: "int" args: "int" "netbsd32_caddr_t" "netbsd32_intp" */
    345 #define	SUNOS32_SYS_compat_43_netbsd32_ogetpeername	141
    346 
    347 /* syscall: "gethostid" ret: "int" args: */
    348 #define	SUNOS32_SYS_gethostid	142
    349 
    350 /* syscall: "getrlimit" ret: "int" args: "u_int" "netbsd32_orlimitp_t" */
    351 #define	SUNOS32_SYS_getrlimit	144
    352 
    353 /* syscall: "setrlimit" ret: "int" args: "u_int" "netbsd32_orlimitp_t" */
    354 #define	SUNOS32_SYS_setrlimit	145
    355 
    356 /* syscall: "compat_43_netbsd32_killpg" ret: "int" args: "int" "int" */
    357 #define	SUNOS32_SYS_compat_43_netbsd32_killpg	146
    358 
    359 /* syscall: "compat_43_netbsd32_ogetsockname" ret: "int" args: "int" "netbsd32_caddr_t" "netbsd32_intp" */
    360 #define	SUNOS32_SYS_compat_43_netbsd32_ogetsockname	150
    361 
    362 /* syscall: "netbsd32_poll" ret: "int" args: "netbsd32_pollfdp_t" "u_int" "int" */
    363 #define	SUNOS32_SYS_netbsd32_poll	153
    364 
    365 #ifdef NFSSERVER
    366 /* syscall: "nfssvc" ret: "int" args: "int" */
    367 #define	SUNOS32_SYS_nfssvc	155
    368 
    369 #else
    370 #endif
    371 /* syscall: "compat_43_netbsd32_ogetdirentries" ret: "int" args: "int" "netbsd32_charp" "u_int" "netbsd32_longp" */
    372 #define	SUNOS32_SYS_compat_43_netbsd32_ogetdirentries	156
    373 
    374 /* syscall: "statfs" ret: "int" args: "const netbsd32_charp" "sunos32_statfsp_t" */
    375 #define	SUNOS32_SYS_statfs	157
    376 
    377 /* syscall: "fstatfs" ret: "int" args: "int" "sunos32_statfsp_t" */
    378 #define	SUNOS32_SYS_fstatfs	158
    379 
    380 /* syscall: "unmount" ret: "int" args: "netbsd32_charp" */
    381 #define	SUNOS32_SYS_unmount	159
    382 
    383 #ifdef NFS
    384 /* syscall: "async_daemon" ret: "int" args: */
    385 #define	SUNOS32_SYS_async_daemon	160
    386 
    387 /* syscall: "getfh" ret: "int" args: "netbsd32_charp" "netbsd32_fhandlep_t" */
    388 #define	SUNOS32_SYS_getfh	161
    389 
    390 #else
    391 #endif
    392 /* syscall: "compat_09_netbsd32_ogetdomainname" ret: "int" args: "netbsd32_charp" "int" */
    393 #define	SUNOS32_SYS_compat_09_netbsd32_ogetdomainname	162
    394 
    395 /* syscall: "compat_09_netbsd32_osetdomainname" ret: "int" args: "netbsd32_charp" "int" */
    396 #define	SUNOS32_SYS_compat_09_netbsd32_osetdomainname	163
    397 
    398 /* syscall: "quotactl" ret: "int" args: "int" "netbsd32_charp" "int" "netbsd32_caddr_t" */
    399 #define	SUNOS32_SYS_quotactl	165
    400 
    401 /* syscall: "exportfs" ret: "int" args: "netbsd32_charp" "netbsd32_charp" */
    402 #define	SUNOS32_SYS_exportfs	166
    403 
    404 /* syscall: "mount" ret: "int" args: "netbsd32_charp" "netbsd32_charp" "int" "netbsd32_caddr_t" */
    405 #define	SUNOS32_SYS_mount	167
    406 
    407 /* syscall: "ustat" ret: "int" args: "int" "sunos32_ustatp_t" */
    408 #define	SUNOS32_SYS_ustat	168
    409 
    410 #ifdef SYSVSEM
    411 /* syscall: "osemsys" ret: "int" args: "int" "int" "int" "int" "int" */
    412 #define	SUNOS32_SYS_osemsys	169
    413 
    414 #else
    415 #endif
    416 #ifdef SYSVMSG
    417 /* syscall: "omsgsys" ret: "int" args: "int" "int" "int" "int" "int" "int" */
    418 #define	SUNOS32_SYS_omsgsys	170
    419 
    420 #else
    421 #endif
    422 #ifdef SYSVSHM
    423 /* syscall: "oshmsys" ret: "int" args: "int" "int" "int" "int" */
    424 #define	SUNOS32_SYS_oshmsys	171
    425 
    426 #else
    427 #endif
    428 /* syscall: "auditsys" ret: "int" args: "netbsd32_charp" */
    429 #define	SUNOS32_SYS_auditsys	172
    430 
    431 /* syscall: "getdents" ret: "int" args: "int" "netbsd32_charp" "int" */
    432 #define	SUNOS32_SYS_getdents	174
    433 
    434 /* syscall: "setsid" ret: "int" args: */
    435 #define	SUNOS32_SYS_setsid	175
    436 
    437 /* syscall: "netbsd32_fchdir" ret: "int" args: "int" */
    438 #define	SUNOS32_SYS_netbsd32_fchdir	176
    439 
    440 /* syscall: "netbsd32_fchroot" ret: "int" args: "int" */
    441 #define	SUNOS32_SYS_netbsd32_fchroot	177
    442 
    443 /* syscall: "sigpending" ret: "int" args: "netbsd32_intp" */
    444 #define	SUNOS32_SYS_sigpending	183
    445 
    446 /* syscall: "netbsd32_setpgid" ret: "int" args: "int" "int" */
    447 #define	SUNOS32_SYS_netbsd32_setpgid	185
    448 
    449 /* syscall: "netbsd32_pathconf" ret: "netbsd32_long" args: "netbsd32_charp" "int" */
    450 #define	SUNOS32_SYS_netbsd32_pathconf	186
    451 
    452 /* syscall: "netbsd32_fpathconf" ret: "netbsd32_long" args: "int" "int" */
    453 #define	SUNOS32_SYS_netbsd32_fpathconf	187
    454 
    455 /* syscall: "sysconf" ret: "int" args: "int" */
    456 #define	SUNOS32_SYS_sysconf	188
    457 
    458 /* syscall: "uname" ret: "int" args: "sunos32_utsnamep_t" */
    459 #define	SUNOS32_SYS_uname	189
    460 
    461 #define	SUNOS32_SYS_MAXSYSCALL	190
    462 #define	SUNOS32_SYS_NSYSENT	256
    463