Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX 64-bit Porting and Transition Guide: HP 9000 Computers

Chapter 5 Writing Portable Code

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

This chapter provides information on coding practices for developing code that is portable between HP-UX 32-bit, 64-bit, and other UNIX systems. It includes how to use industry-standard header files and HP-UX extensions that isolate platform-specific code.

The following topics are included:

  • Making code 64-bit clean

  • Using integral types defined in <inttypes.h>

  • Guidelines for using <inttypes.h>

  • Using pstat(2) instead of /dev/kmem

  • Getting configurable system information

  • Isolating system-specific code

  • Using system-specific include files

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1998 Hewlett-Packard Development Company, L.P.