|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 475 (0x1db)
Types: TextFile
Names: »create.c«
└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
└─⟦this⟧ »EUUGD11/euug-87hel/sec8/cfs/create.c«
/*
* create - creates a statfile for cfs
*/
#include "cfs.h"
create (statfile, verbose)
char *statfile;
int verbose;
{
extern char *myname;
FILE *sfp;
int errflg = 0;
char name[MAXPATHLEN];
FILE *openwrite ();
sfp = openwrite (statfile);
/*
* add each name in stdin
*/
while (scanf ("%s", name) != EOF)
if (!addname (sfp, name))
if (verbose)
printf ("a %s\n", name);
else
errflg++;
return (errflg);
}