diff options
author | jenglish <jenglish@flightlab.com> | 2013-03-01 21:13:45 (GMT) |
---|---|---|
committer | jenglish <jenglish@flightlab.com> | 2013-03-01 21:13:45 (GMT) |
commit | 1e1bbd03fb656021da2e16d78b39336c2537f169 (patch) | |
tree | b7f6a155f9d7a3d8ac9c9798712ddd6eadd09979 /libtommath/tommath_superclass.h | |
parent | 815cff7c6ec82987ee61437880b716147b6cea1f (diff) | |
download | tcl-1e1bbd03fb656021da2e16d78b39336c2537f169.zip tcl-1e1bbd03fb656021da2e16d78b39336c2537f169.tar.gz tcl-1e1bbd03fb656021da2e16d78b39336c2537f169.tar.bz2 |
ifdef shuffling: TIOCMC[GS]ET ioctls are not specified by POSIX,
so we can't assume they are present just because we HAVE_TERMIOS_H.
Conversely, if they are present then the subsidiary flags
TIOCM_{DTR|RTS} are almost certainly there as well, so that
ifdeffery can be removed.
And lastly, ifdefs for TIOCSBRK/TIOCCBRK are still needed.
(Those are logically separate functions even though TIP#35
lumped them together with DTR and RTS in -ttycontrol.
POSIX provides tcsendbreak() for this purpose, but that
interface doesn't fit with the TIP#35 API.)
KNOWN DEFECT: if a hypothetical Unix system is missing TIOCMCGET
but has TIOCSBRK/TIOCCBRK, the latter function will nevertheless
be unavailable. Accounting for this possibility does not strike
me as being worth the ifdefs.
Diffstat (limited to 'libtommath/tommath_superclass.h')
0 files changed, 0 insertions, 0 deletions