mfsRamGetFileRC
Syntax
s32 mfsRamGetFileRC(MfsDirID dirID)

Arguments

dirID   Directory ID of file (directory)

Return value

Update counter of file (directory) (a negative value is an error)

Function

Obtains update counter value of file (directory)

Description

This function obtains the update counter value of the file (directory). The update counter value is incremented when data is written to a file or when the file name or file attribute is changed. For a directory, the update counter value is also incremented when a file or directory that belongs to it has been changed. The maximum update counter value is 255, and the value cannot be incremented above 255

Main errors

MFS_ERR_NO Normal termination
MFS_ERR_NOTFOUND Specified directory not found