Apps     Components     Interfaces     All Files     Source Tree     source: tos.lib.FS.FileDelete.nc

Interface: FileDelete

Delete a file

Components providing this interface:
tos.lib.FS.Delete
tos.lib.FS.Matchbox

Components requiring this interface:
tos.lib.FS.Remote

Commands

Events

Commands - Details

delete

result_t delete(const char *filename)

Delete a file

Parameters:

filename - Name of file to delete. Must not be stack allocated.

Returns: SUCCESS: attempt proceeds, deleted will be signaled
FAIL: filesystem is busy