On Mon, 25 Feb 2002 16:09:19 +0200, Maxim Sobolev wrote:

> Are you sure? I've just heard so many opinions about that and want to
> get some clarity before backouting the backout to avoid backouting the
> backouted backout later. :)
> 
> Please, could anyone confirm or reject assertion that POSIX doesn't
> require <sys/types.h> before <gpr.h>?

I just checked on the OpenGroup web site, and it looks like Andrey's
right -- getgr*() rely on <grp.h> only.

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.

Sorry about the confusion.  For what it's worth, I just asked a
question.  I didn't make any assertions originally.

Ciao,
Sheldon.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
  • ... Maxim Sobolev
    • ... Andrey A. Chernov
      • ... Andrey A. Chernov
      • ... Garrett Wollman
        • ... Andrey A. Chernov
          • ... Alexey Dokuchaev
            • ... Terry Lambert
            • ... Андрей Чернов
    • ... Sheldon Hearn
      • ... Andrey A. Chernov
        • ... Sheldon Hearn
        • ... David Malone
          • ... Bruce Evans

Reply via email to