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

⟦65d8fa980⟧ TextFile

    Length: 269 (0x10d)
    Types: TextFile
    Names: »writestat.c«

Derivation

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

TextFile

/*
 * writestat - write name and stats to statfile for cfs
 */

#include "cfs.h"

writestat (fp, name, sbuf)
FILE   *fp;
char   *name;
struct stat *sbuf;
{
    struct stat dummy;

    fwrite (name, strlen (name) + 1, 1, fp);
    fwrite (sbuf, sizeof (dummy), 1, fp);
}