Lines Matching refs:topic
65 help_getnext(int fd, char **topic, char **subtopic, char **desc) in help_getnext() argument
70 *topic = *subtopic = *desc = NULL; in help_getnext()
78 *topic = *subtopic = *desc = NULL; in help_getnext()
82 if (*cp == 'T' && *topic == NULL) { in help_getnext()
85 *topic = strdup(cp + 1); in help_getnext()
96 if (*topic == NULL) { in help_getnext()
107 help_emitsummary(char *topic, char *subtopic, char *desc) in help_emitsummary() argument
112 pager_output(topic); in help_emitsummary()
113 i = strlen(topic); in help_emitsummary()
134 char *topic, *subtopic, *t, *s, *d; in command_help() local
145 topic = subtopic = NULL; in command_help()
151 topic = strdup(argv[1]); in command_help()
154 topic = strdup("help"); in command_help()
163 doindex = strcmp(topic, "index") == 0? 1 : 0; in command_help()
174 } else if (strcmp(topic, t)) { in command_help()
212 "no help available for '%s'", topic); in command_help()
213 free(topic); in command_help()
217 free(topic); in command_help()