next up previous [pdf]

Next: sfcut: Zero a portion Up: sfcp: Copy or move Previous: sfcp: Copy or move

Implementation: system/main/cp.c

First, we look for the two first command-line arguments that don't have the ``='' character in them and consider them as the names of the input and the output files.


Next, we use library functions sf_cp and sf_mv to do the actual work.