DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦0e62a31d1⟧ TextFile

    Length: 438 (0x1b6)
    Types: TextFile
    Names: »m_seqbits.c«

Derivation

└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
    └─⟦3658e588a⟧ »EurOpenD3/mail/mh/mh-6.7.tar.Z« 
        └─⟦c75e36ecb⟧ 
            └─⟦this⟧ »mh-6.7/sbr/m_seqbits.c« 

TextFile

/* m_seqbits.c - return the sprintb() string for a sequence */

#include "../h/mh.h"
#include <stdio.h>


char   *m_seqbits (mp)
register struct msgs *mp;
{
    int     bits;
    register int    i;
    static char buffer[BUFSIZ];

    bits = FFATTRSLOT;
    (void) strcpy (buffer, MBITS);
    for (i = 0; mp -> msgattrs[i]; i++)
	(void) sprintf (buffer + strlen (buffer), "%c%s",
		bits + i + 1, mp -> msgattrs[i]);

    return buffer;
}