NGROUPS_MAX

Sven Rudolph rudsve at drewag.de
Thu Sep 26 17:44:56 EST 2002


Kevin Steves <kevin at atomicgears.com> writes:

> On Wed, Sep 25, 2002 at 08:01:30AM -0500, Ben Lindstrom wrote:
> > However, a lot of platforms don't support sysconf() and I since we are
> > heading into a lock I think we should hold off breaking platforms until
> > next release.
> 
> yes, we definately don't want to mess with this now.
> 
> also, i think _SC_NGROUPS_MAX was not a sysconf symbol on solaris 8.

_SC_NGROUPS_MAX is POSIX 1988. (I don't have my POSIX copy here, but
it should be in chapter 4.8.1.1)

So it shall be available on any POSIX-compliant system; including
Solaris 8.

If you have to support pre-POSIX systems you cannot use sysconf there.

	Sven



More information about the openssh-unix-dev mailing list