Prompts the user for a password.
#include <unistd.h> char *getpass ( const char *prompt );
(IN) Points to the prompt to display to the user.
If successful, returns a pointer to the password. Otherwise, returns a NULL pointer and sets errno to one of the following:
The getpass function turns off character echoing while the user enters the password.The terminating new line character is discarded as well as any characters beyond the maximum password length.
This function is thread-unsafe.