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"
303 typeset default_answer=$2305 if [[ -z $default_answer ]]; then308 printf "$question [$default_answer]: "311 test -z "$answer" && answer="$default_answer"
866 ask_yesno(boolean_t default_answer, const char *question) in ask_yesno() argument 876 default_answer ? "[y]/n" : "y/[n]") < 0) in ask_yesno() 882 return (default_answer ? 1 : 0); in ask_yesno()
4877 ask_yesno(boolean_t default_answer, const char *question) in ask_yesno() argument 4885 default_answer ? "[y]/n" : "y/[n]"); in ask_yesno() 4888 return (default_answer ? 1 : 0); in ask_yesno()
1562 ask_yesno(boolean_t default_answer, const char *question) in ask_yesno() argument 1572 default_answer ? "[y]/n" : "y/[n]") < 0) in ask_yesno() 1578 return (default_answer ? 1 : 0); in ask_yesno()