[Info-vax] nice for VMS

Arne Vajhøj arne at vajhoej.dk
Mon Apr 13 16:38:07 EDT 2009


Michael Kraemer wrote:
> Arne Vajhøj schrieb:
>> It happens - struct(ure)s that are written or read to or
>> from file/socket and have to be packed.
>>
>> Obviously not very funny when the code later has to be ported
>> to Solaris/SPARC.
> 
> In this case it might be better to align the structure members
> manually on 4/8 byte boundaries by inserting appropriate
> padding members. Wastes space, but reduces headaches.

It does not solve the writing/reading packed problem.

Arne



More information about the Info-vax mailing list