summaryrefslogtreecommitdiffstats
path: root/man3/getpass.3
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--man3/getpass.315
1 files changed, 7 insertions, 8 deletions
diff --git a/man3/getpass.3 b/man3/getpass.3
index 359ebd4..40420c9 100644
--- a/man3/getpass.3
+++ b/man3/getpass.3
@@ -3,7 +3,7 @@
.\"
.\" SPDX-License-Identifier: GPL-2.0-or-later
.\"
-.TH getpass 3 2023-07-20 "Linux man-pages 6.05.01"
+.TH getpass 3 2023-10-31 "Linux man-pages 6.7"
.SH NAME
getpass \- get a password
.SH LIBRARY
@@ -12,15 +12,15 @@ Standard C library
.SH SYNOPSIS
.nf
.B #include <unistd.h>
-.PP
+.P
.BI "[[deprecated]] char *getpass(const char *" prompt );
.fi
-.PP
+.P
.RS -4
Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):
.RE
-.PP
+.P
.BR getpass ():
.nf
Since glibc 2.2.2:
@@ -39,7 +39,7 @@ see the description of the
.I ECHO
flag in
.BR termios (3).
-.PP
+.P
The
.BR getpass ()
function opens
@@ -81,7 +81,6 @@ T{
.BR getpass ()
T} Thread safety MT-Unsafe term
.TE
-.sp 1
.SH STANDARDS
None.
.SH HISTORY
@@ -113,7 +112,7 @@ You should use instead
.BR readpassphrase (3bsd),
provided by
.IR libbsd .
-.PP
+.P
In the GNU C library implementation, if
.I /dev/tty
cannot be opened, the prompt is written to
@@ -122,7 +121,7 @@ and the password is read from
.IR stdin .
There is no limit on the length of the password.
Line editing is not disabled.
-.PP
+.P
According to SUSv2, the value of
.B PASS_MAX
must be defined in