Actually, the subject pretty much says it all.<br>In tzcode2007k (also in 2007h), the code in localtime.c is:<br><br>struct tm *<br>localtime(const time_t *const timep)<br>{<br>&nbsp;&nbsp;&nbsp; tzset();<br>&nbsp;&nbsp;&nbsp; return localsub(timep, 0L, &amp;tm);
<br>}<br><br>struct tm *<br>localtime_r(const time_t *const timep, struct tm *tmp)<br>{<br>&nbsp;&nbsp;&nbsp; return localsub(timep, 0L, tmp);<br>}<br><br>I can&#39;t immediately see a justification for the asymmetry in the POSIX specification of these functions, but I could be missing something.
<br clear="all"><br>-- <br>Jonathan Leffler &lt;<a href="mailto:jonathan.leffler@gmail.com">jonathan.leffler@gmail.com</a>&gt; &nbsp;#include &lt;disclaimer.h&gt;<br>Guardian of DBD::Informix - v2007.0914 - <a href="http://dbi.perl.org">
http://dbi.perl.org</a><br>&quot;Blessed are we who can laugh at ourselves, for we shall never cease to be amused.&quot;