rle_close(3) CLIX rle_close(3)
NAME
rle_close - Closes an Run Length Encoding (RLE) channel
LIBRARY
Intergraph Device Library libix.a)
SYNOPSIS
#include <sys/xio/xerr.h>
int rle_close(
int channel );
PARAMETERS
channel An integer representing an RLE channel
DESCRIPTION
The rle_close() function terminates all requests pending on the specified
Run Length Encoding (RLE) channel and closes the channel. The specified
channel must have been opened with rle_open().
RETURN VALUES
Upon successful completion, a value of 0 is returned. Otherwise, one of
the following failure codes is returned.
ERRORS
The rle_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.
[RLE_CHANNEL_INVALID]
The specified channel is beyond the maximum allowed.
[RLE_CHANNEL_NOT_OPEN]
The specified channel is not open for this process.
RELATED INFORMATION
Functions: rle_open(3)
Files: xrle(7)
2/94 - Intergraph Corporation 1