Agreed, possibly time_t is a struct in some implementations (none that I've seen, but...)
Type: Posts; User: rjhanby
Agreed, possibly time_t is a struct in some implementations (none that I've seen, but...)
Appreciate the reply, but I had no confusion about the function or how to use it. I was curious if anyone knew the rationale behind passing a pointer to time_t instead of just passing time_t.
Is there some reason that localtime takes a pointer to time_t instead of just time_t? I can't see that the time_t ever gets modified and the time function returns a time_t not a pointer, so you can't...