cnv_close(3) CLIX cnv_close(3)
NAME
cnv_close - Closes a Convolution Filter (CNV) channel
LIBRARY
Intergraph Device Library (libix.a)
SYNOPSIS
#include <sys/xio/xerr.h>
int cnv_close(
int channel );
PARAMETERS
channel An integer representing a channel
DESCRIPTION
The cnv_close() function unmaps any hardware registers associated with the
specified Convolution Filter (CNV) channel() and closes the channel. The
channel must have been opened with cnv_open().
RETURN VALUES
Upon successful completion, a value of 0 is returned. Otherwise, one of
the following failure codes is returned.
ERRORS
The cnv_close() function fails if one of the following is true:
[XIO_FAILURE]
The system does not contain the driver needed to support this
request.
[CNV_CHANNEL_INVALID]
The specified channel is beyond the maximum allowed.
[CNV_CHANNEL_NOT_OPEN]
The specified channel is not open for this process.
RELATED INFORMATION
Functions: cnv_open(3)
Files: xcnv(7)
2/94 - Intergraph Corporation 1