📄 proc.c
字号:
/** proc.c * * Written by Sebastian Stolzenberg email:stolzi@sebastian-stolzenberg.de * Version 1.0 04 Feb 2003 */#include "../include/sysdep.h"#include "../include/candrv.h"#include "../include/proc.h"///////////////////////////////////////////////////////////////////////////////// candrv_old_read_proc/*static int candrv_old_read_proc( char *buf, char **start, off_t offset, int len, int unused){ int eof; return candrv_read_proc(buf, start, offset, len, &eof, NULL);}struct proc_dir_entry pcimod_proc_entry = { 0, // low_ ino: the inode -- dynamic 7, "candrv", // len of name and name S_IFREG | S_IRUGO, // mode 1, 0, 0, // nlinks, owner, group 0, NULL, // size - unused; operations -- use default &candrv_old_read_proc, // function used to read data};
*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -