diff options
Diffstat (limited to 'static/unix-v10/man3/getpass.3')
| -rw-r--r-- | static/unix-v10/man3/getpass.3 | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/static/unix-v10/man3/getpass.3 b/static/unix-v10/man3/getpass.3 new file mode 100644 index 00000000..d57d68a3 --- /dev/null +++ b/static/unix-v10/man3/getpass.3 @@ -0,0 +1,27 @@ +.TH GETPASS 3 +.CT 2 secur +.SH NAME +getpass \(mi read a password +.SH SYNOPSIS +.nf +.B char *getpass(prompt) +.B char *prompt; +.fi +.SH DESCRIPTION +.I Getpass +reads a password from the file +.FR /dev/tty , +or if that cannot be opened, from the standard input, +after prompting with the null-terminated string +.I prompt +and disabling echoing. +A pointer is returned to a null-terminated string +of at most 8 characters. +.SH FILES +.TP +.F /dev/tty +.SH "SEE ALSO" +.IR crypt (3) +.SH BUGS +The return value points to static data +whose content is overwritten by each call. |
