|
NAMEtt_file_copy — copy objects from one file to a new file SYNOPSIS#include &<Tt/tt_c.h> Tt_status tt_file_copy( const char *oldfilepath, const char *newfilepath); DESCRIPTIONThe tt_file_copy function copies all objects that exist on the specified file to a new file. If any objects already exist on newfilepath, they are not overwritten by the copy (that is, they are not removed.) The oldfilepath argument is a pointer to the name of the file whose objects are to be copied. The newfilepath argument is a pointer to the name of the file on which to create the copied objects. RETURN VALUEUpon successful completion, the tt_file_copy function returns the status of the operation as one of the following Tt_status values:
SEE ALSOTt/tt_c.h - Tttt_c(5), tt_file_move(3), tt_file_destroy(3).
|