home | help
xt_fast_cp(3)		    Library Functions Manual		   xt_fast_cp(3)

NAME
     xt_fast_cp() - Copy a file using optimal block size

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

SYNOPSIS
     int     xt_fast_cp(const char *source, const char *dest)

ARGUMENTS
     source, dest: File names of source and destination

DESCRIPTION
     xt_fast_cp()  copies a file using low-level I/O with an optimal buffer size
     (the least common multiple of block sizes) 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)

								   xt_fast_cp(3)

home | help