wiki:Docs/Prog/Manual/ApplicationLibraries/lib825ev/File/FileCopy

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

Last modified 6 months ago Last modified on 05/17/24 12:48:19
Note: See TracWiki for help on using the wiki.