This routine closes an open file. It also removes currently held locks on the file. The CLOSE routine has only one parameter, f, a file handle returned by OPEN. For some file systems, it is possible that CLOSE will write additional records that had been previously buffered by the system. For this reason, it is possible that a disk full condition can occur.