diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-11-16 18:22:47 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-11-16 18:22:47 +0100 |
commit | 52934b8ca4dab834b7bd55dd24266fcba8cd86c0 (patch) | |
tree | aa1788c5833444fda48aef023129f9e17a5f8c42 | |
parent | doc: arg 2 for *div must not be 0 (lest SIGFPE) (diff) | |
download | slibc-52934b8ca4dab834b7bd55dd24266fcba8cd86c0.tar.gz slibc-52934b8ca4dab834b7bd55dd24266fcba8cd86c0.tar.bz2 slibc-52934b8ca4dab834b7bd55dd24266fcba8cd86c0.tar.xz |
add todos
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | include/slibc-human.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/slibc-human.h b/include/slibc-human.h index 7d0f1a5..d970988 100644 --- a/include/slibc-human.h +++ b/include/slibc-human.h @@ -257,24 +257,29 @@ char* humansize(char*, size_t, size_t, enum humansize_mode, int, const char* res const char* restrict, const char* restrict) __GCC_ONLY(__attribute__((__warn_unused_result__))); +/* TODO machinesize */ int machinesize(size_t* restrict size, const char* restrict str, enum machinesize_mode mode, const char* restrict space, const char* restrict point); #ifdef __C99__ +/* TODO humandur */ int humandur(intmax_t sec, long int nsec, const char* restrict point, const char* restrict format, const char* restrict intraspacing, const char* restrict interspacing); +/* TODO machinedur */ int machinedur(intmax_t* restrict sec, long int* nsec, const char* restrict str, const char* restrict space, const char* restrict point); +/* TODO machineint */ char* machineint(intmax_t* restrict r, const char* restrict str) __GCC_ONLY(__attribute__((__warn_unused_result__))); # ifdef __CONST_CORRECT # define machineint(...) (__const_correct_2p(machineint, __VA_ARGS__)) # endif +/* TODO machineuint */ char* machineuint(uintmax_t* restrict r, const char* restrict str) __GCC_ONLY(__attribute__((__warn_unused_result__))); # ifdef __CONST_CORRECT @@ -282,6 +287,7 @@ char* machineuint(uintmax_t* restrict r, const char* restrict str) # endif #endif +/* TODO machinefloat */ int machinefloat(long double* restrict r, const char* restrict str, const char* restrict space, const char* restrict comma); #ifdef __CONST_CORRECT |