nlf_close(3) CLIX nlf_close(3)
NAME
nlf_close - Closes a Non-Linear Filter (NLF) channel
LIBRARY
Intergraph Device Library (libix.a)
SYNOPSIS
#include <sys/xio/xerr.h>
int nlf_close(
int channel );
PARAMETERS
channel An integer representing a Non-Linear Filter channel
DESCRIPTION
The nlf_close() function unmaps any hardware registers associated with the
specified Non-Linear Filter (NLF) channel and closes the channel. The
specified channel must have been opened with nlf_open().
RETURN VALUES
Upon successful completion, a value of 0 is returned. Otherwise, one of
the following failure codes is returned.
ERRORS
The nlf_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.
[NLF_CHANNEL_INVALID]
The specified channel is beyond the maximum allowed.
[NLF_CHANNEL_NOT_OPEN]
The specified channel is not open for this process.
RELATED INFORMATION
Functions: nlf_open(3)
Files: xnlf(7)
2/94 - Intergraph Corporation 1