beautypg.com

Function smt387fs_delete – Sundance SMT387-FS User Manual

Page 13

background image

Function smt387fs_delete

Synopsis

int smt387fs_delete (char *filename);

Definition

Deletes the named file.

Synchronization

Thread safe.

Error Conditions

FS_BAD_NAME if the file name provided is not a valid name.

SMT387FS_FILE_NOEXIST if the file does not exist.

SMT387FS_FILE_RDONLY if the file’s attributes state that it is a read-only file.

SMT387FS_FILE_OPEN if the file is currently open for reading or writing.

Otherwise FS_OK.

Page 13