My Project
|
Go to the source code of this file.
Functions | |
int | backupExistingFile (char *filename, char *backup_ext, char *status) |
int | fileCopy (char *filename1, char *filename2, char *status) |
int backupExistingFile | ( | char * | filename, |
char * | backup_ext, | ||
char * | status | ||
) |
Check if specified file exists; rename existing file to a backup file. If also backup file exists, then remove that.
int fileCopy | ( | char * | filename1, |
char * | filename2, | ||
char * | status | ||
) |
Copy file contents to another file. Existing file will be overwritten, to prevent it call backupExistingFile() before calling this function.