Lines Matching refs:subtopic
1020 help_getnext(int fd, char **topic, char **subtopic, char **desc) in help_getnext() argument
1024 *topic = *subtopic = *desc = NULL; in help_getnext()
1032 *topic = *subtopic = *desc = NULL; in help_getnext()
1040 } else if (*cp == 'S' && *subtopic == NULL) { in help_getnext()
1043 *subtopic = strdup(cp + 1); in help_getnext()
1051 free(*subtopic); in help_getnext()
1060 help_emitsummary(char *topic, char *subtopic, char *desc) in help_emitsummary() argument
1067 if (subtopic != NULL) { in help_emitsummary()
1069 (void) pager_output(subtopic); in help_emitsummary()
1070 i += strlen(subtopic) + 1; in help_emitsummary()
1088 char *topic, *subtopic, *t, *s, *d; in command_help() local
1099 topic = subtopic = NULL; in command_help()
1102 subtopic = strdup(argv[2]); in command_help()
1135 if ((subtopic == NULL && s == NULL) || in command_help()
1136 (subtopic != NULL && s != NULL && in command_help()
1137 strcmp(subtopic, s) == 0)) { in command_help()
1146 } else if (subtopic == NULL && s != NULL) { in command_help()
1166 free(subtopic); in command_help()
1170 free(subtopic); in command_help()