diff options
Diffstat (limited to '')
-rw-r--r-- | include/slibc-human.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/slibc-human.h b/include/slibc-human.h index 4118625..7d0f1a5 100644 --- a/include/slibc-human.h +++ b/include/slibc-human.h @@ -243,6 +243,8 @@ int machinemode(mode_t* restrict, mode_t* restrict, const char* restrict) * this value should be "" or "-", but in for example Swedish it * should always be " ". Hence this value is a string rather than * a booleanic integer. + * @param interspacing Spacing between value–unit-pairs. `NULL` for default (" "). + * This value should depend on language and context. * @return Human representation of the file size/offset, `NULL` on error. * On success, the caller is responsible for deallocating the * returned pointer, if and only if it is not `buffer`. @@ -251,7 +253,8 @@ int machinemode(mode_t* restrict, mode_t* restrict, const char* restrict) * @throws EINVAL If `mode & HUMANSIZE_EXACT` and `detail < 0`. * @throws ENOMEM The process cannot allocate more memory. */ -char* humansize(char*, size_t, size_t, enum humansize_mode, int, const char* restrict, const char* restrict) +char* humansize(char*, size_t, size_t, enum humansize_mode, int, const char* restrict, + const char* restrict, const char* restrict) __GCC_ONLY(__attribute__((__warn_unused_result__))); int machinesize(size_t* restrict size, const char* restrict str, enum machinesize_mode mode, |