I was reading some networking code and I stumbled into something that looked similar to this: 1 2 3 4 5 typedef struct __attribute__((__packed__)) { uint8_t a; uint16_t b; uint32_t c; } some_t; I had no idea what __attribute__((__packed__)) meant, so I did some digging and learned a bit about data alignment.