mcvoy@rsch.WISC.EDU (Lawrence W. McVoy) (01/16/87)
Can anyone provide a list of the version 7 system calls? Unless anyone
claims that it is proprietary info, I'd be happy to post the corresponding
list of 4.3 calls... I'd like to know what's missing.
--
Larry McVoy mcvoy@rsch.wisc.edu,
{seismo, topaz, harvard, ihnp4, etc}!uwvax!mcvoy
"They're coming soon! Quad-stated guru-gates!"henry@utzoo.UUCP (Henry Spencer) (01/16/87)
> Can anyone provide a list of the version 7 system calls? ...
Here is the full list, from sysent.c of a functioning V7 (utzoo
is an 11/44 running V7, although not for much longer).
access
acct
alarm
brk (also does sbrk)
chdir
chmod
chown
chroot
close
creat
dup (also does dup2)
exec (obsolete, see exece)
exece (generic, includes execl, execv, execle, execve)
exit
fork
fstat
ftime
getgid (also does getegid)
getpid
getuid (also does geteuid)
gtty (obsolete; invokes ioctl internally)
indir (silly kludge probably unnecessary on non-11 systems)
ioctl
kill
link
lock (lock process into memory)
lseek
mknod (makes directories and devices)
mount
mpxchan (you don't want to know... not in all V7s)
nice
open
pause
phys (map memory into user space)
pipe
profil
ptrace
read
setgid
setuid
signal
stat
stime
stty (obsolete; invokes ioctl internally)
sync
time
times
umask
umount
unlink
utime
wait
write
--
Legalize Henry Spencer @ U of Toronto Zoology
freedom! {allegra,ihnp4,decvax,pyramid}!utzoo!henrymichael@orcisi.UUCP (01/18/87)
In the Sun manual "System V Enchancements Overview" distributed with the recent Release 3.2 of Sun Unix, there is a fairly complete comparison of the V7, System V and BSD4.2 system calls and library functions (see Tables 3-1 and 4-1).
zemon@felix.UUCP (02/03/87)
Well, I don't have my old V7 section II here but I do have
the MINIX book. The following system calls are available
in MINIX:
access chown exec getpid lseek pipe stat umask write
alarm chroot exit getuid mknod read stime umount
brk close fork ioctl mount setgid sync unlink
chdir creat fstat kill open setuid time utime
chmod dup getgid link pause signal times wait
Implementing socket(), bind(), connect(), etc. is left as
an exercise for the reader.... :-)
--
-- Art Zemon
FileNet Corporation
Costa Mesa, California
...! {decvax, ihnp4, ucbvax} !trwrb!felix!zemon