FS_CloseFile


C Specification

#include <nitro/fs.h>

BOOL FS_CloseFile( FSFile *p_file );

Description

This function closes an open file.

Caution

This function cannot be called from the interrupt handler (IRQ mode). Note that the process may not be completed if interrupts are prohibited.

Arguments

p_file Address of the FSFile structure.

Return Values

If it correctly closes the file, it returns a value of TRUE. Otherwise it returns a value of FALSE.

See Also

FS_OpenFile, FS_OpenFileFast

Revision History

09/24/2004 Added the description in the Caution section regarding the conditions for calling this function.
04/01/2004 Initial version