Merge fmt_human_2 and fmt_human_10 to one function
Now only one function, fmt_human, takes an additional argument "base".
This commit is contained in:
3
util.h
3
util.h
@ -10,6 +10,5 @@ void die(const char *, ...);
|
||||
|
||||
int esnprintf(char *str, size_t size, const char *fmt, ...);
|
||||
const char *bprintf(const char *fmt, ...);
|
||||
const char *fmt_human_2(size_t num);
|
||||
const char *fmt_human_10(size_t num);
|
||||
const char *fmt_human(size_t num, int iec);
|
||||
int pscanf(const char *path, const char *fmt, ...);
|
||||
|
Reference in New Issue
Block a user