Jump to content
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

Transition Impacts

Tru64 UNIX Software Transition Kit


» HP STK home
» Home
» Overview
» Tools
» Documentation
» Transition impacts
» Identifier types
» Impact list
» Porting to HP-UX
» Glossary
» Help
» Send us feedback
Site maps
» Tru64 UNIX STK
Content starts here

critical impact:

time64_t APIs - not supported; temporarily available (CrUn178)

64 Impacts DA Impacts ME Impacts

Problem description

The time64_t Application Programming Interfaces (APIs) exist only on Tru64 UNIX but not on HP-UX. However, alternative time routines (without the "64" suffix) exist on HP-UX and support the 64-bit time_t for 64-bit data model binaries. The Tru64 UNIX Migration Environment for HP-UX also provides header macros to map these APIs to their 64-bit data model counterparts on HP-UX.

The time64_t data type and time64_t APIs are Tru64 UNIX extensions that are provided to allow applications to use a 64-bit time_t data type.

The Migration Environment contains Tru64 UNIX APIs, development tools, and commands and utilities to assist customers in migrating their applications from Tru64 UNIX to HP-UX.


C/C++ Functionsctime64 C/C++ Functionsgmtime64 C/C++ Functionsmktime64
C/C++ Functionsctime64_r C/C++ Functionsgmtime64_r C/C++ Functionssettimeofday64
C/C++ Functionsdifftime64 C/C++ Functionslocaltime64 C/C++ Functionstime64
C/C++ Functionsgettimeofday64 C/C++ Functionslocaltime64_r  

See also

Solution description

Macro mappings for the time64_t APIs are provided in the Tru64 UNIX Migration Environment for HP-UX.

Applications will be able to use these APIs from the Tru64 UNIX Migration Environment when using the 64-bit data model. Note that the Migration Environment is temporary.

For a long-term solution, because time_t is 64 bit for 64-bit data model binaries, recode your application by removing the 64 string from these APIs and compiling your ported code using the 64-bit data model (+DD64).

Also, note that the underlying time zone implementation and struct tm data structure in Tru64 UNIX and HP-UX are slightly different. Please review the impact statements on the tzset routine and tm data structures for more information.

See also

Problem summary

classifications source types OS release severity type
64, DA, ME C, C++ any HP-UX 11i version critical unavailable
Printable version
Privacy statement Using this site means you accept its terms Feedback to DSPP
© 2007 Hewlett-Packard Development Company, L.P.