Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

File

Called from

Code enabled by

fs_api.c

Application

FS_CFG_API_EN and not FS_CFG_RD_ONLY_EN

Delete a file or directory.

Arguments

name_full

Name of the entry.

Returned Value

0, if the file is not removed.

-1, if the file is not removed.

Notes/Warnings

  1. When a file is removed, the space occupied by the file is freed and shall no longer be accessible.
  2. A directory can be removed only if it is an empty directory.
  3. The root directory cannot be removed.

Example

  • No labels