forked from Bananymous/banan-os
8 lines
176 B
C++
8 lines
176 B
C++
|
#include <sys/syscall.h>
|
||
|
#include <time.h>
|
||
|
#include <unistd.h>
|
||
|
|
||
|
int clock_gettime(clockid_t clock_id, struct timespec* tp)
|
||
|
{
|
||
|
return syscall(SYS_CLOCK_GETTIME, clock_id, tp);
|
||
|
}
|