Sign in
cobalt
/
cobalt
/
788710a0d7b1b8d8e2340dd5fad5e8783a239862
/
.
/
third_party
/
musl
/
src
/
time
/
nanosleep.c
blob: bc9f7895fa0878be08bdfc01634eede6cbcf81b1 [
file
] [
log
] [
blame
]
#include
<time.h>
#include
"syscall.h"
int
nanosleep
(
const
struct
timespec
*
req
,
struct
timespec
*
rem
)
{
return
__syscall_ret
(-
__clock_nanosleep
(
CLOCK_REALTIME
,
0
,
req
,
rem
));
}