#include <reent.h>#include <sys/time.h>#include <time.h>Go to the source code of this file.
Functions | |
| int | _gettimeofday_r (struct _reent *r, struct timeval *tp, struct timezone *tzp) |
newlib - gettimeofday.
Definition in file gettimeofday_r.c.
| int _gettimeofday_r | ( | struct _reent * | r, | |
| struct timeval * | tp, | |||
| struct timezone * | tzp | |||
| ) |
This function has to be implemented if you want to use gettimeofday in your programs.
Return time in epoch seconds since Jan 01, 1970
| p_reent | Pointer to a structure that will receive the return value. | |
| tp | Address of timeval structure to fill. | |
| tzp | Address of timezone structure to fill. |
Definition at line 34 of file gettimeofday_r.c.
1.6.2