pdi_close(3) CLIX pdi_close(3)
NAME
pdi_close - Closes a Processed Data Interface (PDI) port
LIBRARY
Intergraph Device Library (libix.a)
SYNOPSIS
#include <sys/xio/xerr.h>
int pdi_close(
int channel );
PARAMETERS
channel An integer representing a Processed Data Interface port
DESCRIPTION
The pdi_close() function terminates all requests pending on the Processed
Data Interface (PDI) port of the Image System Interface (ISI) board
referenced by channel and closes the port. The specified channel must
have been opened with pdi_open().
RETURN VALUES
Upon successful completion, a value of 0 is returned. Otherwise, one of
the following failure codes is returned.
ERRORS
The pdi_close() function will fail if one of the following is true:
[XIO_FAILURE]
The system does not contain the driver needed to support this
request.
[ISI_CHANNEL_NOT_OPEN]
The specified channel is not open for this process.
RELATED INFORMATION
Functions: pdi_open(3)
Files: xpdi(7)
2/94 - Intergraph Corporation 1