summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixThrd.c
diff options
context:
space:
mode:
authorjenglish <jenglish@flightlab.com>2013-03-01 21:13:45 (GMT)
committerjenglish <jenglish@flightlab.com>2013-03-01 21:13:45 (GMT)
commit1e1bbd03fb656021da2e16d78b39336c2537f169 (patch)
treeb7f6a155f9d7a3d8ac9c9798712ddd6eadd09979 /unix/tclUnixThrd.c
parent815cff7c6ec82987ee61437880b716147b6cea1f (diff)
downloadtcl-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 'unix/tclUnixThrd.c')
0 files changed, 0 insertions, 0 deletions