[Overview][Constants][Types][Procedures and functions][Index] |
Examine a directory or file associated with a lock
Source position: amigados.pas line 2261
function Examine( |
Lock: BPTR; |
FileInfoBlock: PFileInfoBlock |
):LongInt; |
Lock |
|
Pointer to a Lock |
FileInfoBlock |
|
allocated File info Block |
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().
|
Lock a directory or file |
|
|
Unlock a directory or file |
|
|
Examine the next entry in a directory |
|
|
Gets information on an open file |
|
|
Examine an entire directory |