Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
|
Structure to receive file or directory information. More...
#include <fs.h>
Data Fields | |
enum fs_dir_entry_type | type |
File/directory type (FS_DIR_ENTRY_FILE or FS_DIR_ENTRY_DIR) | |
char | name [MAX_FILE_NAME+1] |
Name of file or directory. | |
size_t | size |
Size of file (0 if directory). | |
Structure to receive file or directory information.
Used in functions that read the directory entries to get file or directory information.
char fs_dirent::name[MAX_FILE_NAME+1] |
Name of file or directory.
size_t fs_dirent::size |
Size of file (0 if directory).
enum fs_dir_entry_type fs_dirent::type |
File/directory type (FS_DIR_ENTRY_FILE or FS_DIR_ENTRY_DIR)