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

NameFromFH

Get the name of an open filehandle

Declaration

Source position: amigados.pas line 2267

function NameFromFH(

  Fh: Pointer;

  Buffer: PChar;

  Length: LongInt

):LongBool;

Arguments

Fh

  

Lock of object to be examined.

Buffer

  

Buffer to store name.

Length

  

Length of buffer.

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