hpux_sysent.c

来自「早期freebsd实现」· C语言 代码 · 共 498 行 · 第 1/2 页

C
498
字号
/* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. * created from	@(#)syscalls.master	8.3 (Berkeley) 2/7/94 */#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	olseek();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	osigstack();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 SYSVSHMint	hpuxshmget();int	hpuxshmctl();int	hpuxshmat();int	hpuxshmdt();#else#endifint	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 SYSVSHMint	hpuxnshmctl();#else#endif#ifdef COMPAT_OHPUX#define compat(n, name) n, __CONCAT(o,name)int	ohpuxtime();int	ohpuxstat();int	ohpuxstime();int	ohpuxalarm();int	ohpuxfstat();int	ohpuxpause();int	ohpuxutime();int	ohpuxstty();int	ohpuxgtty();int	ohpuxnice();int	ohpuxftime();int	ohpuxsetpgrp();int	ohpuxtimes();int	ohpuxssig();int	otruncate();int	oftruncate();int	ogetrlimit();int	osetrlimit();#ifdef SYSVSHM#else#endifint	oaccept();int	ogetpeername();int	ogetsockname();int	orecv();int	orecvfrom();int	orecvmsg();int	osend();int	osendmsg();#ifdef SYSVSHM#else#endif#else /* COMPAT_OHPUX */#define compat(n, name) 0, nosys#endif /* COMPAT_OHPUX */struct sysent hpuxsysent[] = {	{ 0, nosys },			/* 0 = indir or out-of-range */	{ 1, exit },			/* 1 = exit */	{ 0, hpuxfork },			/* 2 = fork */	{ 3, hpuxread },			/* 3 = read */	{ 3, hpuxwrite },			/* 4 = write */	{ 3, hpuxopen },			/* 5 = open */	{ 1, close },			/* 6 = close */	{ 1, hpuxwait },			/* 7 = owait */	{ 2, hpuxcreat },			/* 8 = ocreat */	{ 2, link },			/* 9 = link */	{ 1, unlink },			/* 10 = unlink */	{ 2, hpuxexecv },			/* 11 = execv */	{ 1, chdir },			/* 12 = chdir */	{ compat(1,hpuxtime) },		/* 13 = old time */	{ 3, mknod },			/* 14 = mknod */	{ 2, chmod },			/* 15 = chmod */	{ 3, chown },			/* 16 = chown */	{ 1, obreak },			/* 17 = break */	{ compat(2,hpuxstat) },		/* 18 = old stat */	{ 3, olseek },			/* 19 = olseek */	{ 0, getpid },			/* 20 = getpid */	{ 3, notimp },			/* 21 = mount (unimplemented) */	{ 1, notimp },			/* 22 = umount (unimplemented) */	{ 1, setuid },			/* 23 = setuid */	{ 0, getuid },			/* 24 = getuid */	{ compat(1,hpuxstime) },		/* 25 = old stime */	{ 4, 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, access },			/* 33 = access */	{ compat(1,hpuxnice) },		/* 34 = old nice */	{ compat(1,hpuxftime) },		/* 35 = old ftime */	{ 0, sync },			/* 36 = sync */	{ 2, hpuxkill },			/* 37 = kill */	{ 2, hpuxstat },			/* 38 = stat */	{ compat(1,hpuxsetpgrp) },		/* 39 = old setpgrp */	{ 2, hpuxlstat },			/* 40 = lstat */	{ 1, hpuxdup },			/* 41 = dup */	{ 0, pipe },			/* 42 = pipe */	{ compat(1,hpuxtimes) },		/* 43 = old times */	{ 4, profil },			/* 44 = profil */	{ 4, notimp },			/* 45 = ki_syscall (unimplemented) */	{ 1, setgid },			/* 46 = setgid */	{ 0, getgid },			/* 47 = getgid */	{ compat(2,hpuxssig) },		/* 48 = old ssig */	{ 0, nosys },			/* 49 = reserved for USG */	{ 0, nosys },			/* 50 = reserved for USG */	{ 1, notimp },			/* 51 = acct (unimplemented) */	{ 0, nosys },			/* 52 = nosys */	{ 0, nosys },			/* 53 = nosys */	{ 3, hpuxioctl },			/* 54 = ioctl */	{ 4, notimp },			/* 55 = reboot (unimplemented) */	{ 2, symlink },			/* 56 = symlink */	{ 3, hpuxutssys },			/* 57 = utssys */	{ 3, readlink },			/* 58 = readlink */	{ 3, execve },			/* 59 = execve */	{ 1, umask },			/* 60 = umask */	{ 1, chroot },			/* 61 = chroot */	{ 3, hpuxfcntl },			/* 62 = fcntl */	{ 2, hpuxulimit },			/* 63 = ulimit */	{ 0, nosys },			/* 64 = nosys */	{ 0, nosys },			/* 65 = nosys */	{ 0, hpuxvfork },			/* 66 = vfork */	{ 0, hpuxread },			/* 67 = vread */	{ 0, hpuxwrite },			/* 68 = vwrite */	{ 0, nosys },			/* 69 = nosys */	{ 0, nosys },			/* 70 = nosys */	{ 6, hpuxmmap },			/* 71 = mmap */	{ 0, nosys },			/* 72 = nosys */	{ 2, munmap },			/* 73 = munmap */	{ 3, notimp },			/* 74 = mprotect (unimplemented) */	{ 0, nosys },			/* 75 = nosys */	{ 0, nosys },			/* 76 = nosys */	{ 0, nosys },			/* 77 = nosys */	{ 0, nosys },			/* 78 = nosys */	{ 2, getgroups },			/* 79 = getgroups */	{ 2, setgroups },			/* 80 = setgroups */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?