Antwort: Re: string processing

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

 



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




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

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox

[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux