官术网_书友最值得收藏!

File input/output

Reading and writing to a file is another common use case for most applications that requires making system calls.

It should be noted that on POSIX-compliant systems, reading and writing to a file descriptor doesn't always mean reading and writing to a file on a storage device. Instead, the system calls you make write to character or block devices. This could be a storage device, but could also be a console device, or even a virtual device such as /dev/random, which provides random data when read.

In Chapter 8, Learning to Program File Input/Output, we will provide more information about file input/output system programming. 

主站蜘蛛池模板: 邯郸市| 云南省| 阿克陶县| 沽源县| 日喀则市| 柳江县| 霍林郭勒市| 辰溪县| 辽源市| 沙湾县| 石城县| 隆昌县| 淅川县| 庄浪县| 克山县| 丹凤县| 河西区| 阿鲁科尔沁旗| 增城市| 富民县| 乡城县| 克拉玛依市| 庐江县| 高要市| 平湖市| 集贤县| 平利县| 陆良县| 理塘县| 澄江县| 棋牌| 特克斯县| 仪陇县| 淮阳县| 方城县| 和林格尔县| 荔波县| 濮阳县| 清原| 毕节市| 扬州市|