]> www.infradead.org Git - mtd-utils.git/commit
mtd-utils: new strtoX helpers
authorMike Frysinger <vapier@gentoo.org>
Mon, 27 Sep 2010 06:42:28 +0000 (02:42 -0400)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 27 Sep 2010 06:44:54 +0000 (09:44 +0300)
commit2c413f5232e02d8dd413a93f7f4f5cb8d2420ec6
tree64c234ee42cca7d92e8b31fe5b6b6435faf6d8ed
parenta14a8f6856178323a405e8a3d3e877363d387ae0
mtd-utils: new strtoX helpers

Simply usage of converting strings to numbers by adding some wrappers
around the standard strtoX functions.  These helpers simplify the api
of these functions a bit by providing an optional "error" pointer and
automatic error message.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
include/common.h