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:

stat data structure - some fields not available (CrCh118)

IO Impacts

Problem description

Some fields of the stat data structure exist on Tru64 UNIX but not on HP-UX.

The following fields exist only on Tru64 UNIX:

dev_t  st_ldev;     /* Local ID of device:  */
                    /*  conversion of Cluster ID (st_rdev)*/
                    /*  This entry is valid only for */
                    /*   character or block special files */
uint_t  st_flags;   /* user defined flags for file */
uint_t  st_gen;     /* file generation number */  
int     st_uatime;  /* Microseconds of st_atime */      
int     st_umtime;  /* Microseconds of st_mtime */      
int     st_uctime;  /* Microseconds of st_ctime */ 

Among the Application Programming Interfaces (APIs) that use the stat structure are ftw, nftw, stat, lstat, and fstat.


C/C++ Structure Membersst_flags C/C++ Structure Membersst_ldev C/C++ Structure Membersst_uctime    
C/C++ Structure Membersst_gen C/C++ Structure Membersst_uatime C/C++ Structure Membersst_umtime    

See also

Solution description

Review your code and the applicable manpages to determine how to resolve this issue.

See also

Problem summary

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