]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
getpt.3, posix_openpt.3, pts.4: Use the term "pseudoterminal multiplexor device"...
authorMichael Kerrisk <mtk.manpages@gmail.com>
Tue, 28 Jul 2020 20:42:56 +0000 (22:42 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 29 Jul 2020 09:17:11 +0000 (11:17 +0200)
Let's use some consistent terminology for this device.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/getpt.3
man3/posix_openpt.3
man4/pts.4

index f797b907fba9e0ea4ca98606e126d97501dcf500..89c3813a8b0cc93a4c1a9a49eeb82e08bf0915b9 100644 (file)
@@ -18,7 +18,7 @@ getpt \- open a new pseudoterminal master
 .BR getpt ()
 opens a new pseudoterminal device and returns a file descriptor
 that refers to that device.
-It is equivalent to
+It is equivalent to opening the pseudoterminal multiplexor device
 .PP
 .in +4n
 .EX
@@ -26,7 +26,7 @@ open("/dev/ptmx", O_RDWR);
 .EE
 .in
 .PP
-on Linux systems, though the pseudoterminal master is located
+on Linux systems, though the pseudoterminal multiplexor device is located
 elsewhere on some systems that use the GNU C library.
 .SH RETURN VALUE
 .BR getpt ()
index dcc30ea3c9ddd1e35ae20769cdea2671735f2286..6feaae03da2f269bf130934fe032ac1681548c89 100644 (file)
@@ -95,7 +95,7 @@ is part of the UNIX 98 pseudoterminal support (see
 .SH NOTES
 Some older UNIX implementations that support System V
 (aka UNIX 98) pseudoterminals don't have this function, but it
-is easy to implement:
+can be easily implemented by opening the pseudoterminal multiplexor device:
 .PP
 .in +4n
 .EX
index eee4851bed03ed68d2bff2f30ea5626fd78e14be..06333162b0cef5dd461d2f9c83883ed54bfeb5fb 100644 (file)
@@ -11,6 +11,7 @@ ptmx, pts \- pseudoterminal master and slave
 .SH DESCRIPTION
 The file
 .I /dev/ptmx
+(the pseudoterminal multiplexor device)
 is a character file with major number 5 and
 minor number 2, usually with mode 0666 and ownership root:root.
 It is used to create a pseudoterminal master and slave pair.