Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cmcl2!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.unix.wizards Subject: Re: setpgrp on System V Keywords: setpgrp Message-ID: <10301@smoke.BRL.MIL> Date: 21 May 89 03:11:41 GMT References: <1127@altos86.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 11 In article <1127@altos86.UUCP> clp@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?