gtpc2m41 | C/C++ Language Support User's Guide |
The gettimeofday function obtains the current time, expressed as seconds and microseconds since 00:00:00 Coordinated Universal Time (UTC), January 1, 1970, and stores it in a timeval structure.
Format
#include <sysgtime.h> int gettimeofday(struct timeval *tp, struct timezone *tzp);
sysgtime.h |
---|
The sysgtime.h header file is used instead of the sys_time.h or sys/time.h header files. |