HPlogo HP C/HP-UX Programmer's Guide: HP 9000 Computers > Chapter 6 Migrating C Programs to HP-UX

Data Storage and Alignment

» 

Technical documentation

Complete book in PDF

 » Table of Contents

The alignment requirements of some data types are different on the HP 9000 workstations and servers. Check any externally imposed data structure layouts for differences. These may include byte and bit-field order, if you are migrating from a VAX, or different internal padding for structure member alignment. On the HP 9000 workstations and servers, doubles must be aligned on a 64-bit boundary, whereas other machines require alignment on a 32-bit boundary. Refer to Chapter 2 for complete storage and alignment information.

© Hewlett-Packard Development Company, L.P.