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>    tzset();<br>    return localsub(timep, 0L, &tm);
<br>}<br><br>struct tm *<br>localtime_r(const time_t *const timep, struct tm *tmp)<br>{<br>    return localsub(timep, 0L, tmp);<br>}<br><br>I can'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 <<a href="mailto:jonathan.leffler@gmail.com">jonathan.leffler@gmail.com</a>>  #include <disclaimer.h><br>Guardian of DBD::Informix - v2007.0914 - <a href="http://dbi.perl.org">
http://dbi.perl.org</a><br>"Blessed are we who can laugh at ourselves, for we shall never cease to be amused."