Home
last modified time | relevance | path

Searched refs:aprompt (Results 1 – 6 of 6) sorted by relevance

/freebsd/lib/libdpv/
H A Ddpv.c73 char *aprompt = NULL; /* dpv_config.aprompt */ variable
142 aprompt = NULL; in dpv()
168 if (config->aprompt != NULL) { in dpv()
169 if (aprompt == NULL) { in dpv()
170 aprompt = malloc(DPV_APROMPT_MAX); in dpv()
171 if (aprompt == NULL) in dpv()
174 snprintf(aprompt, DPV_APROMPT_MAX, "%s", in dpv()
175 config->aprompt); in dpv()
413 if (use_xdialog && aprompt != NULL) { in dpv()
415 len = strlen(aprompt); in dpv()
[all …]
H A Ddprompt.c178 (int)dialog_prompt_numlines(aprompt, use_dialog) - in dprompt_init()
179 (use_dialog ? (int)dialog_prompt_nlstate(aprompt) : 0)) in dprompt_init()
189 numlines = dialog_prompt_numlines(aprompt, use_dialog); in dprompt_init()
205 len = (int)dialog_prompt_longestline(aprompt, 1); /* nls */ in dprompt_init()
234 dheight += dialog_prompt_wrappedlines(aprompt, dwidth - 4, 1); in dprompt_init()
H A Ddpv_private.h43 extern char *pprompt, *aprompt;
H A Ddpv.h111 char *aprompt; /* Prompt append. Default NULL */ member
/freebsd/usr.bin/dpv/
H A Ddpv.c275 if (config->aprompt == NULL) { in main()
276 config->aprompt = malloc(DPV_APROMPT_MAX); in main()
277 if (config->aprompt == NULL) in main()
280 snprintf(config->aprompt, DPV_APROMPT_MAX, "%s", in main()
/freebsd/contrib/tnftp/src/
H A Dutil.c512 another(int *pargc, char ***pargv, const char *aprompt) in another() argument
523 fprintf(ttyout, "(%s) ", aprompt); in another()