FSResult FS_ARCHIVE_PROC_FUNC(FSFile *p_file, FSCommandType command /*
= FS_COMMAND_CLOSEFILE */);
Operating specifications for the archive command FS_COMMAND_CLOSEFILE
are shown below:
This command takes as a command argument the variablearg.closefile
that is stored inp_file
.
This variable is defined innitro/fs/file.h
as shown below: typedef struct { u32 reserved; } FSCloseFileInfo;
Argument content is listed below:
Arguments | Content |
reserved | Not used |
p_file
is a handle that always holds file information inprop.file
.
Based on this information, in order to close a file it carries out required, special processes.
None
IfFS_RESULT_SUCCESS
is returned by the command,p_file
will no longer be a handle that holds file information. From that point theFS_IsFile
function will return FALSE. This is the same state that exists immediately after theFS_InitFile
function is called.
FS_CloseFile
FSArchive
, FS_ARCHIVE_PROC_FUNC
, FS_COMMAND_*
, FS_SetArchiveProc
2004/07/12 Initial version.
CONFIDENTIAL