diff options
author | Jakob Kaivo <jkk@ung.org> | 2020-08-12 15:14:21 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2020-08-12 15:14:21 -0400 |
commit | 72d67158f211d46fcd1deddf3c256472d7c50163 (patch) | |
tree | fb16a5878a2c8f8ba982e39915180731a0a38cee /src/time/nanosleep.c | |
parent | fe9e78411f270c8c86d75620bbaa53147b9c7daa (diff) |
implement as syscall
Diffstat (limited to 'src/time/nanosleep.c')
-rw-r--r-- | src/time/nanosleep.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/time/nanosleep.c b/src/time/nanosleep.c index 61dd85fc..cb1cfef7 100644 --- a/src/time/nanosleep.c +++ b/src/time/nanosleep.c @@ -1,8 +1,9 @@ #include <time.h> +#include "../_syscall.h" int nanosleep(const struct timespec *rqtp, struct timespec *rmtp) { - return 0; + SYSCALL(nanosleep, int, -1, rqtp, rmtp, 0, 0, 0, 0); } /* |