summaryrefslogtreecommitdiffstats
path: root/upstream/opensuse-tumbleweed/man3/unlockpt.3
diff options
context:
space:
mode:
Diffstat (limited to 'upstream/opensuse-tumbleweed/man3/unlockpt.3')
-rw-r--r--upstream/opensuse-tumbleweed/man3/unlockpt.311
1 files changed, 5 insertions, 6 deletions
diff --git a/upstream/opensuse-tumbleweed/man3/unlockpt.3 b/upstream/opensuse-tumbleweed/man3/unlockpt.3
index 1ed2ad9f..ccdbf4f7 100644
--- a/upstream/opensuse-tumbleweed/man3/unlockpt.3
+++ b/upstream/opensuse-tumbleweed/man3/unlockpt.3
@@ -3,7 +3,7 @@
.\" This page is in the public domain. - aeb
.\" %%%LICENSE_END
.\"
-.TH unlockpt 3 2023-07-20 "Linux man-pages 6.05.01"
+.TH unlockpt 3 2024-05-02 "Linux man-pages (unreleased)"
.SH NAME
unlockpt \- unlock a pseudoterminal master/slave pair
.SH LIBRARY
@@ -13,15 +13,15 @@ Standard C library
.nf
.B #define _XOPEN_SOURCE
.B #include <stdlib.h>
-.PP
+.P
.BI "int unlockpt(int " fd );
.fi
-.PP
+.P
.RS -4
Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):
.RE
-.PP
+.P
.BR unlockpt ():
.nf
Since glibc 2.24:
@@ -36,7 +36,7 @@ The
function unlocks the slave pseudoterminal device
corresponding to the master pseudoterminal referred to by the file descriptor
.IR fd .
-.PP
+.P
.BR unlockpt ()
should be called before opening the slave side of a pseudoterminal.
.SH RETURN VALUE
@@ -71,7 +71,6 @@ T{
.BR unlockpt ()
T} Thread safety MT-Safe
.TE
-.sp 1
.SH STANDARDS
POSIX.1-2008.
.SH HISTORY