Docs » Autodocs » dos.library » RemAssignList
RemAssignList -- Remove an entry from a multi-dir assign (V36)
success = RemAssignList(name,lock) D0 D1 D2 BOOL RemAssignList(STRPTR,BPTR)
Removes an entry from a multi-directory assign. The entry removed is the first one for which SameLock with 'lock' returns that they are on the same object. The lock for the entry in the list is unlocked (not the entry passed in).
name - Name of device to remove lock from (without trailing ':') lock - Lock associated with the object to remove from the list
success - Success/failure indicator.
In V36 through V39.23 dos, it would fail to remove the first lock in the assign. Fixed in V39.24 dos (after the V39.106 kickstart).
Lock(), AssignLock(), AssignPath(), AssignLate(), DupLock(), AssignAdd(), UnLock()
|