|
|
1.1 root 1: .TH GETPASS 3 "19 January 1983"
2: .SH NAME
3: getpass \- read a password
4: .SH SYNOPSIS
5: .nf
6: .B char *getpass(prompt)
7: .B char *prompt;
8: .fi
9: .SH DESCRIPTION
10: .I Getpass
11: reads a password from the file
12: .IR /dev/tty ,
13: or if that cannot be opened, from the standard input,
14: after prompting with the null-terminated string
15: .I prompt
16: and disabling echoing.
17: A pointer is returned to a null-terminated string
18: of at most 8 characters.
19: .SH FILES
20: /dev/tty
21: .SH "SEE ALSO"
22: crypt(3)
23: .SH BUGS
24: The return value points to static data
25: 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.