Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 80 of file adns_unix_calls.c.
{ static __int64 Adjustment; __int64 now = 0; if (!Adjustment) { SYSTEMTIME st = {1970,1,0,1,0,0,0}; SystemTimeToFileTime(&st, (LPFILETIME)&Adjustment); } if (tz) { errno = EINVAL; return -1; } GetSystemTimeAsFileTime((LPFILETIME)&now); now -= Adjustment; tv->tv_sec = (long)(now / 10000000); tv->tv_usec = (long)((now % 10000000) / 10); return 0; }