From owner-freebsd-hackers Wed Nov 13 23:06:32 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA19511 for hackers-outgoing; Wed, 13 Nov 1996 23:06:32 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id XAA19487 for ; Wed, 13 Nov 1996 23:06:25 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.7.6/8.6.9) id SAA03327; Thu, 14 Nov 1996 18:04:30 +1100 Date: Thu, 14 Nov 1996 18:04:30 +1100 From: Bruce Evans Message-Id: <199611140704.SAA03327@godzilla.zeta.org.au> To: bde@zeta.org.au, roell@crab.xinside.com Subject: Re: Is our ASYNC I/O support for ttys broken? Cc: hackers@FreeBSD.org, jkh@time.cdrom.com Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk >If the ioctl's would work as descrribed there would be no problem, but >as I mentioned already, they don't. Actually, they do: ERRORS Fcntl() will fail if: ... In addition, if fd refers to a descriptor open on a terminal device (as opposed to a descriptor open on a socket), a cmd of F_SETOWN can fail for the same reasons as in tcsetpgrp(3), and a cmd of F_GETOWN for the rea- sons as stated in tcgetpgrp(3). Bruce