[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()