Merge pull request #151 from Krakonos/master

Fixed documentation for return lfs_dir_read return value.
This commit is contained in:
Christopher Haster
2019-04-12 17:07:25 -05:00
committed by GitHub

3
lfs.h
View File

@@ -578,7 +578,8 @@ int lfs_dir_close(lfs_t *lfs, lfs_dir_t *dir);
// Read an entry in the directory
//
// Fills out the info structure, based on the specified file or directory.
// Returns a negative error code on failure.
// Returns a positive value on success, 0 at the end of directory,
// or a negative error code on failure.
int lfs_dir_read(lfs_t *lfs, lfs_dir_t *dir, struct lfs_info *info);
// Change the position of the directory