I wondered about this. However, after looking around what
I found was that the FIO* requests seemed to be documented
in driver pages (and only a handful at that), and not
documented with ioctl.
Since I don't want to change the other existing driver
man pages, what if I add generic documentation to the
ioctl along with a comment saying to look at the individual
driver man pages for information specific to the driver.
ie: FIONREAD will succeed from a backgrounded process, but the
data read itself with hang (tty driver).
ps: Is cross-referencing #define values frowned upon? It would
be nice if "man -k FIONREAD" (for instance) would return
----- Garrett Wollman's Original Message -----
> <<On Sun, 15 Apr 2001 22:26:37 -0700, "John W. De Boskey" <[EMAIL PROTECTED]> 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.
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message