Next: Getting access to Up: Input-Output Previous: Conversion specification

Files

So far we have assumed that you only want to input from the keyboard and output to the screen. Unix offers a richer set of input/output and there is a standard C way of using these facilities. Each source file which uses these facilities must:

#include <stdio.h>

It is then possible to read and write disk files directly from your C program.



Next: Getting access to Up: Input-Output Previous: Conversion specification


maspjw@
Tue Sep 27 15:29:34 BST 1994