From 1114de7219f8e42d6d883c476a9458f637806365 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 10 Oct 2006 23:26:05 +0000 Subject: od: provide full-blown od from coreutils if CONFIG_DESKTOP --- libbb/xatol.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libbb') diff --git a/libbb/xatol.c b/libbb/xatol.c index 1b71e9ca8..1b281b1e9 100644 --- a/libbb/xatol.c +++ b/libbb/xatol.c @@ -98,6 +98,12 @@ unsigned long xstrtoul_range(const char *numstr, int base, return xstrtoul_range_sfx(numstr, base, lower, upper, NULL); } +unsigned long xstrtoul_sfx(const char *numstr, int base, + const struct suffix_mult *suffixes) +{ + return xstrtoul_range_sfx(numstr, base, 0, ULONG_MAX, suffixes); +} + unsigned long xstrtoul(const char *numstr, int base) { return xstrtoul_range_sfx(numstr, base, 0, ULONG_MAX, NULL); -- cgit v1.2.3