sif_cancel(3) CLIX sif_cancel(3)
NAME
sif_cancel - Cancels outstanding asynchronous I/O on a Scanner Interface
channel
LIBRARY
Intergraph Device Library (libix.a)
SYNOPSIS
#include <sys/xio/xerr.h>
int sif_cancel(
int channel );
PARAMETERS
channel An integer representing a scanner interface channel
DESCRIPTION
The sif_cancel() function terminates all requests pending on the specified
Scanner Interface (SIF) channel. The specified channel must have been
opened with sif_open().
RETURN VALUES
Upon successful completion, a value of 0 is returned. Otherwise, one of
the following failure codes is returned.
ERRORS
The sif_cancel() function will fail if one of the following is true:
[XIO_FAILURE]
The system does not contain the driver needed to support this
request.
[SIF_CHANNEL_INVALID]
The specified channel is beyond the maximum allowed.
[SIF_CHANNEL_NOT_OPEN]
The specified channel is not open for this process.
RELATED INFORMATION
Functions: sif_open(3), sif_mem_pipe(3), sif_scan_mem(3),
sif_scan_pipe(3)
Files: xsif(7)
2/94 - Intergraph Corporation 1