fa26-cs759 cs759
Chapter 10: System-Level I/O Chapter 10: System-Level I/O
Content locked
The catalog is public. Reading this content requires approved access.
Sign in to readChapter 10: System-Level I/O
System-Level I/O
10.1 Unix I/O
10.2 Files
Aside End of line (EOL) indicators
10.3 Opening and Closing Files
10.4 Reading and Writing Files
Aside What’s the difference between ssize_t and size_t?
10.5 Robust Reading and Writing with the RIO Package
10.5.1 RIO Unbuffered Input and Output Functions
10.5.2 RIO Buffered Input Functions
Aside Origins of the Rio package
10.6 Reading File Metadata
10.7 Reading Directory Contents
10.8 Sharing Files
Practice Problem 10.2 (solution page 951)
Practice Problem 10.3 (solution page 951)
10.9 I/O Redirection
Practice Problem 10.4 (solution page 951)
Aside Right and left hoinkies
Practice Problem 10.5 (solution page 952)
10.10 Standard I/O
10.11 Putting It Together: Which I/O Functions Should I Use?
10.12 Summary
Bibliographic Notes
Homework Problems
10.6 ◆
10.7 ◆
10.8 ◆◆
10.9 ◆◆
10.10
Solutions to Practice Problems
Solution to Problem 10.1 (page 931)
Solution to Problem 10.2 (page 944)
Solution to Problem 10.3 (page 944)
Solution to Problem 10.4 (page 945)
Solution to Problem 10.5 (page 946)