STRCHR(3) NEWLIB STRCHR(3)NAME
6.19 `strchr'--search for character in string
SYNOPSIS
#include <string.h>
char * strchr(const char *STRING, int C);
DESCRIPTION
This function finds the first occurence of C (converted to a char) in
the string pointed to by STRING (including the terminating null charac‐
ter).
RETURNS
Returns a pointer to the located character, or a null pointer if C does
not occur in STRING.
PORTABILITY
`strchr' is ANSI C.
`strchr' requires no supporting OS subroutines.
SEE ALSOstrchr is part of the library. The full documentation for is main‐
tained as a Texinfo manual. If info and are properly installed at your
site, the command
info
will give you access to the complete manual.
NEWLIB April 2010 STRCHR(3)