GETPASS(3)              NetBSD Library Functions Manual
GETPASS(3)       getpass -- get a password       Standard C
Library (libc, -lc)       #include <unistd.h>       char *
getpass(const char *prompt);       char *      getpass_r(const
char *prompt, char *buf, size_t buflen);       char *
getpassfd(const char *prompt, char *buf, size_t buflen, int *fd,
int flags, int timeout);       The getpass() function displays a
prompt to, and reads in a password      from, /dev/tty.  If this
file is not accessible, getpass() displays the       The
password may be up to sysconf(3) _SC_PASS_MAX characters in
length.      Any additional characters and the terminating
newline character are dis-       getpass() turns off character
echoing while reading the password.       getpass_r() is similar
to getpass() only it puts its result in buf for up      to
buflen characters.  If the buf argument is NULL, then a buffer
will be      dynamically allocated.       The getpassfd()
function allows one to