critical impact:
stat data structure - some fields not available (CrCh118)
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. Identifiers
 st_flags |
 st_ldev |
 st_uctime |
|
|
 st_gen |
 st_uatime |
 st_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 |
|