fast_cp(3)

LIBRARY
#include <xtend/file.h> -lxtend

SYNOPSIS

int fast_cp(const char *source, const char *dest)

ARGUMENTS
source, dest: File names of source and destination

DESCRIPTION
fast_cp() copies a file using optimal buffering for both source and destination filesystems.

RETURN VALUES
The return value of the last read(3) call.

SEE ALSO
cp(1), read(3), write(3), fstat(3)