Searched refs:str_input (Results 1 – 1 of 1) sorted by relevance
635 char str_input[5]; in confirm_yesno() local641 while (i < sizeof(str_input)) { in confirm_yesno()642 str_input[i] = getc(); in confirm_yesno()643 putc(str_input[i]); in confirm_yesno()644 if (str_input[i] == '\r') in confirm_yesno()649 if (strncmp(str_input, "y\r", 2) == 0 || in confirm_yesno()650 strncmp(str_input, "Y\r", 2) == 0 || in confirm_yesno()651 strncmp(str_input, "yes\r", 4) == 0 || in confirm_yesno()652 strncmp(str_input, "YES\r", 4) == 0) in confirm_yesno()