3 * seq_bits.c -- return the snprintb() string for a sequence
7 * This code is Copyright (c) 2002, by the authors of nmh. See the
8 * COPYRIGHT file in the root directory of the nmh distribution for
9 * complete copyright information.
16 seq_bits (struct msgs *mp)
20 static char buffer[BUFSIZ];
22 strncpy (buffer, MBITS, sizeof(buffer));
24 for (i = 0; mp->msgattrs[i]; i++) {
25 len = strlen (buffer);
26 snprintf (buffer + len, sizeof(buffer) - len,
27 "%c%s", FFATTRSLOT + 1 + i, mp->msgattrs[i]);