
Linux
文章平均质量分 77
Arkinux
这个作者很懒,什么都没留下…
展开
-
tar命令详解
1. 作用: tar命令是Unix/Linux系统中备份文件的可靠方法,几乎可以工作于任何环境中,它的使用权限是所有用户。 2. 格式: tar [主选项+辅选项] 文件或目录 3. 主要参数: 使用该命令时,主选项是必须要有的,它告诉tar要做什么事情,辅选项是辅助使用的,可以选用。 3.1 主选项:转载 2015-02-27 13:25:44 · 1369 阅读 · 0 评论 -
关于linux内核container_of宏的理解
container_of的功能是根据一个结构体变量中的一个域成员变量的指针来获取指向整个结构体变量的指针。 container_of宏定义来自kernel.h: /** * container_of - cast a member of a structure out to the containing structure * @ptr: the pointer to the me转载 2015-02-27 12:16:11 · 429 阅读 · 0 评论