Home
last modified time | relevance | path

Searched refs:default_answer (Results 1 – 5 of 5) sorted by relevance

/titanic_51/usr/src/cmd/krb5/kadmin/kdcmgr/
H A Dkdcmgr.sh57 typeset question=$1 default_answer=$2
58 if [[ -z $default_answer ]]; then
61 print "$question [$default_answer]: \c"
64 [ -z "$answer" ] && answer="$default_answer"
/titanic_51/usr/src/cmd/krb5/kadmin/kclient/
H A Dkclient.sh303 typeset default_answer=$2
305 if [[ -z $default_answer ]]; then
308 printf "$question [$default_answer]: "
311 test -z "$answer" && answer="$default_answer"
/titanic_51/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/
H A Dnwamcfg.c866 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()
/titanic_51/usr/src/cmd/zoneadm/
H A Dzoneadm.c4877 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()
/titanic_51/usr/src/cmd/zonecfg/
H A Dzonecfg.c1562 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()