Dmdfdopen - Planar Dome Md2/PCI Developer's Manual

Display controller
Hide thumbs Also See for Dome Md2/PCI:
Table of Contents

Advertisement

DMdFdOpen

DMdFdOpen
Purpose Use
file is already open.
Syntax
DMdDev DMdFdOpen (fd)
Parameter
Type
DLong
Return value Device handle if successful; otherwise,
Description
DMdFdOpen()
open file descriptor
that provides access to the device. To close the DOME
device, use the
of the returned device handle.
Errors If
stderr
Example This example opens the DOME device
#include "domeMd.h"
DMdDev
DLong
fd = open ("/dev/md5pci0.0", O_RDWR);
if (fd == -1)
dev = DMdFdOpen (fd);
(*dev->Close) (dev);
See also
DMdOpen, Close, DMdDev Structure
to access a DOME device if the device
DMdFdOpen
DMdFdOpen Parameters
Name
fd
opens the DOME device specified by the
Close()
returns
DMdFdOpen()
.
dev;
fd;
exit (-1);
.
.
.
Description
File descriptor of the opened device file
and returns the device handle
fd
member function (page 78)
, an error message prints to
NULL
.
NULL
/dev/md5pci0.0
77
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dome md4/pciDome md5/pciDome md8/pci

Table of Contents