Definition at line 102 of file common.c.
Referenced by check_backup_boot(), check_dir(), check_file(), handle_dot(), lfn_add_slot(), lfn_check_orphaned(), lfn_get(), read_fat(), read_fsinfo(), update_free(), and VfatChkdsk().
{
#if 0
int ch,okay;
while (1) {
if (prompt) VfatPrint("%s ",prompt);
fflush(stdout);
while (ch = getchar(), ch == ' ' || ch == '\t');
if (ch == EOF) exit(1);
if (!strchr(valid,okay = ch)) okay = 0;
while (ch = getchar(), ch != '\n' && ch != EOF);
if (ch == EOF) exit(1);
if (okay) return okay;
VfatPrint("Invalid input.\n");
}
#else
return 0;
#endif
}