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
相關文章
相關標籤/搜索