aux_cancel_modem(3) CLIX aux_cancel_modem(3)
NAME
aux_cancel_modem - Cancels the modem change state on a serial port
LIBRARY
Intergraph Device Library (libix.a)
SYNOPSIS
#include <sys/xio/xerr.h>
int aux_cancel_modem(
int port );
PARAMETERS
port An integer representing a serial port
DESCRIPTION
The aux_cancel_modem() function cancels the outstanding request for modem
state change on the specified serial port. The port must have been opened
by aux_open().
RETURN VALUES
Upon successful completion, a value of 0 is returned. Otherwise, one of
the following failure codes is returned.
ERRORS
The aux_cancel_modem() 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_modem(3).
Files: xaux(7)
2/94 - Intergraph Corporation 1