X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: standards and 'setgid' function Date: 2 Jan 2002 15:11:11 GMT Organization: Aachen University of Technology (RWTH) Lines: 21 Message-ID: References: NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 1009984271 10948 137.226.32.75 (2 Jan 2002 15:11:11 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 2 Jan 2002 15:11:11 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com HARY wrote: > Hi, > While looking in docs for 'setgid' description i found that linux man > says: "CONFORMING TO: SVr4, SVID", but djgpp info states: "Portability: > not ANSI, POSIX" > These don't match, so who is right here? And what "SVID" is? They're both right. setgid is specified by POSIX, but Linux only follows the exact details of that specification if you explicitly ask for that (see the text of their man page). By default, it follows "System V" semantics. DJGPP implements POSIX behaviour (but usually fails the call, as if you were on a system were only one group was defined at all). SVID is "System V Interface Definition" or something equivalent, IIRC. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.