diff options
| author | Bernard Xiong <[email protected]> | 2013-10-11 07:40:50 -0700 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2013-10-11 07:40:50 -0700 |
| commit | 4eaadb7a986f0f8ecad7362a94682bcde2a0b361 (patch) | |
| tree | 22cc0c3fd5a2965f0710eb2bf17ea786f83fdc76 /components | |
| parent | 1c16c5851e6f6ae8eb12e4c4afe4a99ed354bf6d (diff) | |
| parent | 5fdca8371ba88c56b397ea73150d83750e9b4a01 (diff) | |
Merge pull request #168 from grissiom/dfs-fix
DFS: add dfs_file_flush prototype in dfs_file.h
Diffstat (limited to 'components')
| -rw-r--r-- | components/dfs/include/dfs_file.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/dfs/include/dfs_file.h b/components/dfs/include/dfs_file.h index 87a178d026..a574bdc334 100644 --- a/components/dfs/include/dfs_file.h +++ b/components/dfs/include/dfs_file.h @@ -36,6 +36,7 @@ int dfs_file_read(struct dfs_fd *fd, void *buf, rt_size_t len); int dfs_file_getdents(struct dfs_fd *fd, struct dirent *dirp, rt_size_t nbytes); int dfs_file_unlink(const char *path); int dfs_file_write(struct dfs_fd *fd, const void *buf, rt_size_t len); +int dfs_file_flush(struct dfs_fd *fd); int dfs_file_lseek(struct dfs_fd *fd, rt_off_t offset); int dfs_file_stat(const char *path, struct stat *buf); int dfs_file_rename(const char *oldpath, const char *newpath); |
