summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/gettimeofday.c
blob: 478a4e84d0a5b8d1f77586ba6b831a3dea66aeb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* vi: set sw=4 ts=4: */
/*
 * gettimeofday() for uClibc
 *
 * Copyright (C) 2000-2004 by Erik Andersen <andersen@codepoet.org>
 *
 * GNU Library General Public License (LGPL) version 2 or later.
 */

#include "syscalls.h"
#include <sys/time.h>
#undef gettimeofday
#define __NR___gettimeofday __NR_gettimeofday
attribute_hidden _syscall2(int, __gettimeofday, struct timeval *, tv, struct timezone *, tz);
strong_alias(__gettimeofday,gettimeofday)