[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'sysutils' (#rtl)

GetFileHandle

Extract OS handle from an untyped file or text file.

Declaration

Source position: line 0

function GetFileHandle(

  var f: file

):LongInt;

function GetFileHandle(

  var f: Text

):LongInt;

Description

GetFileHandle returns the operating system handle for the file descriptor F. It can be used in various file operations which are not directly supported by the pascal language.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.