1 static char Sccsid[] = "@(#)verify.c 1.2 02/15/87"; 2 /* 3 If `astr1' contains any characters not in `str2' return the 4 offset of the first such character found in `astr1', 5 else return -1. 6 */ 7 8 verify(astr1,str2) 9 char *astr1; 10 register char *str2; 11 { 12 register char *str1; 13 14 for (str1=astr1; *str1; str1++) 15 if (!any(*str1,str2)) 16 return(str1 - astr1 - 1); 17 return(-1); 18 } 19