CHAPTER 8

image

Pointers to File I/O

We all use computer file systems and interact directly or indirectly with them as programmers or ordinary system users. All our persistent data and files are kept in secondary memory. The file system manages data and provides interfaces to retrieve and store data in secondary memory. By secondary memory is meant all the external memory drives such as HDD and USB drive which do not include RAM. The file system also provides an interface for the operating system to manage the space in secondary memory.

This chapter explores the I/O aspects of file pointers. It discusses in detail how the C library APIs are used to ...

Get Pointers in C: A Hands on Approach now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.