Docs » Autodocs » dos.library » FindDosEntry
FindDosEntry -- Finds a specific Dos List entry (V36)
newdlist = FindDosEntry(dlist,name,flags) D0 D1 D2 D3 struct DosList *FindDosEntry(struct DosList *,STRPTR,ULONG)
Locates an entry on the device list. Starts with the entry dlist. NOTE: must be called with the device list locked, no references may be made to dlist after unlocking.
dlist - The device entry to start with. name - Name of device entry (without ':') to locate. flags - Search control flags. Use the flags you passed to LockDosList, or a subset of them. LDF_READ/LDF_WRITE are not required for this call.
newdlist - The device entry or NULL
AddDosEntry(), RemDosEntry(), NextDosEntry(), LockDosList(), MakeDosEntry(), FreeDosEntry()
|