1
0
mirror of https://github.com/facebook/zstd.git synced 2025-08-01 09:47:01 +03:00

Some fixes to address things @felixhandte found

This commit is contained in:
Scott Baker
2021-06-07 09:31:38 -07:00
committed by W. Felix Handte
parent 376a2730a8
commit 1eb852854b
2 changed files with 11 additions and 3 deletions

View File

@ -122,6 +122,10 @@ int UTIL_requireUserConfirmation(const char* prompt, const char* abortMsg, const
#define STRDUP(s) strdup(s)
#endif
/*
* Take a size in bytes and output a human readable string. Maximum
* buffer size is 8 but it's usually 7. Example: "123.4G"
*/
char* humanSize(unsigned long long size, char* str);
/**