1 static char Sccsid[] = "@(#)any.c 1.2 02/15/87"; 2 /* 3 If any character of `s' is `c', return 1 4 else return 0. 5 */ 6 7 any(c,s) 8 register char c, *s; 9 { 10 while (*s) 11 if (*s++ == c) 12 return(1); 13 return(0); 14 } 15