summaryrefslogtreecommitdiffstats
path: root/upstream/debian-unstable/man3/getpt.3
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:52:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:52:33 +0000
commit2c3307fb903f427be3d021c5780b75cac9af2ce8 (patch)
tree65cf431f40b7481d81ae2dfce9576342686448f7 /upstream/debian-unstable/man3/getpt.3
parentReleasing progress-linux version 4.22.0-1~progress7.99u1. (diff)
downloadmanpages-l10n-2c3307fb903f427be3d021c5780b75cac9af2ce8.tar.xz
manpages-l10n-2c3307fb903f427be3d021c5780b75cac9af2ce8.zip
Merging upstream version 4.23.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'upstream/debian-unstable/man3/getpt.3')
-rw-r--r--upstream/debian-unstable/man3/getpt.39
1 files changed, 4 insertions, 5 deletions
diff --git a/upstream/debian-unstable/man3/getpt.3 b/upstream/debian-unstable/man3/getpt.3
index 6434f902..4060c1fc 100644
--- a/upstream/debian-unstable/man3/getpt.3
+++ b/upstream/debian-unstable/man3/getpt.3
@@ -5,7 +5,7 @@
.\" Redistribute and modify at will.
.\" %%%LICENSE_END
.\"
-.TH getpt 3 2023-07-20 "Linux man-pages 6.05.01"
+.TH getpt 3 2024-05-02 "Linux man-pages 6.8"
.SH NAME
getpt \- open a new pseudoterminal master
.SH LIBRARY
@@ -15,7 +15,7 @@ Standard C library
.nf
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
.B #include <stdlib.h>
-.PP
+.P
.B "int getpt(void);"
.fi
.SH DESCRIPTION
@@ -23,13 +23,13 @@ Standard C library
opens a new pseudoterminal device and returns a file descriptor
that refers to that device.
It is equivalent to opening the pseudoterminal multiplexor device
-.PP
+.P
.in +4n
.EX
open("/dev/ptmx", O_RDWR);
.EE
.in
-.PP
+.P
on Linux systems, though the pseudoterminal multiplexor device is located
elsewhere on some systems that use the GNU C library.
.SH RETURN VALUE
@@ -57,7 +57,6 @@ T{
.BR getpt ()
T} Thread safety MT-Safe
.TE
-.sp 1
.SH VERSIONS
Use
.BR posix_openpt (3)