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:

nonstandard headers - not available; use standard headers (CrUn336)

HDR Impacts

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.


C/C++ Header Filesgetopt.h C/C++ Header Filessys/mode.h C/C++ Header Filessys/syslog.h
C/C++ Header Filessys/access.h C/C++ Header Filessys/seek.h C/C++ Header Filessys/syslog_pri.h
C/C++ Header Filessys/limits.h C/C++ Header Filessys/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
Printable version
Privacy statement Using this site means you accept its terms Feedback to DSPP
© 2007 Hewlett-Packard Development Company, L.P.