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

⟦50883cdbc⟧ TextFile

    Length: 313 (0x139)
    Types: TextFile
    Names: »cavn.c«

Derivation

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

TextFile

/*
 *  cavn - compare argv versus name
 */

cavn (argc, argv, foundlist, name)
int     argc;
char  **argv;
int    *foundlist;
char   *name;
{
    int     retval = 0;

    while (argc-- > 0) {
	if (!strcmp (*argv, name)) {
	    (*foundlist)++;
	    retval++;
	}
	argv++;
	foundlist++;
    }
    return (retval);
}