Ubuntu – How does the compiler know how to correctly handle bitfields when reading binary data from a file in C?
I'm trying to learn C by writing a postgres clone and struggling to understand how the compiler handles bitfields. Specifically, my question surrounds the bitfields in postgres' line pointer struct: typedef struct ItemIdData { unsigned lp_off:15, /* offset to tuple…