摘要:
#include#define container_of(addr,type,field) ((type*)((unsigned char*)addr - (unsigned long)&((type*)0)->field)) struct test_struct { float f1; int num; char ch; }; int main(void) { struct test_struct *test_struct; struct test_struct... 阅读全文
posted @ 2013-11-11 10:50
M.Bing
阅读(497)
评论(0)
推荐(0)

浙公网安备 33010602011771号