Add mkdir to the FS API

This commit is contained in:
Sergey Lyubka committed 2022-01-18 19:19:34 +00:00
1 parent 56a7438114
commit d0857fe36c
8 files changed
+73 -54

No files matched your search

+1
View File
@@ -18,6 +18,7 @@ struct mg_fs {
size_t (*seek)(void *fd, size_t offset); // Set file position
bool (*rename)(const char *from, const char *to); // Rename
bool (*remove)(const char *path); // Delete file
bool (*mkdir)(const char *path); // Create directory
};
// File descriptor