Next: Opening a file Up: Handling Files in Previous: UNIX File Redirection

C File Handling - File Pointers

C communicates with files using a new datatype called a file pointer. This type is defined within stdio.h, and written as FILE *. A file pointer called output_file is declared in a statement like


  FILE *output_file;



January 1995