tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: strtonum(3) from OpenBSD?



On Wed, Jul 01, 2009 at 02:25:34PM -0400, Greg A. Woods wrote:
 > Speaking of the NetBSD implementation, I see it returns an undocumented
 > errno in some cases too, and the documentation is far more convoluted
 > and complex than necessary too, especially in light of knowing that
 > errno must be set to zero on return if there was no overflow during an
 > otherwise error-free conversion.

The code is also more convoluted than necessary.

I think the long-term reason is that (as this thread has shown) the
exact specification is not widely known and has not been well
understood.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index