3 ms·Struct should be compared field by field, using memcmp is just wrong. What if there is padding?by sanxiyn 4y agoStruct should be compared field by field, using memcmp is just wrong. What if there is padding?