Internal get{pw,gr}XX calls

Pierre A. Humblet
Tue Dec 10 06:27:00 GMT 2002

Corinna Vinschen wrote:
> On Fri, Nov 29, 2002 at 01:11:34PM -0500, Pierre A. Humblet wrote:
> > This is from the opengroup:
> > If the correct value is outside the range of representable values,
> > LONG_MAX or LONG_MIN is returned (according to the sign of the value),
> > and errno is set to [ERANGE].
> Pierre, can you give me a link to this info?

That's probably moot by now, using strtoul seems to be the way to go. 
I am still surprised that it accepts negative numbers as input.


More information about the Cygwin-patches mailing list