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 7 Current »

File

Called from

Code enabled by

fs_api.c

Application

FS_CFG_API_EN and FS_CFG _DIR_EN

Close and free a directory.

Arguments

p_dir

Pointer to a directory.

Returned Value

0, if the directory is successfully closed.

-1, if any error was encountered.

Notes/Warnings

  1. After a directory is closed, the application must desist from accessing its directory pointer. This could cause file system corruption, since this handle may be re-used for a different directory.
  • No labels