|
|
1.1 ! root 1: ! 2: ! 3: getpass() General Function getpass() ! 4: ! 5: ! 6: ! 7: ! 8: Get password with prompting ! 9: ! 10: cchhaarr *ggeettppaassss(_p_r_o_m_p_t) ! 11: cchhaarr *_p_r_o_m_p_t; ! 12: ! 13: getpass first prints the prompt. Then it disables echoing of in- ! 14: put characters on the terminal device (either the file /dev/tty ! 15: or the standard input), reads a password from it, and restores ! 16: echoing on the terminal. It returns the given password. ! 17: ! 18: ***** Files ***** ! 19: ! 20: /dev/tty ! 21: ! 22: ***** See Also ***** ! 23: ! 24: crypt(), general functions, login, passwd, su ! 25: ! 26: ***** Notes ***** ! 27: ! 28: The password is stored in a static location that is overwritten ! 29: by successive calls. ! 30: ! 31: ! 32: ! 33: ! 34: ! 35: ! 36: ! 37: ! 38: ! 39: ! 40: ! 41: ! 42: ! 43: ! 44: ! 45: ! 46: ! 47: ! 48: ! 49: ! 50: ! 51: ! 52: ! 53: ! 54: ! 55: ! 56: ! 57: ! 58: ! 59: ! 60: ! 61: ! 62: ! 63: ! 64: COHERENT Lexicon Page 1 ! 65: ! 66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.