Ok thx.
How about scanf variations? sscanf would
fit best :)
How can i proceed adding those missing
functions? Copy Paste from glibc?
- christian
Von:
Sascha Hauer <s.hauer@pengutronix.de>
An:
christian.buettner@rafi.de
Kopie:
barebox@lists.infradead.org
Datum:
07.05.2012 11:50
Betreff:
Re: string processing
On Mon, May 07, 2012 at 11:28:38AM +0200, christian.buettner@rafi.de
wrote:
> hi all,
>
> i was looking for c functions doing string processing. I cannot find
> things like sscanf or atoi.
> How do you work with strings when you implement custom commands?
We have simple_strtoul which currently is the only function to help with
string to integer conversion.
Sascha
--
Pengutronix e.K.
|
|
Industrial Linux Solutions
| http://www.pengutronix.de/
|
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0
|
Amtsgericht Hildesheim, HRA 2686 | Fax:
+49-5121-206917-5555 |