Byte Order [ HP C Programmer's Guide ] MPE/iX 5.0 Documentation
HP C Programmer's Guide
Byte Order
The VAX computer has a different byte order from HP 9000 computers.
Binary data files created on a VAX computer may need to be swapped before
they can be interpreted on an HP 9000 Series 700/800 computer. Use the
descriptions of storage and alignment on both systems to write a
programming tool to reorder the data. The C library function swab (see
the HP-UX Reference Manual) can be used to swap bytes, if that is
sufficient for the particular application. Otherwise, you need to write
a customized tool. ASCII code and data files should migrate to the HP
9000 Series 700/800 without change.
MPE/iX 5.0 Documentation