Get the time.
time_t __fastcall__ time (time_t* t);
The function returns the time since the 1970-01-01 00:00:00 measured in seconds. If the pointer
NULL, the function result will also be stored there. If no time is available,
(time_t)-1is returned and
errnois set to
- The function is only available as fastcall function, so it may only be used in presence of a prototype.
- Many platforms supported by cc65 do not have a realtime clock, so the returned value may not be valid.
- See also