How to detect RS-232 parity error & other errors ?

How to detect /dev/ser1 (RS-232) parity error
and other serial communications errors ?

How to do it by event (not by polling) ?
/in qnx 4.25 & 6.3.2 :slight_smile: