Home
last modified time | relevance | path

Searched refs:yesno (Results 1 – 19 of 19) sorted by relevance

/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/
H A Dsyncinit.c51 static char *yesno[] = { variable
173 if (lookup(yesno, arg)) in main()
179 if (lookup(yesno, arg)) in main()
185 if (lookup(yesno, arg)) in main()
264 yesno[((int)(sm.sm_config & CONN_LPBK) > 0)], in main()
265 yesno[((int)(sm.sm_config & CONN_ECHO) > 0)], in main()
266 yesno[((int)(sm.sm_config & CONN_NRZI) > 0)], in main()
H A Dsyncloop.c67 static char *yesno[] = { variable
298 yesno[((int)(sm.sm_config & CONN_LPBK) > 0)], in main()
299 yesno[((int)(sm.sm_config & CONN_NRZI) > 0)], in main()
/titanic_41/usr/src/cmd/vntsd/
H A Dcommon.c107 char yesno[8]; in vntsd_get_yes_no() local
111 (void) snprintf(yesno, sizeof (yesno), "[%c/%c] ", in vntsd_get_yes_no()
120 if ((rv = vntsd_write_client(clientp, yesno, strlen(yesno))) != in vntsd_get_yes_no()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dasppp2pppd141 sub yesno
836 if yesno("Rebuild NIS/YP maps", $opt_y);
882 unless ($> == 0 || yesno "This script should be run as root. Continue");
899 unless yesno "Remove existing $asfile", $opt_y;
942 unless yesno "Already converted; rerun anyway";
950 unless yesno "Continue", 1;
1173 if (!yesno("Should it be overwritten",$opt_y)) {
1174 if (yesno("Should it be used as-is")) {
1201 if (!yesno("Should it be overwritten", $opt_y)) {
1202 if (yesno("Should it be used as-is")) {
[all …]
/titanic_41/usr/src/lib/libshell/common/tests/
H A Dcomvar.sh127 type=yesno var=showheader val=no label="Show Header"
134 type=yesno var=showfooter val=no label="Show Footer"
141 type=yesno var=showtitle val=yes label="Show Title"
148 type=yesno var=showlegends val=yes label="Show Legends"
/titanic_41/usr/src/cmd/allocate/
H A Ddisk_clean.sh138 yesno() { function
287 yesno "Do you want $DEVICE mounted?"
/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_sp.c5264 char yesno[255]; in meta_sp_resolve_name_conflict() local
5301 if ((fgets(yesno, sizeof (yesno), stdin) == NULL) || in meta_sp_resolve_name_conflict()
5302 (strlen(yesno) == 1)) in meta_sp_resolve_name_conflict()
5303 (void) snprintf(yesno, sizeof (yesno), "%s\n", in meta_sp_resolve_name_conflict()
5306 if (strncasecmp(yesno, yes, strlen(yesno) - 1) != 0) { in meta_sp_resolve_name_conflict()
5931 char yesno[255]; in meta_sp_recover_from_wm() local
6129 if ((fgets(yesno, sizeof (yesno), stdin) == NULL) || in meta_sp_recover_from_wm()
6130 (strlen(yesno) == 1)) in meta_sp_recover_from_wm()
6131 (void) snprintf(yesno, sizeof (yesno), "%s\n", in meta_sp_recover_from_wm()
6134 if (strncasecmp(yesno, yes, strlen(yesno) - 1) != 0) { in meta_sp_recover_from_wm()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dutilities.c106 SetSockOpt(fd, level, option, yesno) in SetSockOpt() argument
107 int fd, level, option, yesno; in SetSockOpt()
109 return (setsockopt(fd, level, option, &yesno, sizeof (yesno)));
/titanic_41/usr/src/cmd/cmd-crypto/pktool/
H A Dcommon.h98 extern boolean_t yesno(char *prompt, char *invalid, boolean_t dflt);
H A Ddownload.c122 if (yesno(gettext("Continue with download? "), in pk_download()
H A Ddelete.c159 if (!yesno(prompt, in pk_delete_keys()
206 if (!yesno(prompt, in pk_delete_certs()
H A Dgencsr.c564 if (yesno(gettext("Continue with gencsr? "), in pk_gencsr()
H A Dexport.c839 if (yesno(gettext("Continue with export? "), in pk_export()
H A Dcommon.c285 yesno(char *prompt, char *invalid, boolean_t dflt) in yesno() function
/titanic_41/usr/src/cmd/locale/
H A Dlocale.c110 struct yesno { struct
144 static struct yesno *
147 static struct yesno yn; in getyesno()
361 offsetof(struct yesno, member), \
/titanic_41/usr/src/cmd/fdisk/
H A Dfdisk.c681 static int yesno(void);
1253 if (io_wholedisk ||(io_ifdisk && yesno())) { in main()
2977 if (yesno()) {
3034 if (yesno()) {
3553 if (! yesno()) {
3576 if (! yesno()) {
4254 if (yesno())
4269 if (yesno())
4284 if (yesno())
4306 if (yesno()) {
[all …]
/titanic_41/usr/src/cmd/krb5/kadmin/kdcmgr/
H A Dkdcmgr.sh67 function yesno { function
90 yesno "$*"
138 yesno "$@"
/titanic_41/usr/src/cmd/ssh/ssh-keygen/
H A Dssh-keygen.c1113 char yesno[128]; in main() local
1118 if (fgets(yesno, sizeof(yesno), stdin) == NULL) in main()
1120 if (strcasecmp(chop(yesno), nl_langinfo(YESSTR)) != 0) in main()
/titanic_41/usr/src/cmd/cfgadm/
H A Dcfgadm.c71 static int yesno(char *, char *);
702 isyes = yesno(yeschr, nochr); in confirm_interactive()
713 yesno( in yesno() function