Date: Tue, 18 Jul 1995 13:15:06 -0600 From: Warner Losh <imp@village.org> To: Bruce Evans <bde@zeta.org.au> Cc: hackers@freebsd.org Subject: Re: ENOTTY???? Message-ID: <199507181915.NAA12551@rover.village.org> In-Reply-To: Your message of Wed, 19 Jul 1995 04:22:53 %2B1000
next in thread | raw e-mail | index | archive | help
: This "can't happen" at least for ttys and ptys. Perhaps read() actually : returned 0 and errno is stale. Read defintely returns -1, and errno is 25, which translates to ENOTTY. Read is getting called for sure. However, the same thing happens when I unplug the cable and I have modem set. The problem went away when I reseated all of the cables, inside and out, fo the two machines that were connected. I would have expected a EBADF in this case. Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507181915.NAA12551>