Example #1
0
static time_t __vsyscall(1) vtime(time_t * tp)
{
	struct timeval tv;
	vgettimeofday(&tv, NULL);
	if (tp) *tp = tv.tv_sec;
	return tv.tv_sec;
}
Example #2
0
static time_t __vsyscall(1) asmlinkage vtime(time_t * t)
{
	struct timeval tv;
	vgettimeofday(&tv,NULL);
	if (t)
		*t = tv.tv_sec;
	return tv.tv_sec;
}