Subject: lib/15194: tcgetattr(3) clarification
To: None <gnats-bugs@gnats.netbsd.org>
From: None <heas@shrubbery.net>
List: netbsd-bugs
Date: 01/09/2002 18:19:03
>Number: 15194
>Category: lib
>Synopsis: tcgetattr(3) clarification
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: lib-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Wed Jan 09 11:43:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: john heasley
>Release: NetBSD 1.5Z
>Organization:
>Environment:
System: NetBSD roome 1.5Z NetBSD 1.5Z (heas) #6: Thu Dec 13 21:59:43 UTC 2001 root@roome:/home/src/sys/arch/i386/compile/heas i386
Architecture: i386
Machine: i386
>Description:
description of tcgetattr args is confusing. the fd is arg1, not a
member of the termios struct in arg2.
>How-To-Repeat:
>Fix:
Index: tcsetattr.3
===================================================================
RCS file: /cvsroot/basesrc/lib/libc/termios/tcsetattr.3,v
retrieving revision 1.6
diff -c -r1.6 tcsetattr.3
*** tcsetattr.3 2001/09/16 01:35:41 1.6
--- tcsetattr.3 2002/01/09 19:36:34
***************
*** 204,210 ****
function copies the parameters associated with the terminal referenced
by
.Fa fd
! in the termios structure referenced by
.Fa tp .
This function is allowed from a background process, however, the terminal
attributes may be subsequently changed by a foreground process.
--- 204,210 ----
function copies the parameters associated with the terminal referenced
by
.Fa fd
! to the termios structure referenced by
.Fa tp .
This function is allowed from a background process, however, the terminal
attributes may be subsequently changed by a foreground process.
>Release-Note:
>Audit-Trail:
>Unformatted: