Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
.\"
.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) */"
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