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
Pages related to strchr
- strchr (3) - locate character in string
- strchr (3p) - string scanning operation
- strchrnul (9) - Find and return a character in a string, or end of string
- strcat (9) - Append one NUL-terminated string to another
- strcmp (9) - Compare two strings
- strcpy (9) - Copy a NUL terminated string
- strcspn (9) - Calculate the length of the initial substring of s which does not contain letters in reject
- strim (9) - Removes leading and trailing whitespace from s.