会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
梦过无声
博客园
首页
新随笔
联系
订阅
管理
2024年2月18日
container_of宏
摘要: 玩转内核链表list_head container_of 是 Linux 内核中一个常用的宏,用于从结构体的成员指针获取包含该成员的整个结构体的指针。 /** * container_of - cast a member of a structure out to the containing st
阅读全文
posted @ 2024-02-18 16:29 梦过无声
阅读(36)
评论(0)
推荐(0)
编辑
公告