blob: a3d65eddd9f5afc6c0c97ad07d206676d5fcacd7 (
plain)
1
2
3
4
5
6
7
8
9
|
#include <syscall.h> // for __syscall, __syscall_4
#include <time.h> // for clock_nanosleep, clockid_t
int clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *rqtp, struct timespec *rmtp)
{
return __syscall(nanosleep, clock_id, flags, rqtp, rmtp) * -1;
}
|