2 * seq_bits.c -- return the snprintb() string for a sequence
4 * This code is Copyright (c) 2002, by the authors of nmh. See the
5 * COPYRIGHT file in the root directory of the nmh distribution for
6 * complete copyright information.
13 seq_bits (struct msgs *mp)
17 static char buffer[BUFSIZ];
19 strncpy (buffer, MBITS, sizeof(buffer));
21 for (i = 0; mp->msgattrs[i]; i++) {
22 len = strlen (buffer);
23 snprintf (buffer + len, sizeof(buffer) - len,
24 "%c%s", FFATTRSLOT + 1 + i, mp->msgattrs[i]);