[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: strtonum(3) from OpenBSD?
On Thu, Jul 02, 2009 at 12:21:40PM -0400, Greg A. Woods wrote:
> > These are not equivalent if errno might contain a trap representation
> > for non-LONG_MAX returns. (Because of strtol()'s special case for
> > errno, this can happen only if it was that way on entry.)
> What exactly do you mean by "trap representation" in this context --
> that's not normal terminology I'm aware of for the _C_ Programming
> Language. It's certainly not something that applies to ISO C89 or ISO
> C90 so far as I can find.
Try the C standard, also known as "C99".
David A. Holland
Main Index |
Thread Index |