Linux 内核 list_head 学习(二)

(一)结构体定义 struct list_head {     struct list_head *next,*prev; }; #define LIST_HEAD_INIT(name){&(name),&(name)} #define LIST_HEAD(name)\     struct list_head name = LIST_HEAD_INIT(name) 申请一个变量LIST_HEAD
相关文章
相关标签/搜索