Colleagues, tell me, please, is there in FreeBSD an ioctl similar to TIOCMIWAIT in SystemV?
How correctly, without a "stupid" poll in a cycle, to understand that the modem signals of the com port have changed?
I suppose that if TIOCMIWAIT, or some kind of its close analogue, is absent, then...