---
name: "strstr"
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/strstr/9"
---

# strstr(9)

Find the first substring in a NUL terminated string

## NAME

strstr - Find the first substring in a **NUL** terminated string

## SYNOPSIS

**char \* strstr(const char \*** *s1***, const char \*** *s2***);**

## ARGUMENTS

*s1*

The string to be searched

*s2*

The string to search for

## COPYRIGHT
