aboutsummaryrefslogtreecommitdiffstats
path: root/man3/getpass.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2007-05-19 04:30:20 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2007-05-19 04:30:20 +0000
commit2b2581ee37f080c0a95d20aedecd5cb04e81ef4a (patch)
tree4ce1a3bcc3cd8793e50f48abba8eab04c8e7ea07 /man3/getpass.3
parent2dd578fd5b80cbfe5892b200633aa1442c4ac674 (diff)
downloadman-pages-2b2581ee37f080c0a95d20aedecd5cb04e81ef4a.tar.gz
Fix inconsistencies in order of .SH sections
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.