Linux Audio

Check our new training course

Loading...
1
2
3
4
5
6
7
8
9
#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;
}