Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2001 22:51:33 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Cc:        "John W. De Boskey" <jwd@FreeBSD.ORG>, Current List <freebsd-current@FreeBSD.ORG>
Subject:   Re: FIO* doc added to tty.4 (review)
Message-ID:  <Pine.BSF.4.21.0104172241100.9398-100000@besplex.bde.org>
In-Reply-To: <200104170209.WAA02683@khavrinen.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 16 Apr 2001, Garrett Wollman wrote:

> <<On Sun, 15 Apr 2001 22:26:37 -0700, "John W. De Boskey" <jwd@FreeBSD.ORG> said:
> 
> >    I've been doing some tty related work and found the FIO*
> > requests don't seem to be documented.
> 
> >    I've added some reasonable doc to tty.4 and put up the
> > the diff and html forms:
> 
> As the initial letter suggests, they are generic file ioctls and not
> specific to the teletype driver.  They should be described in the
> ioctl(2) manual page.

Most of them are best described by "deprecated; use the corresponding file
[descriptor] operation in fcntl(2)".
The main exceptions are:
- FIONREAD: no other way to do this yet
- FIODTYPE: no other way to do this yet
- FIOGETLBA: not even a generic device ioctl; should never have been here

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0104172241100.9398-100000>