linux kernel proc文件系统
操作系统
在linux内核模块开发中如果需要用到文件IO,使用proc文件系统是一个很好的方法。 给大家转一个例子供参考 /** * procfs2.c - create a “file“ in /proc * */ #include <linux/module.h> /* Specifically, a mod
金钼软件下载站 Copyright(C) 2008- All Rights Reserved!
闽ICP备2023004188号| 免责声明 Cnzz