![]() |
|||||
|
Classes | |
struct | unixem_timeval |
A representation of current time, used by gettimeofday(). More... | |
Defines | |
#define | timeval unixem_timeval |
A representation of current time, used by gettimeofday(). | |
Functions | |
int | gettimeofday (struct timeval *tv, void *dummy) |
Accesses the current UTC time. | |
int | unixem_gettimeofday (struct unixem_timeval *tv, void *dummy) |
Accesses the current UTC time. |
#define timeval unixem_timeval |
A representation of current time, used by gettimeofday().
This structure represents the time, in seconds and microseconds, since Jan. 1, 1970, in UTC. Returned by the gettimeofday() function.
int gettimeofday | ( | struct timeval * | tv, | |
void * | dummy | |||
) |
Accesses the current UTC time.
Retrieves the current time and timezone information, relative to Greenwich Mean Time
tv | Pointer to a timeval structure to receive the time information | |
dummy | This parameter is not used |
int unixem_gettimeofday | ( | struct unixem_timeval * | tv, | |
void * | dummy | |||
) |
Accesses the current UTC time.
Retrieves the current time and timezone information, relative to Greenwich Mean Time
tv | Pointer to a timeval structure to receive the time information | |
dummy | This parameter is not used |
References unixem_timeval::tv_sec, unixem_timeval::tv_usec, and unixem_internal_FILETIMEToUNIXTime().
|
UNIX Emulation for Win32 Libraries documentation © Synesis Software Pty Ltd, 2002-2010 |