What does 'unsigned temp:3' means
- by Munir Ahmed
Hi,
I'm trying to map a C structure to Java using JNA. I came across something that I've never seen.
The struct definition is as follow,
struct op
{
unsigned op_type:9; //---> what does this means?
unsigned op_opt:1;
unsigned op_latefree:1;
unsigned op_latefreed:1;
unsigned op_attached:1;
unsigned op_spare:3;
…