Next: Closing a file Up: C File Handling Previous: Opening a file

Standard file pointers in UNIX

UNIX systems provide three file descriptors which are automatically open to all C programs. These are

Since these files are already open, there is no need to use fopen on them.


January 1995