BSD 4_4_Lite2 development
[unix-history] / usr / src / sys / hp / hpux / hpux_sysent.c
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from %W% (Berkeley) %G%
*/
#include <sys/param.h>
#include <sys/systm.h>
int nosys(),notimp();
int exit();
int hpuxfork();
int hpuxread();
int hpuxwrite();
int hpuxopen();
int close();
int hpuxwait();
int hpuxcreat();
int link();
int unlink();
int hpuxexecv();
int chdir();
int mknod();
int chmod();
int chown();
int obreak();
int compat_43_lseek();
int getpid();
int setuid();
int getuid();
int hpuxptrace();
int access();
int sync();
int hpuxkill();
int hpuxstat();
int hpuxlstat();
int hpuxdup();
int pipe();
int profil();
int setgid();
int getgid();
int hpuxioctl();
int symlink();
int hpuxutssys();
int readlink();
int execve();
int umask();
int chroot();
int hpuxfcntl();
int hpuxulimit();
int hpuxvfork();
int hpuxread();
int hpuxwrite();
int hpuxmmap();
int munmap();
int getgroups();
int setgroups();
int hpuxgetpgrp2();
int hpuxsetpgrp2();
int setitimer();
int hpuxwait3();
int getitimer();
int dup2();
int hpuxfstat();
int select();
int fsync();
int sigreturn();
int hpuxsigvec();
int hpuxsigblock();
int hpuxsigsetmask();
int hpuxsigpause();
int compat_43_sigstack();
int gettimeofday();
int hpuxreadv();
int hpuxwritev();
int settimeofday();
int fchown();
int fchmod();
int hpuxsetresuid();
int hpuxsetresgid();
int rename();
int hpuxsysconf();
int mkdir();
int rmdir();
int hpuxrtprio();
int hpuxnetioctl();
int hpuxlockf();
int hpuxsemget();
int hpuxsemctl();
int hpuxsemop();
#ifdef SYSVSHM
int hpuxshmget();
int hpuxshmctl();
int hpuxshmat();
int hpuxshmdt();
#else
#endif
int hpuxadvise();
int hpuxgetcontext();
int hpuxgetaccess();
int hpuxwaitpid();
int getdirentries();
int hpuxgetdomainname();
int hpuxsetdomainname();
int hpuxsigaction();
int hpuxsigprocmask();
int hpuxsigpending();
int hpuxsigsuspend();
int getdtablesize();
int fchdir();
int bind();
int connect();
int getsockopt();
int listen();
int sendto();
int hpuxsetsockopt2();
int shutdown();
int socket();
int socketpair();
int hpuxsemctl();
#ifdef SYSVSHM
int hpuxnshmctl();
#else
#endif
#ifdef COMPAT_OHPUX
#define compat(n, name) n, n * 4, __CONCAT(compat_43_,name)
int compat_43_hpuxtime();
int compat_43_hpuxstat();
int compat_43_hpuxstime();
int compat_43_hpuxalarm();
int compat_43_hpuxfstat();
int compat_43_hpuxpause();
int compat_43_hpuxutime();
int compat_43_hpuxstty();
int compat_43_hpuxgtty();
int compat_43_hpuxnice();
int compat_43_hpuxftime();
int compat_43_hpuxsetpgrp();
int compat_43_hpuxtimes();
int compat_43_hpuxssig();
int compat_43_truncate();
int compat_43_ftruncate();
int compat_43_getrlimit();
int compat_43_setrlimit();
#ifdef SYSVSHM
#else
#endif
int compat_43_accept();
int compat_43_getpeername();
int compat_43_getsockname();
int compat_43_recv();
int compat_43_recvfrom();
int compat_43_recvmsg();
int compat_43_send();
int compat_43_sendmsg();
#ifdef SYSVSHM
#else
#endif
#else /* COMPAT_OHPUX */
#define compat(n, name) 0, 0, nosys
#endif /* COMPAT_OHPUX */
struct sysent hpuxsysent[] = {
{ 0, 0, nosys }, /* 0 = indir or out-of-range */
{ 1, 4, exit }, /* 1 = exit */
{ 0, 0, hpuxfork }, /* 2 = fork */
{ 3, 12, hpuxread }, /* 3 = read */
{ 3, 12, hpuxwrite }, /* 4 = write */
{ 3, 12, hpuxopen }, /* 5 = open */
{ 1, 4, close }, /* 6 = close */
{ 1, 4, hpuxwait }, /* 7 = owait */
{ 2, 8, hpuxcreat }, /* 8 = ocreat */
{ 2, 8, link }, /* 9 = link */
{ 1, 4, unlink }, /* 10 = unlink */
{ 2, 8, hpuxexecv }, /* 11 = execv */
{ 1, 4, chdir }, /* 12 = chdir */
{ compat(1,hpuxtime) }, /* 13 = old time */
{ 3, 12, mknod }, /* 14 = mknod */
{ 2, 8, chmod }, /* 15 = chmod */
{ 3, 12, chown }, /* 16 = chown */
{ 1, 4, obreak }, /* 17 = break */
{ compat(2,hpuxstat) }, /* 18 = old stat */
{ 3, 12, compat_43_lseek }, /* 19 = compat_43_lseek */
{ 0, 0, getpid }, /* 20 = getpid */
{ 3, 12, notimp }, /* 21 = mount (unimplemented) */
{ 1, 4, notimp }, /* 22 = umount (unimplemented) */
{ 1, 4, setuid }, /* 23 = setuid */
{ 0, 0, getuid }, /* 24 = getuid */
{ compat(1,hpuxstime) }, /* 25 = old stime */
{ 4, 16, hpuxptrace }, /* 26 = ptrace */
{ compat(1,hpuxalarm) }, /* 27 = old alarm */
{ compat(2,hpuxfstat) }, /* 28 = old fstat */
{ compat(0,hpuxpause) }, /* 29 = old pause */
{ compat(2,hpuxutime) }, /* 30 = old utime */
{ compat(2,hpuxstty) }, /* 31 = old stty */
{ compat(2,hpuxgtty) }, /* 32 = old gtty */
{ 2, 8, access }, /* 33 = access */
{ compat(1,hpuxnice) }, /* 34 = old nice */
{ compat(1,hpuxftime) }, /* 35 = old ftime */
{ 0, 0, sync }, /* 36 = sync */
{ 2, 8, hpuxkill }, /* 37 = kill */
{ 2, 8, hpuxstat }, /* 38 = stat */
{ compat(1,hpuxsetpgrp) }, /* 39 = old setpgrp */
{ 2, 8, hpuxlstat }, /* 40 = lstat */
{ 1, 4, hpuxdup }, /* 41 = dup */
{ 0, 0, pipe }, /* 42 = pipe */
{ compat(1,hpuxtimes) }, /* 43 = old times */
{ 4, 16, profil }, /* 44 = profil */
{ 4, 16, notimp }, /* 45 = ki_syscall (unimplemented) */
{ 1, 4, setgid }, /* 46 = setgid */
{ 0, 0, getgid }, /* 47 = getgid */
{ compat(2,hpuxssig) }, /* 48 = old ssig */
{ 0, 0, nosys }, /* 49 = reserved for USG */
{ 0, 0, nosys }, /* 50 = reserved for USG */
{ 1, 4, notimp }, /* 51 = acct (unimplemented) */
{ 0, 0, nosys }, /* 52 = nosys */
{ 0, 0, nosys }, /* 53 = nosys */
{ 3, 12, hpuxioctl }, /* 54 = ioctl */
{ 4, 16, notimp }, /* 55 = reboot (unimplemented) */
{ 2, 8, symlink }, /* 56 = symlink */
{ 3, 12, hpuxutssys }, /* 57 = utssys */
{ 3, 12, readlink }, /* 58 = readlink */
{ 3, 12, execve }, /* 59 = execve */
{ 1, 4, umask }, /* 60 = umask */
{ 1, 4, chroot }, /* 61 = chroot */
{ 3, 12, hpuxfcntl }, /* 62 = fcntl */
{ 2, 8, hpuxulimit }, /* 63 = ulimit */
{ 0, 0, nosys }, /* 64 = nosys */
{ 0, 0, nosys }, /* 65 = nosys */
{ 0, 0, hpuxvfork }, /* 66 = vfork */
{ 0, 0, hpuxread }, /* 67 = vread */
{ 0, 0, hpuxwrite }, /* 68 = vwrite */
{ 0, 0, nosys }, /* 69 = nosys */
{ 0, 0, nosys }, /* 70 = nosys */
{ 6, 24, hpuxmmap }, /* 71 = mmap */
{ 0, 0, nosys }, /* 72 = nosys */
{ 2, 8, munmap }, /* 73 = munmap */
{ 3, 12, notimp }, /* 74 = mprotect (unimplemented) */
{ 0, 0, nosys }, /* 75 = nosys */
{ 0, 0, nosys }, /* 76 = nosys */
{ 0, 0, nosys }, /* 77 = nosys */
{ 0, 0, nosys }, /* 78 = nosys */
{ 2, 8, getgroups }, /* 79 = getgroups */
{ 2, 8, setgroups }, /* 80 = setgroups */
{ 1, 4, hpuxgetpgrp2 }, /* 81 = getpgrp2 */
{ 2, 8, hpuxsetpgrp2 }, /* 82 = setpgrp2 */
{ 3, 12, setitimer }, /* 83 = setitimer */
{ 3, 12, hpuxwait3 }, /* 84 = wait3 */
{ 5, 20, notimp }, /* 85 = swapon (unimplemented) */
{ 2, 8, getitimer }, /* 86 = getitimer */
{ 0, 0, nosys }, /* 87 = nosys */
{ 0, 0, nosys }, /* 88 = nosys */
{ 0, 0, nosys }, /* 89 = nosys */
{ 2, 8, dup2 }, /* 90 = dup2 */
{ 0, 0, nosys }, /* 91 = nosys */
{ 2, 8, hpuxfstat }, /* 92 = fstat */
{ 5, 20, select }, /* 93 = select */
{ 0, 0, nosys }, /* 94 = nosys */
{ 1, 4, fsync }, /* 95 = fsync */
{ 0, 0, nosys }, /* 96 = nosys */
{ 0, 0, nosys }, /* 97 = nosys */
{ 0, 0, nosys }, /* 98 = nosys */
{ 0, 0, nosys }, /* 99 = nosys */
{ 0, 0, nosys }, /* 100 = nosys */
{ 0, 0, nosys }, /* 101 = nosys */
{ 0, 0, nosys }, /* 102 = nosys */
{ 1, 4, sigreturn }, /* 103 = sigreturn */
{ 0, 0, nosys }, /* 104 = nosys */
{ 0, 0, nosys }, /* 105 = nosys */
{ 0, 0, nosys }, /* 106 = nosys */
{ 0, 0, nosys }, /* 107 = nosys */
{ 3, 12, hpuxsigvec }, /* 108 = sigvec */
{ 1, 4, hpuxsigblock }, /* 109 = sigblock */
{ 1, 4, hpuxsigsetmask }, /* 110 = sigsetmask */
{ 1, 4, hpuxsigpause }, /* 111 = sigpause */
{ 2, 8, compat_43_sigstack }, /* 112 = compat_43_sigstack */
{ 0, 0, nosys }, /* 113 = nosys */
{ 0, 0, nosys }, /* 114 = nosys */
{ 0, 0, nosys }, /* 115 = nosys */
{ 2, 8, gettimeofday }, /* 116 = gettimeofday */
{ 0, 0, nosys }, /* 117 = nosys */
{ 0, 0, nosys }, /* 118 = nosys */
{ 3, 12, notimp }, /* 119 = hpib_io_stub (unimplemented) */
{ 3, 12, hpuxreadv }, /* 120 = readv */
{ 3, 12, hpuxwritev }, /* 121 = writev */
{ 2, 8, settimeofday }, /* 122 = settimeofday */
{ 3, 12, fchown }, /* 123 = fchown */
{ 2, 8, fchmod }, /* 124 = fchmod */
{ 0, 0, nosys }, /* 125 = nosys */
{ 3, 12, hpuxsetresuid }, /* 126 = setresuid */
{ 3, 12, hpuxsetresgid }, /* 127 = setresgid */
{ 2, 8, rename }, /* 128 = rename */
{ compat(2,truncate) }, /* 129 = old truncate */
{ compat(2,ftruncate) }, /* 130 = old ftruncate */
{ 0, 0, nosys }, /* 131 = nosys */
{ 1, 4, hpuxsysconf }, /* 132 = sysconf */
{ 0, 0, nosys }, /* 133 = nosys */
{ 0, 0, nosys }, /* 134 = nosys */
{ 0, 0, nosys }, /* 135 = nosys */
{ 2, 8, mkdir }, /* 136 = mkdir */
{ 1, 4, rmdir }, /* 137 = rmdir */
{ 0, 0, nosys }, /* 138 = nosys */
{ 0, 0, nosys }, /* 139 = nosys */
{ 0, 0, nosys }, /* 140 = nosys */
{ 0, 0, nosys }, /* 141 = nosys */
{ 0, 0, nosys }, /* 142 = nosys */
{ 0, 0, nosys }, /* 143 = nosys */
{ compat(2,getrlimit) }, /* 144 = old getrlimit */
{ compat(2,setrlimit) }, /* 145 = old setrlimit */
{ 0, 0, nosys }, /* 146 = nosys */
{ 0, 0, nosys }, /* 147 = nosys */
{ 0, 0, nosys }, /* 148 = nosys */
{ 0, 0, nosys }, /* 149 = nosys */
{ 0, 0, nosys }, /* 150 = nosys */
{ 3, 12, notimp }, /* 151 = privgrp (unimplemented) */
{ 2, 8, hpuxrtprio }, /* 152 = rtprio */
{ 1, 4, notimp }, /* 153 = plock (unimplemented) */
{ 2, 8, hpuxnetioctl }, /* 154 = netioctl */
{ 4, 16, hpuxlockf }, /* 155 = lockf */
{ 3, 12, hpuxsemget }, /* 156 = semget */
{ 4, 16, hpuxsemctl }, /* 157 = semctl */
{ 3, 12, hpuxsemop }, /* 158 = semop */
{ 2, 8, notimp }, /* 159 = msgget (unimplemented) */
{ 3, 12, notimp }, /* 160 = msgctl (unimplemented) */
{ 4, 16, notimp }, /* 161 = msgsnd (unimplemented) */
{ 5, 20, notimp }, /* 162 = msgrcv (unimplemented) */
#ifdef SYSVSHM
{ 3, 12, hpuxshmget }, /* 163 = shmget */
{ 3, 12, hpuxshmctl }, /* 164 = shmctl */
{ 3, 12, hpuxshmat }, /* 165 = shmat */
{ 1, 4, hpuxshmdt }, /* 166 = shmdt */
#else
{ 3, 12, notimp }, /* 163 = shmget (unimplemented) */
{ 3, 12, notimp }, /* 164 = shmctl (unimplemented) */
{ 3, 12, notimp }, /* 165 = shmat (unimplemented) */
{ 1, 4, notimp }, /* 166 = shmdt (unimplemented) */
#endif
{ 1, 4, hpuxadvise }, /* 167 = m68020_advise */
{ 2, 8, notimp }, /* 168 = nsp_init (unimplemented) */
{ 3, 12, notimp }, /* 169 = cluster (unimplemented) */
{ 4, 16, notimp }, /* 170 = mkrnod (unimplemented) */
{ 0, 0, nosys }, /* 171 = nosys */
{ 0, 0, notimp }, /* 172 = unsp_open (unimplemented) */
{ 0, 0, nosys }, /* 173 = nosys */
{ 3, 12, hpuxgetcontext }, /* 174 = getcontext */
{ 0, 0, nosys }, /* 175 = nosys */
{ 0, 0, nosys }, /* 176 = nosys */
{ 0, 0, nosys }, /* 177 = nosys */
{ 0, 0, notimp }, /* 178 = lsync (unimplemented) */
{ 0, 0, nosys }, /* 179 = nosys */
{ 0, 0, notimp }, /* 180 = mysite (unimplemented) */
{ 1, 4, notimp }, /* 181 = sitels (unimplemented) */
{ 0, 0, nosys }, /* 182 = nosys */
{ 0, 0, nosys }, /* 183 = nosys */
{ 4, 16, notimp }, /* 184 = dskless_stats (unimplemented) */
{ 0, 0, nosys }, /* 185 = nosys */
{ 3, 12, notimp }, /* 186 = setacl (unimplemented) */
{ 3, 12, notimp }, /* 187 = fsetacl (unimplemented) */
{ 3, 12, notimp }, /* 188 = getacl (unimplemented) */
{ 3, 12, notimp }, /* 189 = fgetacl (unimplemented) */
{ 6, 24, hpuxgetaccess }, /* 190 = getaccess */
{ 0, 0, notimp }, /* 191 = getaudid (unimplemented) */
{ 1, 4, notimp }, /* 192 = setaudid (unimplemented) */
{ 0, 0, notimp }, /* 193 = getaudproc (unimplemented) */
{ 1, 4, notimp }, /* 194 = setaudproc (unimplemented) */
{ 2, 8, notimp }, /* 195 = getevent (unimplemented) */
{ 2, 8, notimp }, /* 196 = setevent (unimplemented) */
{ 1, 4, notimp }, /* 197 = audwrite (unimplemented) */
{ 1, 4, notimp }, /* 198 = audswitch (unimplemented) */
{ 4, 16, notimp }, /* 199 = audctl (unimplemented) */
{ 3, 12, hpuxwaitpid }, /* 200 = waitpid */
{ 0, 0, nosys }, /* 201 = nosys */
{ 0, 0, nosys }, /* 202 = nosys */
{ 0, 0, nosys }, /* 203 = nosys */
{ 0, 0, nosys }, /* 204 = nosys */
{ 0, 0, nosys }, /* 205 = nosys */
{ 0, 0, nosys }, /* 206 = nosys */
{ 0, 0, nosys }, /* 207 = nosys */
{ 0, 0, nosys }, /* 208 = nosys */
{ 0, 0, nosys }, /* 209 = nosys */
{ 0, 0, nosys }, /* 210 = nosys */
{ 0, 0, nosys }, /* 211 = nosys */
{ 0, 0, nosys }, /* 212 = nosys */
{ 0, 0, nosys }, /* 213 = nosys */
{ 0, 0, nosys }, /* 214 = nosys */
{ 0, 0, nosys }, /* 215 = nosys */
{ 0, 0, nosys }, /* 216 = nosys */
{ 0, 0, nosys }, /* 217 = nosys */
{ 0, 0, nosys }, /* 218 = nosys */
{ 0, 0, nosys }, /* 219 = nosys */
{ 0, 0, nosys }, /* 220 = nosys */
{ 0, 0, nosys }, /* 221 = nosys */
{ 0, 0, nosys }, /* 222 = nosys */
{ 0, 0, nosys }, /* 223 = nosys */
{ 0, 0, nosys }, /* 224 = nosys */
{ 2, 8, notimp }, /* 225 = pathconf (unimplemented) */
{ 2, 8, notimp }, /* 226 = fpathconf (unimplemented) */
{ 0, 0, nosys }, /* 227 = nosys */
{ 0, 0, nosys }, /* 228 = nosys */
{ 0, 0, notimp }, /* 229 = async_daemon (unimplemented) */
{ 3, 12, notimp }, /* 230 = nfs_fcntl (unimplemented) */
{ 4, 16, getdirentries }, /* 231 = getdirentries */
{ 2, 8, hpuxgetdomainname }, /* 232 = getdomainname */
{ 2, 8, notimp }, /* 233 = nfs_getfh (unimplemented) */
{ 4, 16, notimp }, /* 234 = vfsmount (unimplemented) */
{ 1, 4, notimp }, /* 235 = nfs_svc (unimplemented) */
{ 2, 8, hpuxsetdomainname }, /* 236 = setdomainname */
{ 2, 8, notimp }, /* 237 = statfs (unimplemented) */
{ 2, 8, notimp }, /* 238 = fstatfs (unimplemented) */
{ 3, 12, hpuxsigaction }, /* 239 = sigaction */
{ 3, 12, hpuxsigprocmask }, /* 240 = sigprocmask */
{ 1, 4, hpuxsigpending }, /* 241 = sigpending */
{ 1, 4, hpuxsigsuspend }, /* 242 = sigsuspend */
{ 4, 16, notimp }, /* 243 = fsctl (unimplemented) */
{ 0, 0, nosys }, /* 244 = nosys */
{ 3, 12, notimp }, /* 245 = pstat (unimplemented) */
{ 0, 0, nosys }, /* 246 = nosys */
{ 0, 0, nosys }, /* 247 = nosys */
{ 0, 0, nosys }, /* 248 = nosys */
{ 0, 0, nosys }, /* 249 = nosys */
{ 0, 0, nosys }, /* 250 = nosys */
{ 0, 0, nosys }, /* 251 = nosys */
{ 0, 0, nosys }, /* 252 = nosys */
{ 0, 0, nosys }, /* 253 = nosys */
{ 0, 0, nosys }, /* 254 = nosys */
{ 0, 0, nosys }, /* 255 = nosys */
{ 0, 0, nosys }, /* 256 = nosys */
{ 0, 0, nosys }, /* 257 = nosys */
{ 0, 0, nosys }, /* 258 = nosys */
{ 0, 0, nosys }, /* 259 = nosys */
{ 0, 0, nosys }, /* 260 = nosys */
{ 0, 0, nosys }, /* 261 = nosys */
{ 0, 0, nosys }, /* 262 = nosys */
{ 0, 0, nosys }, /* 263 = nosys */
{ 0, 0, nosys }, /* 264 = nosys */
{ 0, 0, nosys }, /* 265 = nosys */
{ 0, 0, nosys }, /* 266 = nosys */
{ 0, 0, nosys }, /* 267 = nosys */
{ 0, 0, getdtablesize }, /* 268 = getnumfds */
{ 0, 0, nosys }, /* 269 = nosys */
{ 0, 0, nosys }, /* 270 = nosys */
{ 0, 0, nosys }, /* 271 = nosys */
{ 1, 4, fchdir }, /* 272 = fchdir */
{ 0, 0, nosys }, /* 273 = nosys */
{ 0, 0, nosys }, /* 274 = nosys */
{ compat(3,accept) }, /* 275 = old accept */
{ 3, 12, bind }, /* 276 = bind */
{ 3, 12, connect }, /* 277 = connect */
{ compat(3,getpeername) }, /* 278 = old getpeername */
{ compat(3,getsockname) }, /* 279 = old getsockname */
{ 5, 20, getsockopt }, /* 280 = getsockopt */
{ 2, 8, listen }, /* 281 = listen */
{ compat(4,recv) }, /* 282 = old recv */
{ compat(6,recvfrom) }, /* 283 = old recvfrom */
{ compat(3,recvmsg) }, /* 284 = old recvmsg */
{ compat(4,send) }, /* 285 = old send */
{ compat(3,sendmsg) }, /* 286 = old sendmsg */
{ 6, 24, sendto }, /* 287 = sendto */
{ 5, 20, hpuxsetsockopt2 }, /* 288 = setsockopt2 */
{ 2, 8, shutdown }, /* 289 = shutdown */
{ 3, 12, socket }, /* 290 = socket */
{ 4, 16, socketpair }, /* 291 = socketpair */
{ 0, 0, nosys }, /* 292 = nosys */
{ 0, 0, nosys }, /* 293 = nosys */
{ 0, 0, nosys }, /* 294 = nosys */
{ 0, 0, nosys }, /* 295 = nosys */
{ 0, 0, nosys }, /* 296 = nosys */
{ 0, 0, nosys }, /* 297 = nosys */
{ 0, 0, nosys }, /* 298 = nosys */
{ 0, 0, nosys }, /* 299 = nosys */
{ 0, 0, nosys }, /* 300 = nosys */
{ 0, 0, nosys }, /* 301 = nosys */
{ 0, 0, nosys }, /* 302 = nosys */
{ 0, 0, nosys }, /* 303 = nosys */
{ 0, 0, nosys }, /* 304 = nosys */
{ 0, 0, nosys }, /* 305 = nosys */
{ 0, 0, nosys }, /* 306 = nosys */
{ 0, 0, nosys }, /* 307 = nosys */
{ 0, 0, nosys }, /* 308 = nosys */
{ 0, 0, nosys }, /* 309 = nosys */
{ 0, 0, nosys }, /* 310 = nosys */
{ 0, 0, nosys }, /* 311 = nosys */
{ 4, 16, hpuxsemctl }, /* 312 = nsemctl */
{ 3, 12, notimp }, /* 313 = msgctl (unimplemented) */
#ifdef SYSVSHM
{ 3, 12, hpuxnshmctl }, /* 314 = nshmctl */
#else
{ 3, 12, notimp }, /* 314 = nshmctl (unimplemented) */
#endif
};
int hpuxnsysent = sizeof(hpuxsysent) / sizeof(hpuxsysent[0]);