consistency: change all remaining syscalls to use SYS_ rather than __NR_ prefix
[musl] / src / time / gettimeofday.c
1 #include <sys/time.h>
2 #include "syscall.h"
3
4 int gettimeofday(struct timeval *tv, void *tz)
5 {
6         __syscall(SYS_gettimeofday, tv, 0);
7         return 0;
8 }