[PATCH 3/4 v2] mtd-utils: new strtoX helpers
Artem Bityutskiy
dedekind1 at gmail.com
Mon Sep 27 02:39:30 EDT 2010
On Sat, 2010-09-25 at 02:06 -0400, Mike Frysinger wrote:
> Simply usage of converting strings to numbers by adding some wrappers
> around the standard strtoX functions. These helpers support both hex
> and dec numbers transparently, and the caller need only provide a ptr
> to an error integer if they want to be notified of problems.
>
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
> v2
> - drop redundant parsing logic
>
Mike, so will you move this to common.h or you insist this should be a
separate header file?
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
More information about the linux-mtd
mailing list