]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib,strutils: add strtoux[16|32|64]_or_err functions
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 12 Oct 2016 12:00:44 +0000 (14:00 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 9 Nov 2016 09:02:32 +0000 (10:02 +0100)
commit54394eab03d57ff7d4ffbd333c1955112bc70c5d
tree3ddb7b0ab9ffdbee50dc7f5dc17de9273f1d8950
parent5bd2b14de42bd81abfee1a3f3265b2ecb92f79b3
lib,strutils: add strtoux[16|32|64]_or_err functions

Add helper functions which allow to parse hexadecimal numbers.
Based on a patch from Clemens von Mann.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
include/strutils.h
lib/strutils.c