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 last updated on Fri Nov 30 10:48:32 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster