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

int clock_nanosleep(clockid_t clk, int flags, const struct timespec *req, struct timespec *rem)
{
	return -__syscall_cp(SYS_clock_nanosleep, clk, flags, req, rem);
}