projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
2b8a287d36bd25fe5949ac23a09fbfb8526ec441
[musl]
/
src
/
time
/
gettimeofday.c
1
#define SYSCALL_RETURN_ERRNO
2
#include <sys/time.h>
3
#include "syscall.h"
4
5
int gettimeofday(struct timeval *tv, void *tz)
6
{
7
syscall2(__NR_gettimeofday, (long)tv, 0);
8
return 0;
9
}