真正最后能操作pro file的接口,proc本质是个内存文件系统, vfs - > ProcFileOperations 更多...
#include <proc_fs.h>
成员变量 | |
char * | name |
ssize_t(* | write )(struct ProcFile *pf, const char *buf, size_t count, loff_t *ppos) |
int(* | open )(struct Vnode *vnode, struct ProcFile *pf) |
int(* | release )(struct Vnode *vnode, struct ProcFile *pf) |
int(* | read )(struct SeqBuf *m, void *v) |
真正最后能操作pro file的接口,proc本质是个内存文件系统, vfs - > ProcFileOperations