int _lclose(hFile)
This function closes the file specified by the hFile parameter. As a result, the file is no longer available for reading or writing.
The hFile argument is returned by the call that created or last opened the file.
Parameter | Type/Description |
hFile | int Specifies the MS-DOS file handle of the file to be closed. |
The return value indicates whether the function successfully closed the file. It is zero if the function closed the file, or –1 if the function failed.