NetBSD Problem Report #5733
Received: (qmail 24142 invoked from network); 10 Jul 1998 13:10:12 -0000
Message-Id: <199807101309.OAA26032@orthanc.ncl.ac.uk>
Date: Fri, 10 Jul 1998 14:09:58 +0100 (BST)
From: j.d.coleman@ncl.ac.uk
Reply-To: j.d.coleman@ncl.ac.uk
To: gnats-bugs@gnats.netbsd.org
Subject: Minor typo in tty(4)
X-Send-Pr-Version: 3.95
>Number: 5733
>Category: standards
>Synopsis: Minor typo in tty(4)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people
>State: closed
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Fri Jul 10 06:20:01 +0000 1998
>Closed-Date: Sun Aug 16 16:37:05 +0000 1998
>Last-Modified: Sun Aug 16 16:43:12 +0000 1998
>Originator: Julian Coleman
>Release: -current 1998 July 09
>Organization:
Computing Service, University of Newcastle upon Tyne, UK
>Environment:
System: NetBSD orthanc 1.3.2 NetBSD 1.3.2 (ORTHANC) #2: Wed Jul 1 12:39:15 BST 1998 root@:/usr/src/sys/arch/sparc/compile/ORTHANC sparc
>Description:
There is a minor typo in the tty(4) manual page where
/usr/include/sys/file.h is referenced instead of
/usr/include/sys/fcntl.h.
>How-To-Repeat:
`man 4 tty`.
>Fix:
*** /usr/share/man/man4/tty.4 Mon May 11 10:11:52 1998
--- tty.4 Fri Jul 10 14:04:37 1998
***************
*** 302,308 ****
contains the
.Dv FREAD
bit as defined in
! .Pa Aq sys/file.h ,
then all characters in the input queue are cleared. If it contains
the
.Dv FWRITE
--- 302,308 ----
contains the
.Dv FREAD
bit as defined in
! .Pa Aq sys/fcntl.h ,
then all characters in the input queue are cleared. If it contains
the
.Dv FWRITE
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: fair
State-Changed-When: Tue Jul 14 22:37:10 PDT 1998
State-Changed-Why:
This, strictly speaking, is not a typo. file.h includes fcntl.h so it works.
Thus, this really devolves down to an API question: what does POSIX have to
say about which of those include files is supposed to define FREAD?
State-Changed-From-To: feedback->closed
State-Changed-By: kleink
State-Changed-When: Sun Aug 16 09:37:05 PDT 1998
State-Changed-Why:
This is just a BSD documentation error, and not a POSIX issue. (POSIX
terminal interface issues are documented in termios(4); TIOCFLUSH and
FREAD/FWRITE are obsolete BSD interfaces). I've fixed the manual page
as suggested, though.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.