aboutsummaryrefslogtreecommitdiffstats
path: root/man3/unlockpt.3
diff options
Diffstat (limited to 'man3/unlockpt.3')
-rw-r--r--man3/unlockpt.311
1 files changed, 6 insertions, 5 deletions
diff --git a/man3/unlockpt.3 b/man3/unlockpt.3
index 26333ef6d3..c3d67f4a2c 100644
--- a/man3/unlockpt.3
+++ b/man3/unlockpt.3
@@ -4,7 +4,7 @@
.\"
.TH UNLOCKPT 3 2017-07-13 "" "Linux Programmer's Manual"
.SH NAME
-unlockpt \- unlock a pseudoterminal master/slave pair
+unlockpt \- unlock a pseudoterminal device pair
.SH SYNOPSIS
.B #define _XOPEN_SOURCE
.br
@@ -32,12 +32,13 @@ Glibc 2.23 and earlier:
.SH DESCRIPTION
The
.BR unlockpt ()
-function unlocks the slave pseudoterminal device
-corresponding to the master pseudoterminal referred to by the file descriptor
+function unlocks the terminal device
+corresponding to the pseudoterminal device referred to by the file descriptor
.IR fd .
.PP
.BR unlockpt ()
-should be called before opening the slave side of a pseudoterminal.
+should be called before opening the terminal end of
+a pseudoterminal device pair.
.SH RETURN VALUE
When successful,
.BR unlockpt ()
@@ -55,7 +56,7 @@ argument is not a file descriptor open for writing.
.B EINVAL
The
.I fd
-argument is not associated with a master pseudoterminal.
+argument is not associated with a pseudoterminal device.
.SH VERSIONS
.BR unlockpt ()
is provided in glibc since version 2.1.