Project

General

Profile

Previous Up Next

_backupFile
Perform a backup. The file is copied in the same directory if authorized or in the same directory in the first writable partition and its extension becomes '.bak'.

I _PtoScol (
P _file_
I _flag_
)
Parameters

_file_
read-only reference to a file
_flag_
overwrite (1) or not (0) a previous backup file, if any
Return value

0 if success else another integer