Docs » Autodocs » dos.library » UnLock
UnLock -- Unlock a directory or file
UnLock( lock ) D1 void UnLock(BPTR)
The filing system lock (obtained from Lock(), DupLock(), or CreateDir()) is removed and deallocated.
lock - BCPL pointer to a lock
passing zero to UnLock() is harmless
Lock(), DupLock(), ParentOfFH(), DupLockFromFH()
|