getpass() General Function getpass() Get password with prompting char *getpass(prompt) char *prompt; getpass first prints the prompt. Then it disables echoing of in- put characters on the terminal device (either the file /dev/tty or the standard input), reads a password from it, and restores echoing on the terminal. It returns the given password. ***** Files ***** /dev/tty ***** See Also ***** crypt(), general functions, login, passwd, su ***** Notes ***** The password is stored in a static location that is overwritten by successive calls. COHERENT Lexicon Page 1