OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: strtonum(3)

From: Todd C. Miller (Todd.Millercourtesan.com)
Date: Sun Feb 06 2005 - 18:24:12 CST


In message <Pine.BSO.4.61L.0502062206150.29606odem.66h.42h.de>
        so spake Thorsten Glaser (tg):

> why has strtonum(3) been designed to accept decimal numbers
> only, not octal or sedecimal numbers in the same fashion as
> strtoll(3) does when the "base" parameter is zero?

The idea was to make it easy to replace atoi() and not have
many knobs.

 - todd