diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 21:07:28 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 21:07:28 -0400 |
| commit | 711594636704defae873be1a355a292505585afd (patch) | |
| tree | 59ee13f863830d8beba6cfd02bbe813dd486c26f /static/v10/man3/getpass.3 | |
| parent | 3258a063c1f189d7b019e40e525b46bef9b9a7b1 (diff) | |
docs: Added UNIX V10 Manuals
Diffstat (limited to 'static/v10/man3/getpass.3')
| -rw-r--r-- | static/v10/man3/getpass.3 | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/static/v10/man3/getpass.3 b/static/v10/man3/getpass.3 new file mode 100644 index 00000000..d57d68a3 --- /dev/null +++ b/static/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. |
