Hi friends,
Can anyone please tell me how can I set echoing the characters off while I type them on the keyboard ? e.g; I have to input password in c code but that must not be displayed while typing. I am working in Linux.
Thanks.
neeludhiman 0 Newbie Poster
Recommended Answers
Jump to Posthttp://unixhelp.ed.ac.uk/CGI/man-cgi?termios
Clear the ECHO bit.You might also consider
http://www.hmug.org/man/3/getpass.php
but I think that's a deprecated function.
All 2 Replies
Reply to this topic Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.