Files
musl/src/time/gettimeofday.c

10 lines
178 B
C
Raw Normal View History

2011-02-12 00:22:29 -05:00
#define SYSCALL_RETURN_ERRNO
#include <sys/time.h>
#include "syscall.h"
int gettimeofday(struct timeval *tv, void *tz)
{
syscall2(__NR_gettimeofday, (long)tv, 0);
return 0;
}