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

NameFromFH

Get the name of an open filehandle

Declaration

Source position: amigados.pas line 1681

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