From 52934b8ca4dab834b7bd55dd24266fcba8cd86c0 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 16 Nov 2015 18:22:47 +0100 Subject: add todos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- include/slibc-human.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.3-70-g09d2