Functions HI-TECH C FCLOSE
From HI-TECH C for CP/M Fan WIKI(EN)
#include <stdio.h> int fclose(FILE * stream)
This routine closes the specified i/o stream. Stream should be a token returned by a previous call to fopen(). NULL is returned on a successful close, EOF otherwise.
fopen, fread, fwrite