GETPASS(3)
NAME
getpass − read a password
USAGE
char *getpass(prompt) char *prompt;
DESCRIPTION
Getpass prompts for a password with the null-terminated string prompt, then disables echoing of input characters. On DOMAIN Systems, getpass reads a password from an input pad (the local equivalent of /dev/tty) or, if the standard input is an SIO line, from /dev/sio?. If neither of these files can be read, getpass reads a password from the standard input.
Getpass returns a pointer to a null-terminated string of at most eight characters.
NOTES
The return value points to static data that is overwritten by each call.