64 bit architectures and C/C++

Ken Turkowski turk at Apple.COM
Tue May 7 04:35:09 AEST 1991


cadsi at ccad.uiowa.edu (CADSI) writes:
>The big/little endian problem is handled via swab calls.
>AND, how do we know when to do this????  We just store
>the needed info in a header record.
>This header is read in block fashion and typedef'ed to the structure we need.

What type of header do you suggest? This should be able to record
the ordering of shorts, longs, floats, and doubles, and might need
to specify floating-point format.
-- 
Ken Turkowski @ Apple Computer, Inc., Cupertino, CA
Internet: turk at apple.com
Applelink: TURK
UUCP: sun!apple!turk



More information about the Comp.lang.c mailing list