diff options
author | Karel Zak | 2010-03-30 13:47:33 +0200 |
---|---|---|
committer | Karel Zak | 2010-03-30 13:51:58 +0200 |
commit | cf8de26afe0db5c330f4c913d736dc1f840add88 (patch) | |
tree | f84ed27c9f14a7bdf3e98b0fdc79a35b6bb91ec4 /misc-utils/wipefs.c | |
parent | hwclock: add --predict for predicting RTC reading at a given time (diff) | |
download | kernel-qcow2-util-linux-cf8de26afe0db5c330f4c913d736dc1f840add88.tar.gz kernel-qcow2-util-linux-cf8de26afe0db5c330f4c913d736dc1f840add88.tar.xz kernel-qcow2-util-linux-cf8de26afe0db5c330f4c913d736dc1f840add88.zip |
lib: add strtosize() function
This function
int strtosize(const char *str, uintmax_t *res)
supports {K,M,G,T,E,P}iB and {K,M,G,T,E,P}B suffixes.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/wipefs.c')
0 files changed, 0 insertions, 0 deletions