getpass.3
来自「操作系统设计与实现源码」· 3 代码 · 共 29 行
3
29 行
.\" @(#)getpass.3 6.1 (Berkeley) 5/15/85.\".TH GETPASS 3 "May 15, 1985".AT 3.SH NAMEgetpass \- read a password.SH SYNOPSIS.nf.ft B#include <minix/minlib.h>char *getpass(const char *\fIprompt\fP).fi.SH DESCRIPTION.B Getpassreads a password from the file.BR /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 32 characters, excluding the null..SH "SEE ALSO".BR crypt (3)..SH BUGSThe return value points to static datawhose content is overwritten by each call.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?