list_add_tail 添加雙向鏈表結點講解

我是在看linux 的input subsystem 的時候,用到的這個函數,當時我對鏈表還不怎麼清楚node struct list_head {     struct list_head *next, *prev; };linux  list_add_tail(&dev->node, &input_dev_list);函數 /**  * list_add_tail - add a new en
相關文章
相關標籤/搜索