fclose


closes a file

fclose(f)

When a file has been opened by f=fopen("name r") or f=fopen("name w") fclose(f); closes this file.
Options:
fopen: closes all files.

fclose fopen

Closes all files opened bar fopen.

See also:

fopen
fread
getline
getword
fwrite