]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
getpt.3: Minor wording fixes
authorMichael Kerrisk <mtk.manpages@gmail.com>
Tue, 28 Jul 2020 20:40:04 +0000 (22:40 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 29 Jul 2020 09:17:11 +0000 (11:17 +0200)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/getpt.3

index cf3379db3cc2f2d040a5b252f4f8d355c49b88a5..f797b907fba9e0ea4ca98606e126d97501dcf500 100644 (file)
@@ -6,7 +6,7 @@
 .\"
 .TH GETPT 3 2020-02-09 "GNU" "Linux Programmer's Manual"
 .SH NAME
-getpt \- open the pseudoterminal master
+getpt \- open a new pseudoterminal master
 .SH SYNOPSIS
 .nf
 .BR "#define _GNU_SOURCE" "             /* See feature_test_macros(7) */"
@@ -16,7 +16,8 @@ getpt \- open the pseudoterminal master
 .fi
 .SH DESCRIPTION
 .BR getpt ()
-opens a pseudoterminal master and returns its file descriptor.
+opens a new pseudoterminal device and returns a file descriptor
+that refers to that device.
 It is equivalent to
 .PP
 .in +4n
@@ -26,7 +27,7 @@ open("/dev/ptmx", O_RDWR);
 .in
 .PP
 on Linux systems, though the pseudoterminal master is located
-elsewhere on some systems that use GNU Libc.
+elsewhere on some systems that use the GNU C library.
 .SH RETURN VALUE
 .BR getpt ()
 returns an open file descriptor upon successful completion.