scc

A fork of https://git.simple-cc.org/scc/ for Qute

git clone https://git.8pit.net/scc.git

 1.TH strstr 3 scc\-VERSION
 2.SH NAME
 3strstr - locate a substring within a string
 4.SH SYNOPSIS
 5#include <string.h>
 6
 7char *strstr(const char *s1, const char *s2)
 8.SH DESCRIPTION
 9The
10.BR strstr ()
11function searches the string pointed to by
12.I s1
13for the first occurrence of the character sequence
14(not including its terminating null byte)
15given by the string pointed to by
16.IR s2 .
17.SH RETURN VALUE
18A pointer to the first match in
19.I s1
20is returned,
21or a null pointer if the substring is not found.
22.PP
23If
24.I s2
25points to an empty string,
26.I s1
27is returned.
28.SH STANDARDS
29ISO/IEC 9899:1999 Section 7.21.5.7