/********************************************************************** * Copyright (c) Digital Equipment Corporation 1984, 1985, 1986. * * All Rights Reserved. * * Reference "/usr/src/COPYRIGHT" for applicable restrictions. * **********************************************************************/ static char Sccsid[]="@(#)any.c 3.0 4/22/86"; /* 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); }