
24 Nov
2005
24 Nov
'05
5:42 p.m.
In message 200511241716.51670.david.jander@protonic.nl you wrote:
Anyway, atoi is a pretty simple function, I'd just do the same as these two guys, and paste a sample implementation into my code....
That's twenty lashes with an Ethernet cable on your back ;-)
Do *NOT* do this. Instead, look what everybody else is doing, and you will see that simple_strtoul() should be used instead.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Life would be so much easier if everyone read the manual.