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 - download

⟦f8c2809e8⟧ TextFile

    Length: 356 (0x164)
    Types: TextFile
    Names: »addname.c«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦this⟧ »EUUGD11/euug-87hel/sec8/cfs/addname.c« 

TextFile

/*
 * addname - add name to statfile on fp for cfs
 */

#include "cfs.h"

addname (fp, name)
FILE   *fp;
char   *name;
{
    extern char *myname;
    int     errflg = 0;
    struct stat sbuf;

    if (stat (name, &sbuf)) {
	fprintf (stderr, "%s: ", myname);
	perror (name);
	errflg = 1;
    }
    else
	writestat (fp, name, &sbuf);

    return (errflg);
}