摘要: ```#pragma pack(x) 编译时x字节对齐#pragma pack() 取消字节对齐__attribute__((packed)) 编译时数据紧凑的拼接在一起__attribute__((aligned(x))) 分配地址空间时是x字节对齐struct foo { char a; ... 阅读全文
posted @ 2015-07-10 13:52 Lcnoctave 阅读(613) 评论(0) 推荐(0) 编辑