FF_RmFile()

From FullFAT
Jump to: navigation, search

Removes the specified file.

Contents

Prototype

FF_ERROR FF_RmFile(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.

Example

#include "fullfat.h"
 
FF_ERROR Error;
Error = FF_RmDir(pIoman, "\\test");

Back to API.

See Also

Personal tools