From 86e591063525288ab46a669300a89b0f0b9d7379 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 28 Jul 2020 22:35:42 +0200 Subject: [PATCH] getpt.3, pts.4: Minor wording fixes Signed-off-by: Michael Kerrisk --- man3/getpt.3 | 2 +- man4/pts.4 | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/man3/getpt.3 b/man3/getpt.3 index 51fab24cf..cf3379db3 100644 --- a/man3/getpt.3 +++ b/man3/getpt.3 @@ -6,7 +6,7 @@ .\" .TH GETPT 3 2020-02-09 "GNU" "Linux Programmer's Manual" .SH NAME -getpt \- open the pseudoterminal master (PTM) +getpt \- open the pseudoterminal master .SH SYNOPSIS .nf .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" diff --git a/man4/pts.4 b/man4/pts.4 index 93a97ad73..eee4851be 100644 --- a/man4/pts.4 +++ b/man4/pts.4 @@ -18,13 +18,14 @@ It is used to create a pseudoterminal master and slave pair. When a process opens .IR /dev/ptmx , it gets a file -descriptor for a pseudoterminal master (PTM), -and a pseudoterminal slave (PTS) device is created in the +descriptor for a pseudoterminal master +and a pseudoterminal slave device is created in the .I /dev/pts directory. Each file descriptor obtained by opening .IR /dev/ptmx -is an independent PTM with its own associated PTS, whose path can +is an independent pseudoterminal master with its own associated slave, +whose path can be found by passing the file descriptor to .BR ptsname (3). .PP