diff options
author | Denis Vlasenko | 2006-10-10 23:26:05 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-10-10 23:26:05 +0000 |
commit | 1114de7219f8e42d6d883c476a9458f637806365 (patch) | |
tree | 7a77eafabd8476a7b41ec2c69d258c0e0fb32040 /libbb | |
parent | cba9ef5523f09ecc3240f9f6efcdd0440c652c91 (diff) | |
download | busybox-1114de7219f8e42d6d883c476a9458f637806365.zip busybox-1114de7219f8e42d6d883c476a9458f637806365.tar.gz |
od: provide full-blown od from coreutils if CONFIG_DESKTOP
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/xatol.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libbb/xatol.c b/libbb/xatol.c index 1b71e9c..1b281b1 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); |