csi_open(3) CLIX csi_open(3)
NAME
csi_open - Opens a Command Status Interface (CSI) port
LIBRARY
Intergraph Device Library (libix.a)
SYNOPSIS
#include <sys/xio/xerr.h>
int csi_open(
int channel );
PARAMETERS
channel An integer representing a Command Status Interface channel
DESCRIPTION
The csi_open() function opens the Command Status Interface (CSI) port on
the Image System Interface (ISI) board referenced by channel. Multiple
processes can have the same CSI port open 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
of all ISI boards.
RETURN VALUES
Upon successful completion, a value of 0 is returned. Otherwise, one of
the following failure codes is returned.
ERRORS
The csi_open() 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_REDUNDANT_REQ]
The specified channel is currently open by this 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.
RELATED INFORMATION
2/94 - Intergraph Corporation 1
csi_open(3) CLIX csi_open(3)
Functions: csi_close(3)
Files: xcsi(7)
2 Intergraph Corporation - 2/94