FSDir_Close()

void  FSDir_Close (FS_DIR  *p_dir,
                   FS_ERR  *p_err);

File

Called from

Code enabled by

fs_dir.c

Application;
fs_closedir()

FS_CFG_DIR_EN

Close and free a directory.

See fs_closedir() for more information.

Arguments

p_dir

Pointer to a directory.

p_err

Pointer to variable that will the receive return error code from this function:

FS_ERR_NONE

Directory closed.

FS_ERR_NULL_PTR

Argument p_dir passed a NULL pointer.

FS_ERR_INVALID_TYPE

Argument p_dir’s TYPE is invalid or unknown.

FS_ERR_DIR_DIS

Directory module disabled.

FS_ERR_DIR_NOT_OPEN

Directory not open.

Returned Value

None.

Notes/Warnings

None.