I am a newbie in C and trying to understand the below structure that I came across.
typedef struct {
char struct1_name[32];
uint8_t is_initialized:1
} struct1_s;
I think instead of bool "uint8_t is_initialized:1" is used here. Just wondering what ":1" means? what the significance of this? I am sure this will be answered somewhere but I am not sure how to search for this, hence any link/example that describes the above one would be great