Subject: Re: bin/14172
To: None <tech-userlevel@netbsd.org>
From: Jason R. Fink <jrf@adresearch.com>
List: tech-userlevel
Date: 12/04/2002 17:14:58
Okay,

I reread David's email, right now sysconf returns the
value of  _SC_NGROUPS_MAX, not -1 or 0. So, do we want
to change it so if we compare  _SC_NGROUPS_MAX to
NGROUPS_MAX and there is a problem, sysconf returns
a -1?

Here is the opengroup man page (you may need to "register"):
http://www.opengroup.org/onlinepubs/007904975/functions/sysconf.html

According to the Application Usage section, a -1 should be
returned. The questions is, does sysconf return the -1 after
some sort of comparison (as I think David alluded to) or
does the caller simply do it?

	j

-- 
Jay Fink http://pyxis.homeunix.net/
NetBSD Developer http://www.netbsd.org/
Senior SysAdmin/Programmer, Ipsos http://www.ipsos.com/