|
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: 273 (0x111) Types: TextFile Names: »bcmp.c«
└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit └─⟦2fafebccf⟧ »EurOpenD3/mail/smail3.1.19.tar.Z« └─⟦bcd2bc73f⟧ └─⟦this⟧ »pd/strlib/bcmp.c«
/* @(#)bcmp.c 1.1 5/15/88 03:03:35 */ /* * bcmp(b1, b2, n) - compare block b1 to b2 for n bytes, return 0 if same */ bcmp(b1, b2, n) char *b1; char *b2; unsigned n; { while (n > 0) { if (*b1++ != *b2++) { return 1; } --n; } return 0; }