From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079034715833.tru64-unix-managers.marc@archive.invalid> From: Lars Bro Date: Thu, 31 Dec 1998 08:39:10 +0000 To: tru64-unix-managers Subject: How to determine allignment X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079034715833 Hi, folks. I have been asked how to correctly determine the allignment boundary. My own suggestion is that the type �int� in C is used as the �most appropriate� data size for the processor so if address % sizeof(int) == 0 anything can be put into that address without problems. Is this all wrong ? Is there a better way or what ? -- Lars Bro lbr@dksin.dk ABB Daimler-Benz Transportation Signal A/S +45 36 39 01 77