| D O S _ D E V B Y M S G P O R T ( )
| | | | | SOURCE: qdev_autodocs.txt 1.163 (12/09/2014) English AMIGA - DOS_#?
----------------------------------------------------------------------------
NAME
dos_devbymsgport() - Allows to locate the device by
having its message port.
SYNOPSIS
dol = dos_devbymsgport(mp);
struct DosList *dos_devbymsgport(struct MsgPort *);
FUNCTION
This function is useful when there is a need to find
the device knowing its message port as obtained from
lock or volume node.
INPUTS
mp - Message port address.
RETURNS
Returns DosList device pointer or NULL if the device
was not found.
BASES
SysBase, DOSBase
NOTES
This function does 'Forbid()'/'Permit()' internally,
but in case you want to fiddle with 'dol' you must
brace it aditionally!
This func. can be called safely from under the task!
SEE ALSO
dos_checkdevice()
EXAMPLE
None.
BUGS
None known.
----------------------------------------------------------------------------
| |
| |