projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
fold strn{casecmp,cat,cmp,cpy}.3 into str{casecmp,cat,cmp,cpy}.3
[unix-history]
/
usr
/
src
/
lib
/
libc
/
string
/
strchr.c
/*
* Copyright (c) 1988 Regents of the University of California.
* All rights reserved.
*
* %sccs.include.redist.c%
*/
#if defined(LIBC_SCCS) && !defined(lint)
static char
sccsid
[] =
"@(#)strchr.c 5.6 (Berkeley) %G%"
;
#endif
/* LIBC_SCCS and not lint */
#include <string.h>
char
*
strchr
(
p
,
ch
)
char
*
p
,
ch
;
{
return
(
index
(
p
,
ch
));
}