
timelocal(), timegm(), tzsetwall() are no longer in SunOS. I believe they were replaced in SunOS 5.0 (by mktime(), localtime(), tzset()). Robbin
Date: Thu, 10 Jan 2008 22:13:09 -0800 From: Jonathan Leffler <jonathan.leffler@gmail.com> Subject: SunOS and timelocal, timegm, tzsetwall To: Time Zone Mailing List <tz@lecserver.nci.nih.gov>
In Makefile (for tzcode2007k), there are the comments:
# Sun has provided "tzsetwall", "timelocal", and "timegm" in SunOS 4.0. # These functions may well disappear in future releases of the time # conversion package.
For Solaris 8 (SunOS 5.8) and Solaris 10 (SunOS 5.10), neither the standard C library nor any other shared library in /lib or /usr/lib defines or references tzsetwall, timelocal or timegm -- the functions no longer exist in Solaris. I was checking on SPARC rather than Intel, but I would not expect that to matter in practice.
You can, however, find references for these functions for Solaris 2.5 (aka SunOS 5.5) and Solaris 2.6 (SunOS 5.6) if you Google "site:sun.comtzsetwall" - ( 2.5: http://docs.sun.com/app/docs/doc/802-1930-03/6i5u95utq?a=view; 2.6: http://docs.sun.com/app/docs/doc/802-5747-03/6i9g1bha0?l=ko&a=view). Interestingly, there is a Solaris 8 manual page ( http://docs.sun.com/app/docs/doc/806-0627/6j9vhfn9n?l=ko&a=view) that mentions tzsetwall (but not timegm or timelocal), but I still can't find the function in any of the shared libraries on a representative Solaris 8 machine. There is a 'Solaris 8 Transition Guide' at http://docs.sun.com/app/docs/doc/805-6331/6j5vgg6bv?a=view which mentions all three - describing their replacements.
-- Jonathan Leffler <jonathan.leffler@gmail.com> #include <disclaimer.h> Guardian of DBD::Informix - v2007.0914 - http://dbi.perl.org "Blessed are we who can laugh at ourselves, for we shall never cease to be amused."
participants (1)
-
Robbin Kawabata