Hello,

I've been searching all over for c++ serial port interfacing, I've found plenty of basic reading/writing using termios and various other libraries, but I can't seem to find much on the control signals.

What I want to do is to use something like interrupts (blocking, waiting, etc.) to catch when a control signal is changes (dsr, carrier detect, etc. ) and execute a function.

I've been able to find this in windows, but it needs the download of the huge windows platform sdk and vidual c++ express to use, and my main pc runs debian, so, a way in linux is what I'm hunting for.

The polling method seems quite cpu heavy and may not catch all the signals (since it can only poll at regular intervals).

Thank you for reading.

Cheers