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

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. 

主站蜘蛛池模板: 张家口市| 刚察县| 平潭县| 洪雅县| 内丘县| 陇西县| 瑞丽市| 平原县| 花莲市| 新密市| 巍山| 大理市| 徐水县| 常德市| 金秀| 勃利县| 东兰县| 苗栗县| 府谷县| 临湘市| 五华县| 杂多县| 邯郸县| 望江县| 河南省| 罗江县| 合阳县| 凯里市| 哈巴河县| 峨山| 彭阳县| 永川市| 增城市| 庐江县| 威信县| 胶南市| 新密市| 行唐县| 南丹县| 长春市| 锡林浩特市|