func: int main(int argc, char *argv[]) MYSQL * conn ; char * password ; if ( argc < 2 )  conn = mysql_init ( NULL ); if ( ! conn )  password = getpass_r ( "DB Password: " ); char * getpass_r(const char *prompt) struct termios oflags , nflags ; if ( tcgetattr ( fileno ( stdin ) , & oflags ) )  nflags = oflags; nflags . c_lflag &= ~ECHO; nflags . c_lflag |= ECHONL; if ( tcsetattr ( fileno ( stdin ) , TCSAFLUSH , & nflags ) )  fprintf ( stderr , "%s" , prompt ); 