C Programming/C Reference/stdio.h/fopen - Wikibooks, open books for an open world
Opening a file using fopen [edit] A file is opened using fopen, which returns an I/O stream attached to the specified file or other device from which reading and writing can be done. If the function fails, it returns a null pointer. The related C library ...