was called, but localtime_r() does not have the same requirement.
See also http://thread.gmane.org/gmane.comp.time.tz/2034/
was set before including
.IR <time.h> .
This is a BSD extension, present in 4.3BSD-Reno.
+
+According to POSIX.1-2004,
+.BR localtime ()
+is required to behave as though
+.BR tzset ()
+was called, while
+.BR localtime_r ()
+does not have this requirement.
+.\" See http://thread.gmane.org/gmane.comp.time.tz/2034/
+For portable code
+.BR tzset ()
+should be called before
+.BR localtime_r ().
.SH "SEE ALSO"
.BR date (1),
.BR gettimeofday (2),