SysIII/usr/src/lib/libPW/any.c

Compare this file to the similar file:
Show the results in this format:

static char Sccsid[]="@(#)any	3.1";
/*
	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);
}