- 博客(1)
- 收藏
- 关注
原创 linux-链表及相关链表操作
1.链表结构体 struct list_head{ struct list_head *next; stuct list_head *prev; } 2.list_entry找到链表所对应结构体指针 #define container_of(ptr, type, member)\ container_of(ptr, type, member) 3.链表初始化 INIT_LIST_HEAD() #define LIST_HEAD_INIT(name) { &(name), &(na
2020-07-12 01:00:14 104
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人