mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:47:34 +00:00
LibC: Add nanosleep() wrapper around clock_nanosleep(CLOCK_REALTIME)
Gets rid of one dropbear patch. :^)
This commit is contained in:
parent
57b6f51137
commit
c88ea2f54a
3 changed files with 6 additions and 11 deletions
|
@ -77,6 +77,7 @@ int clock_gettime(clockid_t, struct timespec*);
|
|||
int clock_settime(clockid_t, struct timespec*);
|
||||
int clock_nanosleep(clockid_t, int flags, const struct timespec* requested_sleep, struct timespec* remaining_sleep);
|
||||
int clock_getres(clockid_t, struct timespec* result);
|
||||
int nanosleep(const struct timespec* requested_sleep, struct timespec* remaining_sleep);
|
||||
struct tm* gmtime_r(const time_t* timep, struct tm* result);
|
||||
struct tm* localtime_r(const time_t* timep, struct tm* result);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue