pdi_open(3) CLIX pdi_open(3)
NAME
pdi_open - Opens a Processed Data Interface (PDI) port
LIBRARY
Intergraph Device Library (libix.a)
SYNOPSIS
#include <sys/xio/xerr.h>
int pdi_open(
int channel );
PARAMETERS
channel An integer representing a PDI port
DESCRIPTION
The pdi_open() function opens the Processed Data Interface (PDI) port on
the Image System Interface (ISI) board referenced by channel. Only one
process is allowed to open a PDI port at a time. Each ISI board in the
system is represented by a channel number such that channel 0 references
the ISI board with the lowest Shared Resource Bus slot number.
RETURN VALUES
Upon successful completion, a value of 0 is returned. Otherwise, one of
the following failure codes is returned.
ERRORS
The pdi_open() will fail if one of the following is true:
[XIO_FAILURE]
The system does not contain the driver needed to support this
request.
[ISI_REDUNDANT_REQ]
The specified channel is currently open by this process.
[ISI_CHANNEL_BUSY]
The specified channel is currently open by another process.
[ISI_CHANNEL_INVALID]
The specified channel is beyond the maximum allowed.
[ISI_CHANNEL_NOT_FOUND]
The specified channel is not present in the system.
2/94 - Intergraph Corporation 1
pdi_open(3) CLIX pdi_open(3)
RELATED INFORMATION
Functions: xpdi(7)
2 Intergraph Corporation - 2/94