summaryrefslogtreecommitdiff
path: root/src/time/nanosleep.c
blob: 1e6f39224a0324729d3ea837f1324d4a4a323534 (plain) (blame)
1
2
3
4
5
6
7
#include <time.h>
#include "syscall.h"

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