| Version 3 (modified by , 17 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
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/cardinal.gif)