S-CLOSE-FUNCTION (op-code 2)

This routine closes an open file. It also removes currently held locks on the file. S-CLOSE-FUNCTION has only one parameter, f, a file handle returned by the S-OPEN-FUNCTION. For some file systems, it is possible that S-CLOSE-FUNCTION 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.