Make unvis() have more reasonable argument types.
[unix-history] / usr / src / lib / libc / gen / getpass.3
index fd45a45..1f71a2d 100644 (file)
@@ -1,6 +1,6 @@
-.\"    @(#)getpass.3   5.1 (Berkeley) %G%
+.\"    @(#)getpass.3   6.2 (Berkeley) %G%
 .\"
 .\"
-.TH GETPASS 3  "19 January 1983"
+.TH GETPASS 3  ""
 .AT 3
 .SH NAME
 getpass \- read a password
 .AT 3
 .SH NAME
 getpass \- read a password
@@ -19,6 +19,9 @@ after prompting with the null-terminated string
 and disabling echoing.
 A pointer is returned to a null-terminated string
 of at most 8 characters.
 and disabling echoing.
 A pointer is returned to a null-terminated string
 of at most 8 characters.
+A calling process should zero the password as soon
+as possible to avoid leaving the cleartext password
+visible in the process' address space.
 .SH FILES
 /dev/tty
 .SH "SEE ALSO"
 .SH FILES
 /dev/tty
 .SH "SEE ALSO"