Copy file with hole

来源:互联网 发布:mac软件开发 编辑:程序博客网 时间:2024/05/18 03:25

 Write a utility like cp(1) that copies a file containing holes, without writing the bytes of 0 to the output file.

 

在copy过程中使用了buffer,测试通过!