Lines Matching refs:topic
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()
1036 if (*cp == 'T' && *topic == NULL) { in help_getnext()
1039 *topic = strdup(cp + 1); in help_getnext()
1050 if (*topic == NULL) { in help_getnext()
1060 help_emitsummary(char *topic, char *subtopic, char *desc) in help_emitsummary() argument
1065 (void) pager_output(topic); in help_emitsummary()
1066 i = strlen(topic); in help_emitsummary()
1088 char *topic, *subtopic, *t, *s, *d; in command_help() local
1099 topic = subtopic = NULL; in command_help()
1105 topic = strdup(argv[1]); in command_help()
1108 topic = strdup("help"); in command_help()
1117 doindex = strcmp(topic, "index") == 0; in command_help()
1127 } else if (strcmp(topic, t)) { in command_help()
1164 "no help available for '%s'", topic); in command_help()
1165 free(topic); in command_help()
1169 free(topic); in command_help()