projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
c191e859b0ccb2ab688a9bea9fe97d33bf7c65b4
[unix-history]
/
usr
/
src
/
local
/
sccscmds
/
sccscmds.ok
/
util
/
any.c
static char
Sccsid
[]
"@(#)any 2.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
);
}