Version 4 (modified by 6 months ago) ( diff ) | ,
---|
FileCopy
Copy a file
int FileCopy(const char* filePathFrom, const char* filePathTo, mode_t mode);
Parameters
- filePathFrom - full path of source file to copy
- filePathTo - full path of destination directory or file
- mode - file mode for destination, 0 = duplicate mode from source file
Return Value
- Returns 0 if successful, -1 if error
Remarks
The FileCopy is used to copy a single file. This function does not support wildcards for multiple files.
Examples
See Also
Note:
See TracWiki
for help on using the wiki.