Re: sizeof unpadded struct size



In article <87zliw2tz3.fsf@xxxxxxxxxxxxxxxxxxxx> Phil Carmody <thefatphil_demunged@xxxxxxxxxxx> writes:
....
However, simply on face value, the offsetof the last member plus
the sizeof the last member would give a numerically equivalent value
to what he claims to want.

No, padding does not only occur at the end of a struct.
--
*** t. winter, cwi, kruislaan 413, 1098 sj amsterdam, nederland, +31205924131
home: bovenover 215, 1025 jn amsterdam, nederland; http://www.cwi.nl/~***/
.