tech-userlevel archive

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

Re: strtonum(3) from OpenBSD?



On Friday 26 June 2009 07:47:14 David Laight wrote:
> On Fri, Jun 26, 2009 at 01:15:11AM -0400, James K. Lowden wrote:
> > I don't understand why atoi() keeps getting reinvented when we have a
> > completely standard, easily extended alternative: sscanf(3).
>
> sscanf() is completely horrid, and, IMHO at least, should be avoided
> at all costs.

Could you explain why or do you just enjoy trolling? :)

Thanks

Roy


Home | Main Index | Thread Index | Old Index