separate humansize into a util function
also show 1 decimal of human size string like: 4M -> 4.4M
This commit is contained in:
1
util.h
1
util.h
@@ -20,6 +20,7 @@ void enprintf(int, const char *, ...);
|
||||
double estrtod(const char *);
|
||||
long estrtol(const char *, int);
|
||||
void fnck(const char *, const char *, int (*)(const char *, const char *));
|
||||
char *humansize(double);
|
||||
void putword(const char *);
|
||||
void recurse(const char *, void (*)(const char *));
|
||||
#undef strlcat
|
||||
|
Reference in New Issue
Block a user