summaryrefslogtreecommitdiff
path: root/include/fat.h
diff options
context:
space:
mode:
authorAKASHI Takahiro <takahiro.akashi@linaro.org>2018-09-11 15:59:10 +0900
committerAlexander Graf <agraf@suse.de>2018-09-23 21:55:30 +0200
commit31a18d570d968a01582bea900002a86d1c9e17e6 (patch)
treea10c75272c51eb388196f79bb70e4cbb8943000b /include/fat.h
parent3a10e07234e5f545ca70088e99f27d6098201449 (diff)
fs: fat: support mkdir
In this patch, mkdir support is added to FAT file system. A newly created directory contains only "." and ".." entries. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/fat.h')
-rw-r--r--include/fat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fat.h b/include/fat.h
index a236451add..0fe3eaa8f7 100644
--- a/include/fat.h
+++ b/include/fat.h
@@ -203,5 +203,6 @@ int fat_read_file(const char *filename, void *buf, loff_t offset, loff_t len,
int fat_opendir(const char *filename, struct fs_dir_stream **dirsp);
int fat_readdir(struct fs_dir_stream *dirs, struct fs_dirent **dentp);
void fat_closedir(struct fs_dir_stream *dirs);
+int fat_mkdir(const char *dirname);
void fat_close(void);
#endif /* _FAT_H_ */