ack/plat/linux/liblinux/gettimeofday.c
David Given 8d0261473d Add missing linux68k platform and liblinux support library.
--HG--
branch : dtrg-experimental-powerpc
2013-05-09 00:56:10 +01:00

17 lines
356 B
C

/* $Source: /cvsroot/tack/Ack/plat/linux386/libsys/gettimeofday.c,v $
* $State: Exp $
* $Revision: 1.1 $
*/
#include <stdlib.h>
#include <errno.h>
#include <sys/time.h>
#include <time.h>
#include <unistd.h>
#include "libsys.h"
int gettimeofday(struct timeval *tv, struct timezone *tz)
{
return _syscall(__NR_gettimeofday, (quad) tv, (quad) tz, 0);
}