ISERIALMCLSTAT(3)
HP-UX
NAME
iserialmclstat − determines current modem control line state
SYNOPSIS
#include <sicl.h>
int iserialmclstat (id, sline, state);
INST id;
int sline;
int &FAR; *state;
DESCRIPTION
Iserialmclstat determines the current state of the Modem Control Lines. The sline parameter sends one of the following values:
I_SERIAL_RTS Ready To Send line
I_SERIAL_DTR Data Terminal Ready line
If the value returned in state is non-zero, the Modem Control Line is asserted; otherwise it is clear.
RETURN VALUE
Iserialmclstat returns zero (0) if successful, or a non-zero error code if an error occurs.
SEE ALSO
AUTHOR
iserialmclstat was developed by HP.
Hewlett-Packard Comapny — September 29, 1999