summaryrefslogtreecommitdiff
path: root/kernel/syscalls/clock_gettime.c
blob: c0696d7f063fc28fc5e079a713bd573ede06a67e (plain)
1
2
3
4
5
6
7
8
9
10
#include <syscalls.h>

int syscall_clock_gettime(SYS_CLOCK_GETTIME_PARAMS *args) {
  // FIXME: Actually implement this
  if (args->ts) {
    args->ts->tv_sec = 0;
    args->ts->tv_nsec = 0;
  }
  return 0;
}