Description-
Returns true if a framing error occurred since the last call to this function.
Syntax-
stat = IsFramingError(port);
On Entry-
int port;
Port previously opened with OpenComPort().
On Exit-
int stat;
0 If framing error did not occur.
1 If framing error occurred.
See Also-
IsBreak()
IsCarrierDetect()
IsCts()
IsDsr()
IsFramingError()
IsInputOverrun()
IsOverrunError()
IsParityError()
IsRing()
Example-
#include "comm.h"
int port=0; int stat;
if ((stat = IsFramingError(port)) == 1) { printf("Framing Error occurred\n"); }