STRCHR(3) BSD Library Functions Manual STRCHR(3)NAME
strchr, strrchr -- locate character in string
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <string.h>
char *
strchr(const char *s, int c);
char *
strrchr(const char *s, int c);
DESCRIPTION
The strchr() function locates the first occurrence of c (converted to a char) in the string pointed to by s. The terminating null character
is considered to be part of the string; therefore if c is '