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