Utilties for the discerning C programmer
ncp - cp
replacement using zero-copy I/O
Copy one file:
ncp [OPTION]... SOURCE_FILE DEST_FILE
Copy multiple files into a directory:
ncp [OPTION]... SOURCE_FILE... DEST_DIR
Copy SOURCE_FILE to DEST_FILE using nmem
(zero-copy I/O).
Typically >20% faster for large files.
list each file being copied
overwrite destination file(s) if existing
print usage and exit
0 on success
$ cp /a/file /a/dest
$
Sirio Balmelli; Balmelli Analog & Digital
ncp
uses the nmem(3) library for zero-copy I/O
This utility is part of the nonlibc library.