Files
seta75D ff309bfe1c Init
2021-10-11 18:37:13 -03:00

18 lines
254 B
C

#ifndef lint
static char sccsid[] = "@(#)any.c 1.1 94/10/31 SMI"; /* from System III 3.1 */
#endif
/*
If any character of `s' is `c', return 1
else return 0.
*/
any(c,s)
register char c, *s;
{
while (*s)
if (*s++ == c)
return(1);
return(0);
}