Unit 'sysutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

FileClose

Close a file handle.

Declaration

Source position: filutilh.inc line 277

procedure FileClose(

  Handle: THandle

);

Description

FileClose closes the file handle Handle. After this call, attempting to read or write from the handle will result in an error.

For an example, see FileCreate

Errors

None.

See also

FileCreate

  

Create a new file and return a handle to it.

FileWrite

  

Write data from a buffer to a given file handle.

FileOpen

  

Open an existing file and return a file handle.

FileRead

  

Read data from a file handle in a buffer.

FileTruncate

  

Truncate an open file to a given size.

FileSeek

  

Set the current file position on a file handle.


Documentation generated on: Dec 22 2024