Opens a file you have a lock on
Source position: amigados.pas line 2498
function OpenFromLock( |
Lock: LongInt |
):LongInt; |
Lock |
|
Lock on object to be opened. |
Newly opened file handle or nil for failure
Given a lock, this routine performs an open on that lock. If the open succeeds, the lock is (effectively) relinquished, and should not be UnLock()ed or used. If the open fails, the lock is still usable. The lock associated with the file internally is of the same access mode as the lock you gave up - shared is similar to MODE_OLDFILE, exclusive is similar to MODE_NEWFILE.
|
Open a file for input or output |
|
|
||
|
Lock a directory or file |
|
|
Unlock a directory or file |