projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
2f65762f8f5f01981f15c4e4c7c735fc96a898e8
[musl]
/
src
/
time
/
nanosleep.c
1
#include <unistd.h>
2
#include <time.h>
3
#include "syscall.h"
4
#include "libc.h"
5
6
int nanosleep(const struct timespec *req, struct timespec *rem)
7
{
8
int ret;
9
CANCELPT_BEGIN;
10
ret = syscall(SYS_nanosleep, req, rem);
11
CANCELPT_END;
12
return ret;
13
}