/illumos-gate/usr/src/lib/libadm/common/ |
H A D | putprmpt.c | 40 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 D | ckint.c | 90 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 D | ckkeywd.c | 66 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 D | ckgid.c | 149 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 D | promif_mon.c | 92 static char *prompt = "c)ontinue, s)ync, r)eset? "; local 103 prom_printf("%s", prompt);
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | pkgmount.c | 47 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 D | getvol.c | 48 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 D | getpass.c | 58 mygetpass(char *prompt) argument 79 (void) fprintf(stderr, "%s", prompt);
|
/illumos-gate/usr/src/lib/libast/common/uwin/ |
H A D | getpass.c | 50 extern char* getpass(const char *prompt) argument 66 sfputr(sfstderr,prompt,-1);
|
/illumos-gate/usr/src/lib/libcryptoutil/common/ |
H A D | passutils.c | 67 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 D | getpass.c | 51 getpass(char *prompt) argument 78 (void) fputs(prompt, stderr);
|
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | getinst.c | 52 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 D | main.c | 54 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 D | getpass.c | 56 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 D | ckdate.c | 46 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 D | ckgid.c | 46 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 D | ckint.c | 45 static char *deflt, *prompt, *error, *help; variable 160 prompt = optarg; 209 n = ckint(&intval, base, deflt, error, help, prompt);
|
H A D | ckkeywd.c | 46 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 D | ckpath.c | 47 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 D | cktime.c | 46 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 D | ckuid.c | 46 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 D | ckyorn.c | 46 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 D | add_definition.c | 84 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 D | login.c | 117 static char prompt[64]; local 169 snprintf(prompt, sizeof (prompt), 171 pass = getpassphrase(prompt);
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | ttyadm.c | 60 * -p prompt 81 char prompt[BUFSIZ]; local 179 ptr->p_prompt = prompt; 233 (void)fprintf(stderr, "\t-p prompt\n");
|