summaryrefslogtreecommitdiff
path: root/src/libc/include/time.h
diff options
context:
space:
mode:
authordzwdz2023-08-24 19:10:35 +0200
committerdzwdz2023-08-24 19:10:35 +0200
commit3e09037780ca95633749be3acd52e817eed7f98c (patch)
tree83bcf5026cd4383809c81c5f38473a6b1e46755e /src/libc/include/time.h
parent292b2386d766826b15f5ca084d37aa2c485fdda6 (diff)
libc: get most of binutils to compile
Diffstat (limited to 'src/libc/include/time.h')
-rw-r--r--src/libc/include/time.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libc/include/time.h b/src/libc/include/time.h
index 5d03664..e2bf31e 100644
--- a/src/libc/include/time.h
+++ b/src/libc/include/time.h
@@ -29,6 +29,8 @@ time_t mktime(struct tm *timeptr);
double difftime(time_t time1, time_t time0);
+char *ctime(const time_t *timep);
+
size_t strftime(
char *restrict s, size_t maxsize,
const char *restrict format, const struct tm *restrict timeptr);