FILE
The type FILE creates an object for manipulating data streams. The type is defined in the file stdio.h. The type structure is not disclosed.
Example of usage:
#include <stdio.h>
void tst_file (char fmode) {
FILE *pFile;
pFile = fopen ("test_file.txt", fmode); /* open a file for ... */
if (pFile != NULL) { /* error when trying to open file */
fclose (pFile); /* close the output file */
printf ("File closed.\n");
else {
printf ("Cannot open file!\n");
}
}