1.TH strstr 3 scc\-VERSION2.SH NAME3strstr - locate a substring within a string4.SH SYNOPSIS5#include <string.h>67char *strstr(const char *s1, const char *s2)8.SH DESCRIPTION9The10.BR strstr ()11function searches the string pointed to by12.I s113for the first occurrence of the character sequence14(not including its terminating null byte)15given by the string pointed to by16.IR s2 .17.SH RETURN VALUE18A pointer to the first match in19.I s120is returned,21or a null pointer if the substring is not found.22.PP23If24.I s225points to an empty string,26.I s127is returned.28.SH STANDARDS29ISO/IEC 9899:1999 Section 7.21.5.7