mirror of
https://github.com/tmate-io/tmate.git
synced 2024-12-13 10:20:37 +01:00
10 lines
193 B
C
10 lines
193 B
C
|
#define _GNU_SOURCE
|
||
|
#include <time.h>
|
||
|
#include <unistd.h>
|
||
|
#include <sys/syscall.h>
|
||
|
|
||
|
int clock_gettime(clockid_t clk_id, struct timespec *tp)
|
||
|
{
|
||
|
return syscall(SYS_clock_gettime, clk_id, tp);
|
||
|
}
|