void localtime_r

void localtime_r(const time_t *timer, struct tm *timeptr)

Re entrant version of localtime().