diff options
author | brian <brian@cvs.openbsd.org> | 1999-01-10 02:23:23 +0000 |
---|---|---|
committer | brian <brian@cvs.openbsd.org> | 1999-01-10 02:23:23 +0000 |
commit | 6cc74912ac69928134b22c8720035bd8a64c7e08 (patch) | |
tree | 0af40dde237d7e2801ff30c4ac628c4b3f9e4943 /sys/vm/vm_extern.h | |
parent | a4ea7ab3f6f192b870945f28eb20a444fc365a89 (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 'sys/vm/vm_extern.h')
0 files changed, 0 insertions, 0 deletions