[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'amigados' (#aros)

Examine

Examine a directory or file associated with a lock

Declaration

Source position: amigados.pas line 2261

function Examine(

  Lock: BPTR;

  FileInfoBlock: PFileInfoBlock

):LongInt;

Arguments

Lock

  

Pointer to a Lock

FileInfoBlock

  

allocated File info Block

Description

Examine() fills in information in the TFileInfoBlock concerning the file or directory associated with the lock. This information includes the name, size, creation date and whether it is a file or directory. FileInfoBlock must be longword aligned. Examine() gives a return code of False if it fails.

You may make a local copy of the TFileInfoBlock, as long as it is never passed to ExNext().

See also

Lock

  

Lock a directory or file

UnLock

  

Unlock a directory or file

ExNext

  

Examine the next entry in a directory

ExamineFH

  

Gets information on an open file

ExAll

  

Examine an entire directory


Documentation generated on: 2017-01-10