ser_intr()

This function is defined in intr.c. The prototype is:

const struct sigevent *ser_intr( void *area,
                                 int id )

The ser_attach_intr() function, which is called by create_device(), calls InterruptAttach() (see the QNX Neutrino Library Reference) to attach ser_intr() to the first handler. If you don't want to transmit at interrupt time, then you can set the EVENT_TTO event and return. This will trigger io-char's tte() function to call into tto() at thread time rather then interrupt time.

The ser_intr() function calls: