struct pid_id
{
unsigned int inactive :1;
unsigned int :1;
unsigned int refcount :6;
unsigned int :0;
short pid_id1;
struct pid_id *link;
};
sizeof(pid_id)?
...全文
9817打赏收藏
对齐问题,结果是什么?
struct pid_id { unsigned int inactive :1; unsigned int :1; unsigned int refcount :6; unsigned int :0; short pid_id1; struct pid_id *link; }; sizeof(pid_id)?