Viet-Trung Luu | 96b05c1 | 2016-01-11 11:26:36 -0800 | [diff] [blame] | 1 | #include <time.h> |
2 | #include "syscall.h" | ||||
3 | #include "libc.h" | ||||
4 | |||||
George Kulakowski | 17e3b04 | 2016-02-18 15:59:50 -0800 | [diff] [blame] | 5 | int nanosleep(const struct timespec* req, struct timespec* rem) { |
6 | return syscall_cp(SYS_nanosleep, req, rem); | ||||
Viet-Trung Luu | 96b05c1 | 2016-01-11 11:26:36 -0800 | [diff] [blame] | 7 | } |