projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
implement the remaining clock_* interfaces
[oweals/musl.git]
/
src
/
time
/
clock_getres.c
1
#define SYSCALL_RETURN_ERRNO
2
#include <time.h>
3
#include "syscall.h"
4
5
int clock_getres(clockid_t clk, struct timespec *ts)
6
{
7
return syscall2(__NR_clock_getres, clk, (long)ts);
8
}