Return to man_html.c CVS log | Up to [local] / src / usr.bin / mandoc |
version 1.75, 2017/01/17 01:47:46 | version 1.76, 2017/01/17 15:32:39 | ||
---|---|---|---|
|
|
||
static void | static void | ||
print_man_head(MAN_ARGS) | print_man_head(MAN_ARGS) | ||
{ | { | ||
char *cp; | |||
print_gen_head(h); | print_gen_head(h); | ||
assert(man->title); | mandoc_asprintf(&cp, "%s(%s)", man->title, man->msec); | ||
assert(man->msec); | |||
bufinit(h); | |||
bufcat_fmt(h, "%s(%s)", man->title, man->msec); | |||
print_otag(h, TAG_TITLE, ""); | print_otag(h, TAG_TITLE, ""); | ||
print_text(h, h->buf); | print_text(h, cp); | ||
free(cp); | |||
} | } | ||
static void | static void |