aux_cancel(3) CLIX aux_cancel(3)
NAME
aux_cancel - Cancels an outstanding read on a serial port
LIBRARY
Intergraph Device Library (libix.a)
SYNOPSIS
#include <sys/xio/xerr.h>
int aux_cancel(
int port );
PARAMETERS
port An integer representing a serial port
DESCRIPTION
The aux_cancel() function cancels the outstanding read on the specified
serial port. The port must have been opened by aux_open().
Outstanding writes cannot be canceled.
RETURN VALUES
Upon successful completion, a value of 0 is returned. Otherwise, one of
the following failure codes is returned.
ERRORS
The aux_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.
[AUX_PORT_NOT_OPEN]
The specified port is not open by the calling process.
RELATED INFORMATION
Functions: aux_open(3), aux_read(3), aux_rawrd(3).
Files: xaux(7)
2/94 - Intergraph Corporation 1