函数名: getpass 功 能: 读一个口令 用 法: char *getpass(char *prompt);
#include
#include int main(void) { char *password; password = getpass("Input a password:"); printf("The password is: %s/r/n", password); return 0; }