Chapter 8. File Access and Processing

Any commercially available programming language is able to communicate with disc data files. This communication process depends on the operating system under which the language is used. UNIX is the operating system under which C was developed originally. Nowadays, C compilers are available under most of the major operating systems. In fact, most of the I/O functions in C behaves in a consistent way across operating systems, though all the operating systems do not provide all the facilities available in UNIX. In this chapter, we will discuss how data disc files are used in C.

Introduction

There are two levels with which reading and writing data stored on disc can be accomplished. They are high-level disc I/O ...

Get C Programming Essentials 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.