|
|
1.1 root 1: .TH GETPASS 3
2: .CT 2 secur
3: .SH NAME
4: getpass \(mi read a password
5: .SH SYNOPSIS
6: .nf
7: .B char *getpass(prompt)
8: .B char *prompt;
9: .fi
10: .SH DESCRIPTION
11: .I Getpass
12: reads a password from the file
13: .FR /dev/tty ,
14: or if that cannot be opened, from the standard input,
15: after prompting with the null-terminated string
16: .I prompt
17: and disabling echoing.
18: A pointer is returned to a null-terminated string
19: of at most 8 characters.
20: .SH FILES
21: .TP
22: .F /dev/tty
23: .SH "SEE ALSO"
24: .IR crypt (3)
25: .SH BUGS
26: The return value points to static data
27: whose content is overwritten by each call.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.