docs/114058: "TIOSCTTY" typo in tty.4
David Sanderson
dsanderson at panasas.com
Wed Jun 27 01:00:11 UTC 2007
>Number: 114058
>Category: docs
>Synopsis: "TIOSCTTY" typo in tty.4
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Jun 27 01:00:10 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: David Sanderson
>Release: FreeBSD 6.2
>Organization:
Panasas, Inc.
>Environment:
FreeBSD perf-x4 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 08:43:30 UTC 2007 root at portnoy.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP amd64
>Description:
The tty(4) entry for TIOCNOTTY erroneously mentions "TIOSCTTY" instead of "TIOCSCTTY":
The current system does not allocate a controlling terminal
to a process on an open() call: there is a specific ioctl
called TIOSCTTY to make a terminal the controlling terminal.
>How-To-Repeat:
man 4 tty
>Fix:
Patch attached with submission follows:
==== //depot/branch/tango-bsd-dws/src/freebsd6/src/share/man/man4/tty.4#1 - /net/paneast/sb7/dsanderson/sb7-tango-bsd-dws3/src/freebsd6/src/share/man/man4/tty.4 ====
Index: branch/tango-bsd-dws/src/freebsd6/src/share/man/man4/tty.4
--- branch/tango-bsd-dws/src/freebsd6/src/share/man/man4/tty.4.~1~ Tue Jun 26 20:53:38 2007
+++ branch/tango-bsd-dws/src/freebsd6/src/share/man/man4/tty.4 Tue Jun 26 20:53:38 2007
@@ -280,7 +280,7 @@
a process on an
.Fn open
call: there is a specific ioctl called
-.Dv TIOSCTTY
+.Dv TIOCSCTTY
to make a terminal the controlling
terminal.
In addition, a program can
End of Patch.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-doc
mailing list