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