M2M_API_RESULT m2m_fs_find_next(CHAR *filename_buffer)
Description: the function finds the next files or directories having the file name matching the pattern provided by the m2m_fs_find_first function.
Parameters:
filename_buffer: pointer to the allocated buffer that will be filled with the file name found.
Return
value:
refer to
M2M_API_RESULT enum
Output
data:
If existing, the
buffer contains the directories and file names using the format shown in the
table below:
< directory name> |
‘\0’ |
|
the directory name is closed in angle brackets | |
(system file name) |
‘\t’ |
file size in bytes |
‘\0’ |
the system file name is closed in parentheses |
user file name |
‘\t’ |
file size in bytes |
‘\0’ |
the user file name is not closed in parentheses |
Examples: 19.1.2 Listing all Files