/osnet-11/usr/src/lib/libadm/common/ |
H A D | getvol.c | 71 getvol(char *device, char *label, int options, char *prompt) argument 73 return (_getvol(device, label, options, prompt, NULL)); 78 _getvol(char *device, char *label, int options, char *prompt, char *norewind) argument
|
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
|
H A D | ckrange.c | 88 char *error, char *help, char *prompt) 107 if (!prompt) { 112 prompt = defpmpt; 120 putprmpt(stderr, prompt, choices, defstr); 87 ckrange(long *rngval, long lower, long upper, short base, char *defstr, char *error, char *help, char *prompt) argument
|
H A D | ckuid.c | 149 char *prompt) 155 if (!prompt) 156 prompt = PROMPT; 159 putprmpt(stderr, prompt, NULL, defstr); 148 ckuid(char *uid, short disp, char *defstr, char *error, char *help, char *prompt) argument
|
H A D | ckyorn.c | 82 ckyorn(char *yorn, char *defstr, char *error, char *help, char *prompt) argument 87 if (!prompt) 88 prompt = "Yes or No"; 90 putprmpt(stderr, prompt, choices, defstr);
|
H A D | ckstr.c | 140 char *help, char *prompt) 149 if (!prompt) 150 prompt = "Enter an appropriate value"; 153 putprmpt(stderr, prompt, NULL, defstr); 139 ckstr(char *strval, char *regexp[], int length, char *defstr, char *error, char *help, char *prompt) argument
|
H A D | ckitem.c | 121 char *help, char *prompt) 148 if (!prompt) 149 prompt = PROMPT; 157 if (n = getstr(strval, defstr, error, help, prompt)) { 502 getstr(char *strval, char *defstr, char *error, char *help, char *prompt) argument 519 (void) puttext(stderr, prompt, 0, 0); 120 ckitem(CKMENU *menup, char *item[], short max, char *defstr, char *error, char *help, char *prompt) argument
|
H A D | ckpath.c | 264 char *prompt) 273 if (!prompt) { 275 prompt = "Enter an absolute pathname"; 277 prompt = "Enter a relative pathname"; 279 prompt = "Enter a pathname"; 284 putprmpt(stderr, prompt, NULL, defstr); 263 ckpath(char *pathval, int pflags, char *defstr, char *error, char *help, char *prompt) argument
|
H A D | cktime.c | 343 char *prompt) 354 if (!prompt) 355 prompt = "Enter a time of day"; 358 putprmpt(stderr, prompt, NULL, defstr); 342 cktime(char *tod, char *fmt, char *defstr, char *error, char *help, char *prompt) argument
|
/osnet-11/usr/src/lib/libpkg/common/ |
H A D | pkgmount.c | 48 extern int getvol(char *device, char *label, int options, char *prompt); 56 char *pt, prompt[64], cmd[CMDSIZ]; local 66 (void) sprintf(prompt, pkg_gt(LABEL0), part, 69 (void) sprintf(prompt, pkg_gt(LABEL1), part, 73 (void) sprintf(prompt, pkg_gt(LABEL2), pkg); 75 (void) sprintf(prompt, pkg_gt(LABEL3)); 86 (devp->rdonly ? 0 : DM_FORMFS|DM_WLABEL), prompt))) {
|
/osnet-11/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...] |
/osnet-11/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);
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/ExtUtils/ |
H A D | MakeMaker.pm | 23 @EXPORT = qw(&WriteMakefile &writeMakefile $Verbose &prompt); 129 sub prompt ($;$) { subroutine 131 Carp::confess("prompt function called without an argument") 2400 =item prompt 2402 my $value = prompt($message); 2403 my $value = prompt($message, $default); 2405 The C<prompt()> function provides an easy way to request user input 2406 used to write a makefile. It displays the $message as a prompt for 2410 If C<prompt()> detects that it is not running interactively and there 2432 If set to a true value then MakeMaker's prompt functio [all...] |
/osnet-11/usr/src/lib/libast/common/disc/ |
H A D | sfdcmore.c | 50 char prompt[1]; /* prompt string */ member in struct:__anon1130 213 r = ttyquery(sfstdin, f, more->prompt, dp); 297 * if prompt==0 then a default ansi prompt is used 303 int sfdcmore(Sfio_t* f, const char* prompt, int rows, int cols) argument 305 int sfdcmore(f, prompt, rows, cols) 307 char* prompt; 321 if (!prompt) 322 prompt [all...] |
/osnet-11/usr/src/lib/pam_modules/passwd_auth/ |
H A D | passwd_auth.c | 75 char prompt[PAM_MAX_MSG_SIZE]; local 174 * The password prompt differs between users updating their 182 (void) snprintf(prompt, sizeof (prompt), 190 (void) snprintf(prompt, sizeof (prompt), 194 retval = __pam_get_authtok(pamh, PAM_PROMPT, PAM_AUTHTOK, prompt,
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | gic_opt.c | 95 krb5_get_init_creds_opt_set_change_password_prompt(krb5_get_init_creds_opt *opt, int prompt) argument 97 if (prompt)
|
H A D | gic_pwd.c | 44 krb5_prompt prompt; local 74 prompt.prompt = promptstr; 75 prompt.hidden = 1; 76 prompt.reply = password; 82 1, &prompt))))) { 181 krb5_prompt prompt[2]; local 182 krb5_prompt_type prompt_types[sizeof(prompt)/sizeof(prompt[0])]; 284 /* historically the default has been to prompt fo [all...] |
H A D | preauth.c | 357 sam_get_pass_from_user(krb5_context context, krb5_etype_info etype_info, git_key_proc key_proc, krb5_const_pointer key_seed, krb5_kdc_req *request, krb5_keyblock **new_enc_key, const char *prompt) argument 367 krb5_default_pwd_prompt1 = prompt; 384 char *prompt = sc->sam_response_prompt.data; local 417 prompt = "Passcode"; 419 prompt_len = strlen(prompt); 433 krb5int_buf_add_len(&buf, prompt, prompt_len); 454 char *prompt = 0, *passcode = 0; local 486 prompt = handle_sam_labels(sam_challenge); 487 if (prompt == NULL) { 491 retval = krb5_read_password(context, prompt, [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | read_pwd.c | 46 const char *prompt, const char *prompt2, 54 k5prompt.prompt = (char *)prompt; 64 k5prompt.prompt = (char *)prompt2; 123 const char * prompt, 148 (void) fputs(prompt, stdout); 246 krb5_read_password(context, prompt, prompt2, return_pwd, size_return) 248 const char *prompt; 261 (context, prompt, prompt2, return_pwd, size_return)); 264 dps.pwd_prompt = prompt; 45 krb5_read_password(krb5_context context, const char *prompt, const char *prompt2, char *return_pwd, unsigned int *size_return) argument 122 read_console_password(krb5_context context, const char * prompt, const char * prompt2, char * password, int * pwsize) argument [all...] |
/osnet-11/usr/src/lib/krb5/ss/ |
H A D | ss_internal.h | 80 char *prompt; member in struct:_ss_data
|
/osnet-11/usr/src/grub/grub2/grub-core/normal/ |
H A D | main.c | 390 const char *prompt; local 393 prompt = ">"; 395 prompt = "grub>"; 397 if (!prompt) 402 *line = grub_cmdline_get (prompt);
|
/osnet-11/usr/src/lib/pam_modules/zfs_key/ |
H A D | zfs_key.c | 79 char prompt[PAM_MAX_MSG_SIZE]; local 81 (void) snprintf(prompt, sizeof (prompt), 84 if (__pam_get_authtok(pamh, PAM_PROMPT, 0, prompt, 284 "passphrase,prompt"); 336 (strcmp(keysource, "passphrase,prompt") != 0)) { 494 (strcmp(keysource, "passphrase,prompt") != 0)) {
|