mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:47:45 +00:00
LibC: Implement clock() and add CLOCKS_PER_SEC define.
This commit is contained in:
parent
a182ea8c60
commit
f015798af9
2 changed files with 11 additions and 0 deletions
|
@ -32,7 +32,10 @@ time_t time(time_t*);
|
|||
char* ctime(const time_t*);
|
||||
void tzset();
|
||||
char *asctime(const struct tm*);
|
||||
|
||||
#define CLOCKS_PER_SEC 1000
|
||||
clock_t clock();
|
||||
|
||||
double difftime(time_t, time_t);
|
||||
size_t strftime(char* s, size_t max, const char* format, const struct tm*);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue