fix fputwc return value
[oweals/musl.git] / 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 }