|
|
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: 243 (0xf3)
Types: TextFile
Names: »namecmp.c«
└─⟦87ddcff64⟧ Bits:30001253 CPHDIST85 Tape, 1985 Autumn Conference Copenhagen
└─⟦this⟧ »cph85dist/wirewrap/namecmp.c«
/*
** namecmp - compare two names. Works like strcmp()
*/
#include "wirewrap.h"
namecmp(a,b)
char a[NAMELENGTH],b[NAMELENGTH];
{
int i;
for(i=0;i<NAMELENGTH;i++)
{
if(a[i]<b[i])return(-1);
else if (a[i]>b[i])return(1);
}
return(0);
}