diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-11-16 01:04:24 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-11-16 01:04:24 +0100 |
commit | d07211831e54be10cf0d0415989c750fd16533bc (patch) | |
tree | 02bb2f7c3dec684e85d1624edbca61a5cee72b78 | |
parent | m fix humanmode (diff) | |
download | slibc-d07211831e54be10cf0d0415989c750fd16533bc.tar.gz slibc-d07211831e54be10cf0d0415989c750fd16533bc.tar.bz2 slibc-d07211831e54be10cf0d0415989c750fd16533bc.tar.xz |
m slibc-human.h
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | include/slibc-human.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/slibc-human.h b/include/slibc-human.h index dbb0a98..b4879ce 100644 --- a/include/slibc-human.h +++ b/include/slibc-human.h @@ -224,16 +224,18 @@ int machinemode(mode_t* restrict, mode_t* restrict, const char* restrict) __GCC_ONLY(__attributes__((__nonnull__(3)))); -char* humansize(char* restrict buffer, size_t size, enum humansize_mode mode, int detail); +char* humansize(char* restrict buffer, size_t size, enum humansize_mode mode, int detail, + const char* restrict point); -int machinesize(size_t* restrict size, const char* restrict string, enum machinesize_mode mode); +int machinesize(size_t* restrict size, const char* restrict str, enum machinesize_mode mode, + const char* restrict space, const char* restrict point); #ifdef __C99__ -int humandur(intmax_t sec, long int nsec, const char* restrict comma, const char* restrict format); +int humandur(intmax_t sec, long int nsec, const char* restrict point, const char* restrict format); int machinedur(intmax_t* restrict sec, long int* nsec, const char* restrict str, - const char* restrict space, const char* restrict comma); + const char* restrict space, const char* restrict point); char* machineint(intmax_t* restrict r, const char* restrict str); |