toaruos/libc/time/gettimeofday.c

11 lines
218 B
C
Raw Normal View History

2018-02-25 08:13:54 +03:00
#include <sys/time.h>
#include <syscall.h>
#include <syscall_nums.h>
DEFN_SYSCALL2(gettimeofday, SYS_GETTIMEOFDAY, void *, void *);
2018-02-25 08:13:54 +03:00
int gettimeofday(struct timeval *p, void *z){
return syscall_gettimeofday(p,z);
}