RT-Thread RTOS 1.2.0
An open source embedded real-time operating system
|
#include <dfs_file.h>
成员变量 | |
int(* | open )(struct dfs_file *file) |
int(* | close )(struct dfs_file *file) |
int(* | ioctl )(struct dfs_file *file, int cmd, void *arg) |
ssize_t(* | read )(struct dfs_file *file, void *buf, size_t count, off_t *pos) |
ssize_t(* | write )(struct dfs_file *file, const void *buf, size_t count, off_t *pos) |
int(* | flush )(struct dfs_file *file) |
off_t(* | lseek )(struct dfs_file *file, off_t offset, int wherece) |
int(* | truncate )(struct dfs_file *file, off_t offset) |
int(* | getdents )(struct dfs_file *file, struct dirent *dirp, uint32_t count) |
int(* | poll )(struct dfs_file *file, struct rt_pollreq *req) |
int(* | mmap )(struct dfs_file *file, struct lwp_avl_struct *mmap) |
int(* | lock )(struct dfs_file *file, struct file_lock *flock) |
int(* | flock )(struct dfs_file *file, int, struct file_lock *flock) |
在文件 dfs_file.h 第 38 行定义.
int(* dfs_file_ops::open) (struct dfs_file *file) |
在文件 dfs_file.h 第 40 行定义.
int(* dfs_file_ops::close) (struct dfs_file *file) |
在文件 dfs_file.h 第 41 行定义.
int(* dfs_file_ops::ioctl) (struct dfs_file *file, int cmd, void *arg) |
在文件 dfs_file.h 第 42 行定义.
ssize_t(* dfs_file_ops::read) (struct dfs_file *file, void *buf, size_t count, off_t *pos) |
在文件 dfs_file.h 第 43 行定义.
ssize_t(* dfs_file_ops::write) (struct dfs_file *file, const void *buf, size_t count, off_t *pos) |
在文件 dfs_file.h 第 44 行定义.
int(* dfs_file_ops::flush) (struct dfs_file *file) |
在文件 dfs_file.h 第 45 行定义.
off_t(* dfs_file_ops::lseek) (struct dfs_file *file, off_t offset, int wherece) |
在文件 dfs_file.h 第 46 行定义.
int(* dfs_file_ops::truncate) (struct dfs_file *file, off_t offset) |
在文件 dfs_file.h 第 47 行定义.
int(* dfs_file_ops::getdents) (struct dfs_file *file, struct dirent *dirp, uint32_t count) |
在文件 dfs_file.h 第 48 行定义.
int(* dfs_file_ops::poll) (struct dfs_file *file, struct rt_pollreq *req) |
在文件 dfs_file.h 第 49 行定义.
int(* dfs_file_ops::mmap) (struct dfs_file *file, struct lwp_avl_struct *mmap) |
在文件 dfs_file.h 第 51 行定义.
在文件 dfs_file.h 第 52 行定义.
int(* dfs_file_ops::flock) (struct dfs_file *file, int, struct file_lock *flock) |
在文件 dfs_file.h 第 53 行定义.