Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo C - <b>getpass() read a password</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
getpass()                Read a Password

 #include   <conio.h>

 char       *getpass(prompt);
 char       *prompt;                     Prompt for password

    getpass() writes 'prompt' to the console and then reads a password
    from the keyboard.  The keys pressed are not echoed to the console.

    Returns:    A pointer to the password, a null-terminated string of up
                to eight characters, is returned.  The password is stored
                in a static string which is overwritten with each call to
                getpass().

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson