about summary refs log tree commit diff
path: root/src/time/nanosleep.c
blob: a2ff4839425d772fce611b3439960cde0e176226 (plain) (blame)
1
2
3
4
5
6
7
8
#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);
}