aboutsummaryrefslogtreecommitdiff
path: root/src/time/nanosleep.c
blob: c8878b11c7184986d3053e4383cbd57e07e976bf (plain)
1
2
3
4
5
6
7
8
9
#include <unistd.h>
#include <time.h>
#include "syscall.h"
#include "libc.h"

int nanosleep(const struct timespec *req, struct timespec *rem)
{
	return syscall_cp(SYS_nanosleep, req, rem);
}