Nov. 8, 2011
11:44 a.m.
As an other aside, is there a better way to describe the in-file layout of the ttinfo array members than using a C struct? An actual C struct would have padding and alignment requirements that do not agree with the in-file layout description.
A data layout diagram, just like a packet format diagram in a network protocol spec, would be a good way to do that. It would make the layout completely explicit, without any question of the meaning of C type names or the platform-dependent rules of structure padding. paul