setpgrp on System V
Doug Gwyn
gwyn at smoke.BRL.MIL
Sun May 21 13:11:41 AEST 1989
In article <1127 at altos86.UUCP> clp at altos86.UUCP (Chuck L. Peterson) writes:
>The library calls setpgrp and getpgrp both use the setpgrp() system call.
>Setgrp() gets translated to setgrp(1), and getpgrp gets translated to
>setpgrp(0). The manuals are consistent with the library call and
>say that setpgrp takes no argument. Are there any other cases where
>the C library changes arguments to system calls? This seems odd.
Perhaps the kernel implementors were trying to keep the GATE switch
array as small as possible. So long as the C library interfaces to
the system calls function properly, what do you care how they're
implemented?
More information about the Comp.unix.wizards
mailing list