1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 16:57:36 +00:00

LibC: Add ctime_r() and asctime_r() implementations

Need this for a port of FIO (Flexible IO Tester)
https://fio.readthedocs.io/
This commit is contained in:
Brian Gianforcaro 2021-04-19 22:20:13 -07:00 committed by Linus Groh
parent 8124719c3d
commit 440b81deba
2 changed files with 16 additions and 1 deletions

View file

@ -57,8 +57,10 @@ time_t mktime(struct tm*);
time_t timegm(struct tm*);
time_t time(time_t*);
char* ctime(const time_t*);
char* ctime_r(const time_t* tm, char* buf);
void tzset();
char* asctime(const struct tm*);
char* asctime_r(const struct tm*, char* buf);
#define CLOCKS_PER_SEC 1000
clock_t clock();