ggeettppaassss() -- General Function (libc)

Get password with prompting
cchhaarr *ggeettppaassss(_p_r_o_m_p_t)
cchhaarr *_p_r_o_m_p_t;

ggeettppaassss()  first  prints the  _p_r_o_m_p_t.  Then it  disables  echoing of  input
characters on the terminal device (either the file /ddeevv/ttttyy or the standard
input), reads a password from it, and restores echoing on the terminal.  It
returns the given password.

_F_i_l_e_s
/ddeevv/ttttyy

_S_e_e _A_l_s_o
ccrryypptt(), lliibbcc, llooggiinn, ppaasssswwdd, ssuu

_N_o_t_e_s
The  password  is  stored in  a  static  location  that  is overwritten  by
successive calls.   This static buffer is 50  characters long; any password
longer than that can cause problems of one sort or another.
