CSAPP translation summary (C/N) page 16

文件就是字序列.系统中所有的输入输出都是通过一组称为Unix I/O的系统函数调用读写文件来实现的.

The file is a sequence of bytes. All the input and output of system calls system function know as Unix I/O.


文件的概念简单精致但是非常强大,因为它向应用程序提供了一个统一的试图,来看待系统中可能含有的所有各式各样的I/O设备.同一个程序可以在使用不同磁盘技术的不同系统上运行.

The file notion is simple and elegant but it powerful, because it provides application a uniform view of all of the varied I/O devices that might be contained in the system. Same program can run on different systems that use different disk technologies.

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。