74 | DMdOpen
DMdOpen
Purpose Use
Syntax
DMdDev DMdOpen (name)
Return value Device handle if successful; otherwise,
Description
DMdOpen()
and returns the device handle, which provides access to
the device. To close the DOME device, use the
member function (page 76) of the returned device handle.
Errors If
stderr
Example This example opens the DOME device /dev/
#include "domeMd.h"
DMdDev
dev = DMdOpen ("/dev/m2pci0.0");
(*dev->Close) (dev);
See also
DMdFdOpen, Close, DMdDev Structure
to gain access to a DOME device.
DMdOpen
Parameter Type
DChar
opens the DOME device specified by
returns
DMdOpen()
.
dev;
.
.
.
Name
Description
Device file of the DOME device,
*name
for example,
, an error message prints to
NULL
"/dev/m2pci0.0"
.
NULL
name
Close()
0.0.
m2pci