fclose
Close a file that is currently open for input/output.
fclose(filenum)

Description
fclose closes the file referenced by filenum , which is obtained when a file is opened by calling fopen .