|
|
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: 275 (0x113)
Types: TextFile
Names: »strindex.c«
└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
└─⟦3658e588a⟧ »EurOpenD3/mail/mh/mh-6.7.tar.Z«
└─⟦c75e36ecb⟧
└─⟦this⟧ »mh-6.7/sbr/strindex.c«
/* strindex.c - "unsigned" lexical index */
int stringdex (p1, p2)
register char *p1,
*p2;
{
register char *p;
if (p1 == 0 || p2 == 0) return(-1); /* XXX */
for (p = p2; *p; p++)
if (uprf (p, p1))
return (p - p2);
return (-1);
}