Return to man.c CVS log | Up to [cvsweb.bsd.lv] / mandoc |
version 1.43, 2009/10/26 07:11:06 | version 1.44, 2009/10/27 08:26:12 | ||
---|---|---|---|
|
|
||
man_alloc1(struct man *m) | man_alloc1(struct man *m) | ||
{ | { | ||
bzero(&m->meta, sizeof(struct man_meta)); | memset(&m->meta, 0, sizeof(struct man_meta)); | ||
m->flags = 0; | m->flags = 0; | ||
m->last = calloc(1, sizeof(struct man_node)); | m->last = calloc(1, sizeof(struct man_node)); | ||
if (NULL == m->last) | if (NULL == m->last) |