Searched defs:prompt (Results 1 - 25 of 102) sorted by relevance

12345

/illumos-gate/usr/src/lib/libadm/common/
H A Dputprmpt.c40 putprmpt(FILE *fp, char *prompt, char *choices[], char *defstr) argument
46 if (prompt == NULL) {
47 (void) strlcpy(buffer, defstr ? defstr : "No default prompt.",
49 } else if (n = (int)strlen(prompt)) {
52 if (prompt[0] == '~')
54 defstr, prompt + 1);
55 else if (prompt[n-1] == '~')
57 n - 1, prompt, defstr);
59 (void) strlcpy(buffer, prompt, sizeof (buffer));
H A Dckint.c90 char *prompt)
98 if (!prompt) {
100 prompt = temp;
105 putprmpt(stderr, prompt, NULL, defstr);
89 ckint(long *intval, short base, char *defstr, char *error, char *help, char *prompt) argument
H A Dckkeywd.c66 char *prompt)
82 if (!prompt)
83 prompt = "Enter appropriate value";
86 putprmpt(stderr, prompt, keyword, defstr);
65 ckkeywd(char *strval, char *keyword[], char *defstr, char *error, char *help, char *prompt) argument
H A Dckgid.c149 char *prompt)
155 if (!prompt)
156 prompt = PROMPT;
159 putprmpt(stderr, prompt, NULL, defstr);
148 ckgid(char *gid, short disp, char *defstr, char *error, char *help, char *prompt) argument
/illumos-gate/usr/src/uts/sun4v/promif/
H A Dpromif_mon.c92 static char *prompt = "c)ontinue, s)ync, r)eset? "; local
103 prom_printf("%s", prompt);
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgmount.c47 extern int getvol(char *device, char *label, int options, char *prompt);
55 char *pt, prompt[64], cmd[CMDSIZ]; local
65 (void) snprintf(prompt, sizeof (prompt),
68 (void) snprintf(prompt, sizeof (prompt),
72 (void) snprintf(prompt, sizeof (prompt), pkg_gt(LABEL2), pkg);
74 (void) snprintf(prompt, sizeof (prompt), pkg_g
[all...]
/illumos-gate/usr/src/cmd/devmgmt/cmds/
H A Dgetvol.c48 char *prompt; variable
116 prompt = optarg;
142 switch (n = getvol(argv[optind], label, options, prompt)) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dgetpass.c58 mygetpass(char *prompt) argument
79 (void) fprintf(stderr, "%s", prompt);
/illumos-gate/usr/src/lib/libast/common/uwin/
H A Dgetpass.c50 extern char* getpass(const char *prompt) argument
66 sfputr(sfstderr,prompt,-1);
/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Dpassutils.c67 char prompt[1024]; local
73 (void) snprintf(prompt, sizeof (prompt), DEFAULT_TOKEN_PROMPT,
76 (void) snprintf(prompt, sizeof (prompt), DEFAULT_USER_PROMPT);
79 tmpbuf = getpassphrase(prompt);
103 (void) snprintf(prompt, sizeof (prompt),
106 (void) snprintf(prompt, sizeof (prompt),
[all...]
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dgetpass.c51 getpass(char *prompt) argument
78 (void) fputs(prompt, stderr);
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dgetinst.c52 static char *prompt(struct pkginfo *info, int npkgs);
191 inst = prompt(info, npkgs);
230 prompt(struct pkginfo *info, int npkgs) function
/illumos-gate/usr/src/common/ficl/
H A Dmain.c54 prompt(void) function
56 static char prompt[20]; /* probably too large, but well... */ local
60 if ((cp = getenv("prompt")) == NULL)
72 n = sprintf(prompt+n, "%s", ev);
76 prompt[n++] = *p;
79 if (prompt[n - 1] != ' ')
80 prompt[n++] = ' ';
81 prompt[n] = '\0';
83 return (prompt);
111 if (getenv("prompt")
[all...]
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dgetpass.c56 getpass(const char *prompt) argument
58 return ((char *)__getpass(prompt, SMLPASSWD));
62 getpassphrase(const char *prompt) argument
64 return ((char *)__getpass(prompt, MAXPASSWD));
70 __getpass(const char *prompt, int size) argument
97 (void) fputs(prompt, fi);
/illumos-gate/usr/src/cmd/valtools/
H A Dckdate.c46 static char *deflt = NULL, *prompt = NULL, *error = NULL, *help = NULL; variable
167 prompt = optarg;
240 n = ckdate(date, fmt, deflt, error, help, prompt);
H A Dckgid.c46 static char *deflt = NULL, *error = NULL, *help = NULL, *prompt = NULL; variable
159 prompt = optarg;
224 n = ckgid(gid, disp, deflt, error, help, prompt);
H A Dckint.c45 static char *deflt, *prompt, *error, *help; variable
160 prompt = optarg;
209 n = ckint(&intval, base, deflt, error, help, prompt);
H A Dckkeywd.c46 static char *deflt = NULL, *prompt = NULL, *error = NULL, *help = NULL; variable
119 prompt = optarg;
176 n = ckkeywd(strval, keyword, deflt, error, help, prompt);
H A Dckpath.c47 static char *deflt = NULL, *prompt = NULL, *error = NULL, *help = NULL; variable
231 prompt = optarg;
302 n = ckpath(pathval, pflags, deflt, error, help, prompt);
H A Dcktime.c46 static char *deflt = NULL, *prompt = NULL, *error = NULL, *help = NULL; variable
171 prompt = optarg;
247 n = cktime(tod, fmt, deflt, error, help, prompt);
H A Dckuid.c46 static char *deflt = NULL, *prompt = NULL, *error = NULL, *help = NULL; variable
163 prompt = optarg;
227 n = ckuid(strval, disp, deflt, error, help, prompt);
H A Dckyorn.c46 static char *deflt, *prompt, *error, *help; variable
150 prompt = optarg;
215 n = ckyorn(ynval, deflt, error, help, prompt);
/illumos-gate/usr/src/cmd/format/
H A Dadd_definition.c84 char *prompt; local
139 prompt = "Enter file name";
141 filename = (char *)(uintptr_t)input(FIO_OSTR, prompt,
/illumos-gate/usr/src/cmd/fs.d/smbclnt/smbutil/
H A Dlogin.c117 static char prompt[64]; local
169 snprintf(prompt, sizeof (prompt),
171 pass = getpassphrase(prompt);
/illumos-gate/usr/src/cmd/ttymon/
H A Dttyadm.c60 * -p prompt
81 char prompt[BUFSIZ]; local
179 ptr->p_prompt = prompt;
233 (void)fprintf(stderr, "\t-p prompt\n");

Completed in 54 milliseconds

12345