Use xstrtoumax() for parsing strings into numbers
authorSteve McIntyre <steve@einval.com>
Wed, 29 Jun 2011 17:17:21 +0000 (18:17 +0100)
committerSteve McIntyre <steve@einval.com>
Wed, 29 Jun 2011 17:17:21 +0000 (18:17 +0100)
commit992a151dcf3f91b23c12d312b0c4def040c47483
tree770a0e874751fc4ce9de76b25f1abf6e598a7d28
parentdd713a8a9fabce8757033922eabe44dce080e6a0
Use xstrtoumax() for parsing strings into numbers

Add wrapper functions in misc.c for parsing strings. Makes it possible
to parse cache sizes as "cachesize=10G", a lot more user-friendly than
"cachesize=10485760000".
C/Makefile
C/misc.c
C/misc.h