Searched refs:tv (Results 1 – 1 of 1) sorted by relevance
220 __attribute__((weak)) int _gettimeofday (struct timeval *__restrict tv, __unused void *__restrict t… in _gettimeofday() argument221 if (tv) { in _gettimeofday()223 tv->tv_sec = (time_t)(us_since_epoch / 1000000); in _gettimeofday()224 tv->tv_usec = (suseconds_t)(us_since_epoch % 1000000); in _gettimeofday()229 __attribute((weak)) int settimeofday(__unused const struct timeval *tv, __unused const struct timez… in settimeofday() argument230 if (tv) { in settimeofday()231 int64_t us_since_epoch = tv->tv_sec * 1000000 + tv->tv_usec; in settimeofday()