* How to determine allignment
@ 1998-12-31 8:39 Lars Bro
0 siblings, 0 replies; only message in thread
From: Lars Bro @ 1998-12-31 8:39 UTC (permalink / raw)
To: tru64-unix-managers
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 484 bytes --]
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-12-31 8:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-31 8:39 How to determine allignment Lars Bro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox