Embedded TCP/IP stack
4.7.0
|
time_t fnet_time | ( | time_t * | sec | ) |
Get time since the Epoch (00:00:00 UTC, January 1, 1970).
[out] | sec | If the pointer is not FNET_NULL, it will get the time since the Epoch (00:00:00 UTC, January 1, 1970), in seconds. |
This function returns the time since the Epoch (00:00:00 UTC, January 1, 1970), in seconds. It is defined by standard C library time.h
, and may be used as time().
This function is available only if FNET_CFG_TIME is set.