strchr (9) - Linux Manuals
strchr: Find the first occurrence of a character in a string
Command to display strchr
manual in Linux: $ man 9 strchr
NAME
strchr - Find the first occurrence of a character in a string
SYNOPSIS
-
char * strchr(const char * s, int c);
ARGUMENTS
s
-
- The string to be searched
c
-
The character to search for
COPYRIGHT