strnstr.cc File Reference
#include "squid.h"
#include <cstring>
Include dependency graph for strnstr.cc:

Go to the source code of this file.

Macros

#define SQUID_COMPAT_STRNSTR_CC_
 

Functions

const char * squid_strnstr (const char *s, const char *find, size_t slen)
 

Macro Definition Documentation

◆ SQUID_COMPAT_STRNSTR_CC_

#define SQUID_COMPAT_STRNSTR_CC_

Definition at line 10 of file strnstr.cc.

Function Documentation

◆ squid_strnstr()

const char* squid_strnstr ( const char *  s,
const char *  find,
size_t  slen 
)

Find the first occurrence of find in s, where the search is limited to the first slen characters of s.

Definition at line 77 of file strnstr.cc.

References len, NULL, and sc.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors