- Hands-On System Programming with C++
- Dr. Rian Quinn
- 110字
- 2021-07-02 14:42:28
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.
推薦閱讀
- LibGDX Game Development Essentials
- 大規(guī)模數(shù)據(jù)分析和建模:基于Spark與R
- 數(shù)據(jù)挖掘原理與實(shí)踐
- SQL Server 2016 數(shù)據(jù)庫教程(第4版)
- 達(dá)夢數(shù)據(jù)庫編程指南
- Python數(shù)據(jù)分析入門:從數(shù)據(jù)獲取到可視化
- Test-Driven Development with Mockito
- 大數(shù)據(jù):規(guī)劃、實(shí)施、運(yùn)維
- Lean Mobile App Development
- 數(shù)據(jù)架構(gòu)與商業(yè)智能
- Starling Game Development Essentials
- 網(wǎng)站數(shù)據(jù)庫技術(shù)
- 高維數(shù)據(jù)分析預(yù)處理技術(shù)
- 云原生數(shù)據(jù)中臺:架構(gòu)、方法論與實(shí)踐
- SQL Server 2012數(shù)據(jù)庫管理教程