---
name: "strchr"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/strchr/9"
---

# strchr(9)

Find the first occurrence of a character in a string

## 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
