struct tm *localtime(const time_t *timep);
I checked man localtime
but there's no words on whether it's my duty to clean it after using.
And in fact I have many similar doubts on functions returning a pointer, how do you determine it should be freed or not ?