Add functions to transform string to unsigned integer:
commitccf82ada1295361bf7f04cc1cf3b53c50b3f3da7
authorAndrew Borodin <aborodin@vmail.ru>
Thu, 28 Feb 2013 12:55:51 +0000 (28 16:55 +0400)
committerAndrew Borodin <aborodin@vmail.ru>
Fri, 5 Jul 2013 05:09:03 +0000 (5 09:09 +0400)
tree92daffbb233bce6a9442daccecd4288c45a0060c
parent25924c77d91e50ae0ca51ea846b2848cd0d8179e
Add functions to transform string to unsigned integer:

 * (xstrtoumax): from gnulib.
 * (parse_integer): from coreutils (dd.c).

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
lib/strutil.h
lib/strutil/Makefile.am
lib/strutil/strutil.c
lib/strutil/xstrtol.c [new file with mode: 0644]
tests/lib/strutil/Makefile.am
tests/lib/strutil/parse_integer.c [new file with mode: 0644]