I am currently writing a small console program in c that will be run under linux. It will require a username and password to be entered. About 2 years ago I wrote a similar tool and the username was passed to the program as a command line argument and then it would prompt for the password. There is a function that allows you to get input from the keyboard and not have those characters echoed on screen (like when you enter your password at the Linux login prompt)
Unfortunally, for the life of me I can't think of the function and a google search didn't turn up anything simply because I don't know what it is called.
Anyone know what I am talking about? It would be a really big help.
Many thanks
Unfortunally, for the life of me I can't think of the function and a google search didn't turn up anything simply because I don't know what it is called.
Anyone know what I am talking about? It would be a really big help.
Many thanks
