pdi_cancel(3) CLIX pdi_cancel(3)
NAME
pdi_cancel - Cancels outstanding asynchronous I/O on a Processed Data
Interface (PDI) port
LIBRARY
Intergraph Device Library (libix.a)
SYNOPSIS
#include <sys/xio/xerr.h>
int pdi_cancel(
int channel );
PARAMETERS
channel An integer representing a Processed Data Interface port
DESCRIPTION
The pdi_cancel() function terminates all requests pending on the Processed
Data Interface (PDI) port of the Image System Interface (ISI) board
referenced by channel. 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 di_cancel() 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), pdi_read(3), pdi_write(3), pdi_ifb(3)
Files: xpdi(7)
2/94 - Intergraph Corporation 1