diff options
author | brian <brian@FreeBSD.org> | 1999-01-10 01:26:30 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-01-10 01:26:30 +0000 |
commit | 541b200a907df9730d6c52f272bc2eb5385c41fe (patch) | |
tree | 05376906d358406080e4668bf48135700a58b1e8 /sys/kern | |
parent | 3905f929a7f97b0ef4744b343438c8aa71eadaf2 (diff) | |
download | FreeBSD-src-541b200a907df9730d6c52f272bc2eb5385c41fe.zip FreeBSD-src-541b200a907df9730d6c52f272bc2eb5385c41fe.tar.gz |
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/kern')
0 files changed, 0 insertions, 0 deletions