#include <stdio.h> int fclose(FILE *file);
This function closes the given file.
Zero on success, else EOF
.
ANSI, POSIX
FILE *f = fopen("data", "r"); fprintf(f, "Hello\n"); fclose(f);
Go to the first, previous, next, last section, table of contents.