Hot answers tagged


You can not trust system-level structs for data storage or transfer between different systems. The main reasons are: Different data type sizes (16 / 32 / 64 bit ints, floats vs doubles, etc) Struct element alignment differences owing to underlying architecture optimizations and limitations Unless you are working with a system struct that is specifically ...

Only top voted, non community-wiki answers of a minimum length are eligible