cat_and_count
static int cat_and_count(struct dm_buf *, char *);
(void) cat_and_count(&hdrbuf, HDR_PREFIX);
(void) cat_and_count(&hdrbuf, "\n");
if (cat_and_count(&hdrbuf, tmp_entry)) {
if (cat_and_count(&hdrbuf, tmp_entry)) {
if (cat_and_count(&hdrbuf, "\n")) {
if (cat_and_count(&hdrbuf, HDR_SUFFIX) ||
cat_and_count(&hdrbuf, "\n")) {