Comtrol API (6508) for the MS-DOS User Manual
Page 25
Advertising

25
API Functions
aaGetModemStatus
aaGetModemStatus
Gets a device’s modem status.
aaGetModemStatus(Dev)
int Dev:
Device number
unsigned char
State of the modem control inputs
using the
COM_MDM_CTS
,
COM_MDM_DSR
, and
COM_MDM_CD
flags. If a flag is set
that modem line is
ON
, if a flag is
not set that modem line is
OFF
.
Function
Purpose
Call
Return
aaGetRxCount
Gets the count of data bytes available in the receive
buffer.
aaGetRxCount(Dev)
int Dev
Device number
int: Receive byte count
Function
Purpose
Call
Return
Advertising