aboutsummaryrefslogtreecommitdiffstats
path: root/man3/getpass.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/getpass.3')
-rw-r--r--man3/getpass.318
1 files changed, 9 insertions, 9 deletions
diff --git a/man3/getpass.3 b/man3/getpass.3
index ab3ba57118..67183941a8 100644
--- a/man3/getpass.3
+++ b/man3/getpass.3
@@ -56,6 +56,15 @@ The function may fail if
.TP
.B ENXIO
The process does not have a controlling terminal.
+.SH FILES
+.I /dev/tty
+.\" .SH HISTORY
+.\" A
+.\" .BR getpass ()
+.\" function appeared in Version 7 AT&T UNIX.
+.SH "CONFORMING TO"
+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
@@ -92,15 +101,6 @@ and _SC_PASS_MAX, and the function
.BR getpass ().
Libc4 and libc5 have never supported PASS_MAX or _SC_PASS_MAX.
Glibc2 accepts _SC_PASS_MAX and returns BUFSIZ (e.g., 8192).
-.SH FILES
-.I /dev/tty
-.\" .SH HISTORY
-.\" A
-.\" .BR getpass ()
-.\" function appeared in Version 7 AT&T UNIX.
-.SH "CONFORMING TO"
-Present in SUSv2, but marked LEGACY.
-Removed in POSIX.1-2001.
.SH BUGS
The calling process should zero the password as soon as possible to avoid
leaving the cleartext password visible in the process's address space.