FF_RmDir()
From FullFAT
Removes the specified directory (if its empty).
Contents |
Prototype
FF_ERROR FF_RmDir(FF_IOMAN *pIoman, const FF_T_INT8 *path);
Back to API.
Parameters
pIoman
Pointer to an FF_IOMAN object, as returned from the FF_CreateIOMAN() function.
path
Absolute path of the directory to be deleted.
Return Value
- Returns FF_ERR_NONE on success.
- Returns FF_ERR_NULL_POINTER if pIoman was NULL.
- Returns FF_ERR_DIR_NOT_EMPTY if a directory contains items.
Example
#include "fullfat.h" FF_ERROR Error; Error = FF_RmDir(pIoman, "\\test");
Back to API.

