critical impact:
nonstandard headers - not available; use standard headers (CrUn336)
Problem description
The identified nonstandard headers exist on Tru64 UNIX but not on HP-UX. However, standard headers can be used instead on both platforms.
A mapping of the nonstandard headers to standard headers is as follows:
Nonstandard Standard
Header Header
============ ========
<getopt.h> <unistd.h>
<sys/access.h> <unistd.h>
<sys/limits.h> <limits.h>
<sys/mode.h> <sys/stat.h>
<sys/seek.h> <unistd.h>
<sys/syslimits.h> <limits.h>
<sys/syslog.h> <syslog.h>
<sys/syslog_pri.h> <syslog.h>
These are nonstandard headers on Tru64 UNIX that programmers commonly include by mistake instead of standard headers. Some are identical to standard headers; for example, <sys/limits.h> is linked with <limits.h>. Others like <sys/mode.h> contain common definitions
that are shared between multiple standard headers. Identifiers
 getopt.h |
 sys/mode.h |
 sys/syslog.h |
 sys/access.h |
 sys/seek.h |
 sys/syslog_pri.h |
 sys/limits.h |
 sys/syslimits.h |
|
See also
Solution description
Include the appropriate standard header.
Problem summary
| classifications |
source types |
OS release |
severity |
type |
| HDR |
C, C++ |
any HP-UX 11i version |
critical |
unavailable |
|