Searched refs:default_answer (Results 1 – 5 of 5) sorted by relevance
57 typeset question=$1 default_answer=$258 if [[ -z $default_answer ]]; then61 print "$question [$default_answer]: \c"64 [ -z "$answer" ] && answer="$default_answer"
305 if [[ -z $default_answer ]]; then308 printf "$question [$default_answer]: "311 test -z "$answer" && answer="$default_answer"
876 ask_yesno(boolean_t default_answer, const char *question) in ask_yesno() argument886 default_answer ? "[y]/n" : "y/[n]") < 0) in ask_yesno()892 return (default_answer ? 1 : 0); in ask_yesno()
4886 ask_yesno(boolean_t default_answer, const char *question) in ask_yesno() argument4894 default_answer ? "[y]/n" : "y/[n]"); in ask_yesno()4897 return (default_answer ? 1 : 0); in ask_yesno()
1608 ask_yesno(boolean_t default_answer, const char *question) in ask_yesno() argument1618 default_answer ? "[y]/n" : "y/[n]") < 0) in ask_yesno()1624 return (default_answer ? 1 : 0); in ask_yesno()