Aligned access to c structures (how to avoid)

Marc Auslander marc at marc.watson.ibm.com
Fri Feb 15 01:13:58 AEST 1991


The trouble with the sort of packing you propose is that it does not
provide "left to right equivalence".  In other words, adding something
to the end of a structure can change the mappings of fields that
precede it.  Consider the trouble this causes when you need to extend
a structure without recompiling the world.
--


Marc Auslander       <marc at ibm.com>



More information about the Comp.unix.aix mailing list