diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-22 23:27:56 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-22 23:30:32 +0100 |
| commit | 0f30d227497418c6d3bef7d52244407e30454504 (patch) | |
| tree | 0e1ac19623d3268380cf74328cdf643648a2f43c /lib/libc/time/clock_nanosleep.c | |
| parent | 90dad97fc07f049383903a166631e2c257f9b8c1 (diff) | |
Added c11 threads, fixed some locks and add *_unlocked functions
Diffstat (limited to 'lib/libc/time/clock_nanosleep.c')
| -rw-r--r-- | lib/libc/time/clock_nanosleep.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/time/clock_nanosleep.c b/lib/libc/time/clock_nanosleep.c index 0722963f..a3d65edd 100644 --- a/lib/libc/time/clock_nanosleep.c +++ b/lib/libc/time/clock_nanosleep.c @@ -3,8 +3,7 @@ #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) +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; } |
