Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Feb 2002 16:42:57 +0200
From:      Sheldon Hearn <sheldonh@starjuice.net>
To:        "Andrey A. Chernov" <ache@nagual.pp.ru>
Cc:        Maxim Sobolev <sobomax@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, hackers@FreeBSD.org
Subject:   Re: <sys/types.h> or not <sys/types.h>? [Was: cvs commit: src/include grp.h] 
Message-ID:  <90116.1014648177@axl.seasidesoftware.co.za>
In-Reply-To: Your message of "Mon, 25 Feb 2002 17:32:31 %2B0300." <20020225143231.GC34378@nagual.pp.ru> 

next in thread | previous in thread | raw e-mail | index | archive | help


On Mon, 25 Feb 2002 17:32:31 +0300, "Andrey A. Chernov" wrote:

> > However, the standard expects gid_t to be defined in <unistd.h>, so if
> > you just need gid_t, and not prototypes for getgr*(), then that's the
> > one to include.
> 
> POSIX reguire gid_t to be specified not only in <sys/types.h> but in 
> <grp.h> too.

Okay.  I wasn't disputing making any assertion to the contrary; just
pointing out that things like getgroups() don't have to worry about this
mess at all.  I note that the getgroups(2) manual page disagrees with
POSIX as well.

Ciao,
Sheldon.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?90116.1014648177>