SerStatus
SerStatus
Determine status of specified input or output driver short refNum ; input or output driver reference number
SerStaRec *serSta ; data structure with driver status information structure for the specified input or output driver.
refNum is the parameter that identifies the input or output driver for which
status information is being obtained.
serSta is three bytes of such status information as cumulative errors, XOff
flow control, and signals for pending reads and writes.
noErr (0) No error
and with SerSta returned through csParam+5 in csParam.