Antwort: Re: string processing

christian.buettner at christian.buettner at
Mon May 7 06:46:00 EDT 2012

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 at>
An:     christian.buettner at
Kopie:  barebox at
Datum:  07.05.2012 11:50
Betreff:        Re: string processing

On Mon, May 07, 2012 at 11:28:38AM +0200, christian.buettner at 
> 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.


Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 |  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the barebox mailing list