linux 内核链表 节点删除
时间: 2023-10-12 11:06:56 浏览: 137
在Linux内核链表中,要删除一个节点,可以使用list_del(struct list_head *entry)接口。但是需要注意的是,删除节点的前提条件是该节点已经存在于链表中,并且prev和next指针都不为NULL。通过调用该接口可以将节点从链表中删除。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [linux内核链表,内核链表详解,内核链表封装](https://blog.csdn.net/qq_45698138/article/details/124840937)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [LINUX内核链表](https://blog.csdn.net/weixin_40209493/article/details/129039903)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文