getpass.3
来自「unix v7是最后一个广泛发布的研究型UNIX版本」· 3 代码 · 共 25 行
3
25 行
.TH GETPASS 3 .SH NAMEgetpass \- read a password.SH SYNOPSIS.B char *getpass(prompt).br.B char *prompt;.SH DESCRIPTION.I Getpassreads a password from the file.IR /dev/tty ,or if that cannot be opened, from the standard input,after prompting with the null-terminated string.I promptand disabling echoing.A pointer is returned to a null-terminated stringof at most 8 characters..SH FILES/dev/tty.SH "SEE ALSO"crypt(3).SH BUGSThe return value points to static datawhose content is overwritten by each call.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?