Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jul 1995 04:22:53 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        hackers@freebsd.org, imp@village.org
Subject:   Re: ENOTTY????
Message-ID:  <199507181822.EAA21816@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>Under what cases will a read return ENOTTY in FreeBSD 2.0R?  I can't
>seem to find it in the kernel sources...  That's not a ioctl (which I
>can find), but a read.  Any ideas?

>What I'm seeing that is that, under heavy load (56700bps) TIA is
>exiting because a read returned -1 and errno is set to ENOTTY.  I've
>placed a breakpoint at close, and I know I'm not closing the TTY fd.

This "can't happen" at least for ttys and ptys.  Perhaps read() actually
returned 0 and errno is stale.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507181822.EAA21816>