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:
parent
8124719c3d
commit
440b81deba
2 changed files with 16 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue