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

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. 

主站蜘蛛池模板: 阳春市| 成安县| 加查县| 巴中市| 潢川县| 武夷山市| 松阳县| 吉水县| 肇州县| 布拖县| 石楼县| 南充市| 怀来县| 万源市| 嘉兴市| 榆林市| 宁蒗| 随州市| 玉龙| 福清市| 汕尾市| 贞丰县| 额尔古纳市| 开原市| 温泉县| 沙湾县| 聂拉木县| 莎车县| 黔西| 金昌市| 高邑县| 通化县| 西和县| 武山县| 宁化县| 南陵县| 金坛市| 宜宾县| 昂仁县| 宾阳县| 拉孜县|