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

⟦409d7e17f⟧ TextFile

    Length: 213 (0xd5)
    Types: TextFile
    Names: »copyrest.c«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦this⟧ »EUUGD11/euug-87hel/sec1/news/misc/search/lib/copyrest.c« 

TextFile

/* Copy the rest of a file. */

#include "defs.h"

copyrest(ifp, ofp)
	FILE *ifp;
	FILE *ofp;
{
	int n;
	char buf[10*BUFSIZ];
	
	while ((n= fread(buf, 1, sizeof(buf), ifp)) > 0)
		(void) fwrite(buf, 1, n, ofp);
}