|
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: 452 (0x1c4) Types: TextFile Names: »misc.c«
└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987 └─⟦this⟧ »EUUGD18/General/Battlestar/misc.c«
#ifndef lint static char sccsid[] = "@(#)misc.c 1.1 11/18/84"; #endif #include "externs.h" card(array, size) /* for beenthere, injuries */ register char *array; int size; { register char *end = array + size; register int i = 0; while (array < end) if (*array++) i++; return (i); } ucard(array) register unsigned *array; { register int j = 0, n; for (n = 0; n < NUMOFOBJECTS; n++) if (testbit(array, n)) j++; return (j); }