Gets a lock on an open file
Source position: amigados.pas line 2261
function DupLockFromFH( |
Lock: Pointer |
):Pointer; |
Lock |
|
Opened file for which to obtain the lock |
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 |