I was playing with the time.h file in C that helps us with time/day functions.
time.h
I came across:
struct tm * _Cdecl localtime(const time_t
Actually localtime usually returns the address of a static object. I suspect it looks like this:
localtime
struct tm * localtime(const time_t *timer) { static struct tm tm; /* Magic. */ return &tm; }