Function Reference
— Built-in Function: fclose (fid)

Closes the specified file. If successful, fclose returns 0, otherwise, it returns -1.

See also: fopen fseek ftell