m2m_fs_rm_dir

M2M_API_RESULT m2m_fs_rm_dir(CHAR *path)

 

Description: the function deletes a directory entry. The full path must be used, and directory must be empty.

 

Parameters:
path:  pointer to the zero-terminated string containing the full path including the directory to be

deleted

 

Return value:
         refer to M2M_API_RESULT enum

 

NOTE: m2m_fs_last_error function returns the failure reason.