mfsHFgetCopyCount


Syntax
s32 mfsHFgetCopyCount(MfsFile handle)

Arguments

handle   File handler

Return value

Copy counter value (a negative value is an error)

Function

Obtains copy counter of file

Description

This function obtains the copy counter value of the file specified by handle. The copy counter value is a u8-type value that is decremented by the application.

Main errors

MFS_ERR_NO Normal termination
MFS_ERR_FATAL File open error
The file is not opened.