内核list.h在用户态使用举例

1. list的定义指针 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(n
相关文章
相关标签/搜索