mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 19:37:36 +00:00
LibC: Time-related POSIX compliance fixes.
This commit is contained in:
parent
abd5931184
commit
aef6030a80
7 changed files with 19 additions and 3 deletions
|
@ -27,7 +27,9 @@ extern long altzone;
|
|||
extern char* tzname[2];
|
||||
extern int daylight;
|
||||
|
||||
int gettimeofday(struct timeval*, struct timezone* tz);
|
||||
typedef uint32_t clock_t;
|
||||
typedef uint32_t time_t;
|
||||
|
||||
struct tm* localtime(const time_t*);
|
||||
struct tm *gmtime(const time_t*);
|
||||
time_t mktime(struct tm*);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue