proc.c

来自「HMS30C7202下的CAN驱动」· C语言 代码 · 共 32 行

C
32
字号
/** 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 + =
减小字号Ctrl + -
显示快捷键?