{
registerintca, ck;
registerint nmatched = 0;
while ((ca = *arg++) != '\0') {
if ((ck = *keyword++) == '\0')
returnFALSE; /* arg longer than keyword, no good */if (isupper(ca)) /* force arg to lcase (assume ck is already) */
ca = tolower(ca);
if (ca != ck)
returnFALSE; /* no good */
nmatched++; /* count matched characters */
}
/* reached end of argument; fail if it's too short for unique abbrev */if (nmatched < minchars)
returnFALSE;
returnTRUE; /* A-OK */
}
Generated on Sat May 26 2012 04:47:55 for ReactOS by
1.7.6.1
ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.