1: /* m_seqbits.c - return the sprintb() string for a sequence */
   2: 
   3: #include "../h/mh.h"
   4: #include <stdio.h>
   5: 
   6: 
   7: char   *m_seqbits (mp)
   8: register struct msgs *mp;
   9: {
  10:     int     bits;
  11:     register int    i;
  12:     static char buffer[BUFSIZ];
  13: 
  14:     bits = FFATTRSLOT;
  15:     (void) strcpy (buffer, MBITS);
  16:     for (i = 0; mp -> msgattrs[i]; i++)
  17:     (void) sprintf (buffer + strlen (buffer), "%c%s",
  18:         bits + i + 1, mp -> msgattrs[i]);
  19: 
  20:     return buffer;
  21: }

Defined functions

m_seqbits defined in line 7; never used
Last modified: 1985-09-23
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 527
Valid CSS Valid XHTML 1.0 Strict