Site Search
Library
linux docs
linux man pages
Toys
world sunlight
moon phase
str_chr(3) - Linux man page
Name
str_chr - find character in ASCIIZ string
Syntax
#include <str.h>
size_t
str_chr
(const char*
haystack
,char
needle
);
Description
str_chr returns the index of the first occurrance of
needle
or \0 in
string
.
See Also
strchr
(3)