syscall(2) function

Doug Gwyn gwyn at smoke.BRL.MIL
Tue Feb 28 14:48:24 AEST 1989


In article <2292 at unmvax.unm.edu> lee at doc.cs.unm.edu () writes:
-In article <9742 at smoke.BRL.MIL> gwyn at brl.arpa (Doug Gwyn (VLD/VMB) <gwyn>) writes:
->In article <3740 at ucdavis.ucdavis.edu> kerchen at iris.ucdavis.edu (Paul Kerchen) writes:
->>Is the system call "syscall()" necessary?
->I don't even think it's particularly useful these days; ...
-It still has uses...
-	exit (syscall(RESUBA, atoi(argv[1])));

Only because Berkeley neglected to provide a resuba() hook in
the C library!  Given direct hooks in the library for all system
calls, I know of no real requirement for the syscall() function.



More information about the Comp.unix.wizards mailing list