csi_close(3) CLIX csi_close(3)
NAME
csi_close - Closes a Command Status Interface (CSI) port
LIBRARY
Intergraph Device Library (libix.a)
SYNOPSIS
#include <sys/xio/xerr.h>
int csi_close(
int channel );
PARAMETERS
channel An integer representing a Command Status Interface channel
DESCRIPTION
The csi_close() function terminates all pending requests associated with
the calling process on the Command Status Interface (CSI) port of the
Image System Interface (ISI) board referenced by channel and closes the
port. The channel must have been opened with csi_open().
RETURN VALUES
Upon successful completion, a value of 0 is returned. Otherwise, one of
the following failure codes is returned.
ERRORS
The csi_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: csi_open(3), csi_cmd(3), csi_dstat(3), csi_ustat(3),
csi_death(3)
Files: xcsi(7)
2/94 - Intergraph Corporation 1