int fclose ( FILE * stream );
12345678910
/* fclose example */ #include <stdio.h> int main () { FILE * pFile; pFile = fopen ("myfile.txt","wt"); fprintf (pFile, "fclose example"); fclose (pFile); return 0; }