[<<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().

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson