aboutsummaryrefslogtreecommitdiffstats
path: root/man3/getpass.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2014-06-29 10:56:47 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2014-08-18 17:01:49 -0500
commitaf3253cac76eb1b42dcc8f6a0dd8090e83faefb3 (patch)
tree4e5d4964ac5c007e1597364f51293f83de6a7e7f /man3/getpass.3
parent7e693a49ad42edb4001bb8286db66e38b1966363 (diff)
downloadman-pages-af3253cac76eb1b42dcc8f6a0dd8090e83faefb3.tar.gz
getpass.3: Remove ancient Linux libc details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/getpass.3')
-rw-r--r--man3/getpass.342
1 files changed, 21 insertions, 21 deletions
diff --git a/man3/getpass.3 b/man3/getpass.3
index 89a8305308..58ff720687 100644
--- a/man3/getpass.3
+++ b/man3/getpass.3
@@ -102,28 +102,28 @@ function is not thread-safe.
Present in SUSv2, but marked LEGACY.
Removed in POSIX.1-2001.
.SH NOTES
-For libc4 and libc5, the prompt is not written to
-.I /dev/tty
-but to
-.IR stderr .
-Moreover, if
-.I /dev/tty
-cannot be opened, the password is read from
-.IR stdin .
-The static buffer has length 128 so that only the first 127
-bytes of the password are returned.
-While reading the password, signal generation
-.RB ( SIGINT ,
-.BR SIGQUIT ,
-.BR SIGSTOP ,
-.BR SIGTSTP )
-is disabled and the corresponding characters
-(usually control-C, control-\e, control-Z and control-Y)
-are transmitted as part of the password.
-Since libc 5.4.19 also line editing is disabled, so that also
-backspace and the like will be seen as part of the password.
+.\" For libc4 and libc5, the prompt is not written to
+.\" .I /dev/tty
+.\" but to
+.\" .IR stderr .
+.\" Moreover, if
+.\" .I /dev/tty
+.\" cannot be opened, the password is read from
+.\" .IR stdin .
+.\" The static buffer has length 128 so that only the first 127
+.\" bytes of the password are returned.
+.\" While reading the password, signal generation
+.\" .RB ( SIGINT ,
+.\" .BR SIGQUIT ,
+.\" .BR SIGSTOP ,
+.\" .BR SIGTSTP )
+.\" is disabled and the corresponding characters
+.\" (usually control-C, control-\e, control-Z and control-Y)
+.\" are transmitted as part of the password.
+.\" Since libc 5.4.19 also line editing is disabled, so that also
+.\" backspace and the like will be seen as part of the password.
.PP
-For glibc2, if
+In the GNU C library implementation, if
.I /dev/tty
cannot be opened, the prompt is written to
.I stderr