]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib/strutils: create type specific strtoxx_or_err()
authorKarel Zak <kzak@redhat.com>
Tue, 15 May 2012 15:40:03 +0000 (17:40 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 15 May 2012 15:40:03 +0000 (17:40 +0200)
commit551dae405a3af7f81ac360ec5bb316fb9b7aeec8
treefb6cd7687b3aa0a8bbee886f359e4edeeea65e17
parent7e9a9af14fef3ad555a287a367165e4a66b8482d
lib/strutils: create type specific strtoxx_or_err()

We need [un]signed int ([u]int32_t) on many places. It's also more
readable and robust to use uintXX_t types than for example "long long".

Signed-off-by: Karel Zak <kzak@redhat.com>
include/strutils.h
lib/strutils.c