projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
e880fb33fb28d07533fdc2d45243560280e1868b
[musl]
/
src
/
time
/
clock_settime.c
1
#define SYSCALL_RETURN_ERRNO
2
#include <time.h>
3
#include "syscall.h"
4
5
int clock_settime(clockid_t clk, const struct timespec *ts)
6
{
7
return syscall2(__NR_clock_settime, clk, (long)ts);
8
}