Lines Matching defs:subtopic
1067 help_getnext(int fd, char **topic, char **subtopic, char **desc)
1078 *topic = *subtopic = *desc = NULL;
1086 } else if ((*cp == 'S') && (*subtopic == NULL)) {
1089 *subtopic = strdup(cp + 1);
1097 if (*subtopic != NULL)
1098 free(*subtopic);
1108 help_emitsummary(char *topic, char *subtopic, char *desc)
1115 if (subtopic != NULL) {
1117 pager_output(subtopic);
1118 i += strlen(subtopic) + 1;
1134 char *topic, *subtopic, *t, *s, *d;
1145 topic = subtopic = NULL;
1148 subtopic = strdup(argv[2]);
1157 command_errmsg = "usage is 'help <topic> [<subtopic>]";
1181 if (((subtopic == NULL) && (s == NULL)) ||
1182 ((subtopic != NULL) && (s != NULL) &&
1183 strcmp(subtopic, s) == 0)) {
1192 } else if ((subtopic == NULL) && (s != NULL)) {
1208 if (subtopic)
1209 free(subtopic);
1213 if (subtopic)
1214 free(subtopic);