Manuals
General operations
Block device operations
File system operations
File operations
Directory operations
Direct Block access
Block driver (mandatory)
Block driver (optional)
ECF_PathExists
The ECF_PathExists function checks if a path exists on a mounted file system.
ECF_ErrorCode ECF_PathExists(
const char *path,
uint8_t *pIsDirectory
);
const char *path,
uint8_t *pIsDirectory
);
Parameters
path
The path to check.
pIsDirectory
A pointer to a uint8_t which will be set to 1 if the supplied path is a directory. This parameter is not mandatory and may be NULL.
Return value
Returns one of the EcFAT error codes (ECFERR_SUCCESS on success).
ECFERR_PATHNOTFOUND will be returned if the path does not exist.
Remarks
None.