Added possibility to open multiple files with LFS_NO_MALLOC enabled.

This commit is contained in:
Damien George
2018-06-08 11:27:27 +10:00
committed by Christopher Haster
parent f94d233deb
commit 97711d78c4
2 changed files with 6 additions and 3 deletions

2
lfs.h
View File

@@ -334,7 +334,7 @@ int lfs_stat(lfs_t *lfs, const char *path, struct lfs_info *info);
//
// Returns a negative error code on failure.
int lfs_file_open(lfs_t *lfs, lfs_file_t *file,
const char *path, int flags);
const char *path, int flags, void *file_buffer);
// Close a file
//