3 ms·
Most implementations I've seen use an ioctl to query those particular bits. That's implemented quite reliably, since the same ioctl is used for character size a
by syrrim 3y ago
Most implementations I've seen use an ioctl to query those particular bits. That's implemented quite reliably, since the same ioctl is used for character size as window size. Some implementations just set the character size to zero though.
- kevin_thibedeau 3y agoIoctl doesn't work over a serial port. The escape code queries are more general.