Fwd: [U-Boot-Users] u-boot 1.1.2 and atoi in exports not working
Wolfgang Denk
wd at denx.de
Thu Nov 24 17:42:16 CET 2005
In message <200511241716.51670.david.jander at 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 at denx.de
Life would be so much easier if everyone read the manual.
More information about the U-Boot
mailing list