C project: Lazy copy and fork
Budget: $10 – $30 CAD
The program copies lazily. If the source and destination files are identical, no writing is performed. If the two files differ partially, only the blocks (option -b) which differ are rewritten.
with system calls and error handling. For file processing you will need to use stat, open, read, write, lseekand close. Basically, no fopenor FILE *.
a function fletcher32
For link processing you will need to use lstat, readlink, symlink. For managing sub-processes, forkand wait.
with system calls and error handling. For file processing you will need to use stat, open, read, write, lseekand close. Basically, no fopenor FILE *.
a function fletcher32
For link processing you will need to use lstat, readlink, symlink. For managing sub-processes, forkand wait.