Unit 'amigados' Package
[Overview][Constants][Types][Procedures and functions][Index] [#os4units]

NameFromFH

Get the name of an open filehandle

Declaration

Source position: amigados.pas line 2503

function NameFromFH(

  Fh: LongInt;

  Buffer: PChar;

  Len: LongInt

):LongBool;

Arguments

Fh

  

Lock of object to be examined.

Buffer

  

Buffer to store name.

Description

Returns a fully qualified path for the filehandle. This routine is guaranteed not to write more than len characters into the buffer. The name will be null-terminated. See NameFromLock() for more information.

Note: Older filesystems that don't support ExamineFH() will cause NameFromFH().

See also

NameFromLock

  

Returns the name of a locked object

ExamineFH

  

Gets information on an open file


Documentation generated on: 2021-07-30