|
Hi,I need your help
I am developing a program which need input password under text mode.I have seached a little from a book,but it did not mention of how to input a string without ouputting.
I get the struct is :
struct termios
{
tcflag_t c_iflag;
tcfalg_t c_oflag;
///c_oflag I think I should set some value here,but I do know what should I set
tcfalg_t c_cflag;
.....
}
by the way,I do not want to invoke system("stty -cho");
OK,help me ,please |
|