summaryrefslogtreecommitdiff
path: root/include/struct.h
diff options
context:
space:
mode:
authorbrian <brian@cvs.openbsd.org>1999-01-10 02:23:23 +0000
committerbrian <brian@cvs.openbsd.org>1999-01-10 02:23:23 +0000
commit6cc74912ac69928134b22c8720035bd8a64c7e08 (patch)
tree0af40dde237d7e2801ff30c4ac628c4b3f9e4943 /include/struct.h
parenta4ea7ab3f6f192b870945f28eb20a444fc365a89 (diff)
Only call isatty() when we open our descriptor, and remember
the answer. If we later get a descriptor exception from select(), we know that it's a tty (isatty() returns 0 after the exception on a tty) and remember to call modem_LogicalClose(). The upshot of it all is that descriptor exceptions dont leave the tty locked any more.
Diffstat (limited to 'include/struct.h')
0 files changed, 0 insertions, 0 deletions