Standard I/O Library

#include <stdio.h>

FILE *fp = fopen(filename, "r");
             /* or "w", "r+", "rb", "wb", ... */

fclose(fp);