36 #include <sys/types.h> 40 #define BUFFER_SIZE (16 * 1024) 64 int c_copy(
const char *src,
const char *dst, mode_t
mode);
84 int c_rename(
const char *src,
const char *dst );
int c_compare_file(const char *f1, const char *f2)
Compare the content of two files byte by byte.
int c_rename(const char *src, const char *dst)
move a file from source to destination.
int c_copy(const char *src, const char *dst, mode_t mode)
copy a file from source to destination.
int c_isfile(const char *path)
Check if a path is a regular file or a link.