Searched defs:choices (Results 1 - 4 of 4) sorted by relevance
/osnet-11/usr/src/lib/libadm/common/ |
H A D | putprmpt.c | 40 putprmpt(FILE *fp, char *prompt, char *choices[], char *defstr) argument 64 for (i = 0; choices && choices[i]; ++i) { 65 (void) strlcat(buffer, choices[i], sizeof (buffer));
|
H A D | ckrange.c | 97 char *choices[2]; local 116 choices[0] = buffer; 117 choices[1] = NULL; 120 putprmpt(stderr, prompt, choices, defstr);
|
H A D | ckyorn.c | 41 static char *choices[] = { "y", "n", NULL }; variable 90 putprmpt(stderr, prompt, choices, defstr);
|
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | xdr.c | 491 const struct xdr_discrim *choices, const xdrproc_t dfault) 503 * search choices for a value that matches the discriminator. 506 for (; choices->proc != NULL_xdrproc_t; choices++) { 507 if (choices->value == dscm) 508 return ((*(choices->proc))(xdrs, unp, LASTUNSIGNED)); 490 xdr_union(XDR *xdrs, enum_t *dscmp, char *unp, const struct xdr_discrim *choices, const xdrproc_t dfault) argument
|
Completed in 49 milliseconds