aboutsummaryrefslogtreecommitdiffstats
path: root/man3/ttyname.3
diff options
authorMichael Kerrisk <mtk.manpages@gmail.com>2020-07-28 22:12:08 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2020-07-29 11:19:07 +0200
commit5e3bcef1ae44ef6789f61e000f67a2214fd07582 (patch)
tree4310e56b1bf31dc311e7ba30e4f89e5e0125ca6a /man3/ttyname.3
parentb38481347944c76617d0bc144649457901898cc7 (diff)
downloadman-pages-pty_lang_fixup.tar.gz
ioctl_tty.2, poll.2, getpt.3, grantpt.3, openpty.3, posix_openpt.3, ptsname.3, ttyname.3, unlockpt.3, pts.4, pty.7: Eliminate problematic "master-slave" terminologypty_lang_fixup
The "master-slave" terminology used in describing pseudoterminals is problematic, and not even very technically descriptive. Rewrite various manual pages to eliminate that language. The following replacement terms are used: slave ==> "terminal device" (or "terminal end of the pseudoterminal device pair") master ==> "pseudoterminal device" (or "pseudoterminal end of the pseudoterminal device pair") pseudoterminal (device) ==> "pseudoterminal device pair" Another notable wording change is the use of phrasings such as "the corresponding terminal device", when emphasizing the linkage between the pseudoterminal and terminal ends of a pseudoterminal device pair. The terminology originates in golang (which made a similar terminology change in 2019), and was suggested for Linux man-pages by Elliot Hughes. Reported-by: Elliott Hughes <enh@google.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/ttyname.3')
-rw-r--r--man3/ttyname.32
1 files changed, 1 insertions, 1 deletions
diff --git a/man3/ttyname.3 b/man3/ttyname.3
index 93932610b5..cd98315227 100644
--- a/man3/ttyname.3
+++ b/man3/ttyname.3
@@ -67,7 +67,7 @@ Bad file descriptor.
.\" glibc commit 15e9a4f378c8607c2ae1aa465436af4321db0e23
.B ENODEV
.I fd
-refers to a slave pseudoterminal device
+refers to the terminal end of a pseudoterminal device pair
but the corresponding pathname could not be found (see NOTES).
.TP
.B ENOTTY