摘要: #Linux下的Container_of看内核代码的时候看到了container_of宏,写的真是挺巧妙的,直接起到了this指针的功能 #define container_of(ptr, TYPE, MEMBER)({ \ const typeof(((TYPE *)0)->MEMBE... 阅读全文
posted @ 2015-02-28 00:38 NumberSix 阅读(757) 评论(0) 推荐(0) 编辑