Gets a lock on an open file
Source position: amigados.pas line 1625
function DupLockFromFH( |
fh: LongInt |
):LongInt; |
Obtained lock or 0 for failure
Obtain a lock on the object associated with fh. Only works if the file was opened using a non-exclusive mode. Other restrictions may be placed on success by the filesystem.
|
Duplicate a lock |
|
|
Lock a directory or file |
|
|
Unlock a directory or file |