summaryrefslogblamecommitdiff
path: root/src/time/gettimeofday.c
blob: 2436e490410707a69d20ea820b5f4294cc1420ea (plain) (tree)
1
2
3
4
5
6
7
8




                                              
                                           

                 
#include <sys/time.h>
#include "syscall.h"

int gettimeofday(struct timeval *tv, void *tz)
{
	__syscall(SYS_gettimeofday, tv, 0);
	return 0;
}