Home | History | Annotate | Download | only in makewhatis

Lines Matching defs:wi

527 	whatis *wi;
542 while ((wi = *tree) != NULL) {
543 result = strcmp(data, wi->wi_data);
544 if (result == 0) result = strcmp(prefix, wi->wi_prefix);
546 tree = result < 0 ? &wi->wi_left : &wi->wi_right;
549 wi = emalloc(sizeof(whatis) + strlen(prefix));
551 wi->wi_left = NULL;
552 wi->wi_right = NULL;
553 wi->wi_data = data;
555 (void) strcpy(wi->wi_prefix, prefix);
557 wi->wi_prefix[0] = '\0';
558 *tree = wi;