Lines Matching defs:prompt
94 getvol(char *device, char *label, int options, char *prompt)
96 return (_getvol(device, label, options, prompt, NULL));
100 _getvol(char *device, char *label, int options, char *prompt, char *norewind)
138 n = insert(device, label, options, prompt);
287 insert(char *device, char *label, int options, char *prompt)
305 if (prompt) {
306 (void) strlcpy(prmpt, prompt, sizeof (prmpt));
307 for (pt = prmpt; *prompt; ) {
308 if ((*prompt == '\\') && (prompt[1] == '%'))
309 prompt++;
310 else if (*prompt == '%') {
311 switch (prompt[1]) {
325 prompt += 2;
328 *pt++ = *prompt++;
352 pt = prompt = prmpt + strlen(prmpt);
412 pt = prompt; /* next prompt is only partial */