#include <time.h>
time_t time(time_t *tloc);
Partially implemented
IEEE Std 1003.1-2017
The time()
function shall return the value of time in seconds since the Epoch.
The tloc argument points to an area where the return value is also stored. If tloc is a NULL
pointer, no value is
stored.
Upon successful completion, time()
shall return the value of time. Otherwise, (time_t)-1
shall be returned.
The time()
function may fail if:
EOVERFLOW
- the number of seconds since the Epoch will not fit in an object of typetime_t
.
Untested
None