From d186d573dd91facf0b1d56a8e7e438d3fd41346f Mon Sep 17 00:00:00 2001 From: apio Date: Sun, 30 Oct 2022 17:48:54 +0100 Subject: [PATCH] libc: Document strftime in time.h --- libs/libc/include/time.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/libc/include/time.h b/libs/libc/include/time.h index 24091b27..c6180fd9 100644 --- a/libs/libc/include/time.h +++ b/libs/libc/include/time.h @@ -77,8 +77,8 @@ extern "C" /* Fills buf with a string representation of time. Thread-safe. */ char* ctime_r(const time_t* time, char buf[26]); - size_t strftime(char* str, size_t max, const char* format, const struct tm* time); // Not implemented. - char* ctime(const time_t* timep); // Not implemented. + /* Fills str with a formatted string representation of time according to the format string. */ + size_t strftime(char* str, size_t max, const char* format, const struct tm* time); #ifdef __cplusplus }