Table of Contents Previous topic Next topic
C COMPILER LIBRARY FUNCTION REFERENCE->Detailed Descriptions->time()
time_t time(time_t *timeptr);
timeptr Pointer to time storage location
This function returns the current calender time if this is available, otherwise it returns -1. The routine provided assumes that calender time is not available and always returns -1.
If timeptr is not NULL, then -1 is also stored in the location given by this pointer.
This function returns -1 to indicate that no time is available.