[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


   NAME
	FindDosEntry -- Finds a specific Dos List entry (V36)

   SYNOPSIS
	newdlist = FindDosEntry(dlist,name,flags)
	D0                       D1    D2   D3

	struct DosList *FindDosEntry(struct DosList *,STRPTR,ULONG)

   FUNCTION
	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.

   INPUTS
	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.

   RESULT
	newdlist - The device entry or NULL

   SEE ALSO
	AddDosEntry(), RemDosEntry(), NextDosEntry(), LockDosList(),
	MakeDosEntry(), FreeDosEntry()