15 struct tm* returnstruct = NULL;
16 if (time != NULL && timestruct != NULL)
18 returnstruct = localtime(time);
19 *timestruct = *returnstruct;
20 returnstruct = timestruct;
Declaration of the makelocaltime() function to convert a time_t to a struct tm containing the local t...
struct tm * makelocaltime(const time_t *time, struct tm *timestruct)
Convert the given time to local time.