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

⟦139bf06eb⟧ TextFile

    Length: 300 (0x12c)
    Types: TextFile
    Names: »debugger.c«

Derivation

└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
    └─⟦this⟧ »EUUGD18/General/Kriegspiel/debugger.c« 

TextFile

#include "externs.h"

FILE *outgoing;
initdebugger()
{
	if ((outgoing = fopen (colorname [ourcolor], "w")) == NULL) {
		perror(colorname[ourcolor]);
		error ("fopen in debugger");
	}
}
log(color, s)
	int color;
	char *s;
{
	fprintf (outgoing, "%s:%s.\n", colorname[color], s);
	fflush (outgoing);
}