gsasl  1.10.0
About: GNU SASL is an implementation of the Simple Authentication and Security Layer (SASL). Development version.
  Fossies Dox: gsasl-1.10.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

memmem.c File Reference
#include <config.h>
#include <string.h>
#include "str-two-way.h"
Include dependency graph for memmem.c:

Go to the source code of this file.

Macros

#define RETURN_TYPE   void *
 
#define AVAILABLE(h, h_l, j, n_l)   ((j) <= (h_l) - (n_l))
 

Functions

void * memmem (const void *haystack_start, size_t haystack_len, const void *needle_start, size_t needle_len)
 

Macro Definition Documentation

◆ AVAILABLE

#define AVAILABLE (   h,
  h_l,
  j,
  n_l 
)    ((j) <= (h_l) - (n_l))

Definition at line 28 of file memmem.c.

◆ RETURN_TYPE

#define RETURN_TYPE   void *

Definition at line 27 of file memmem.c.

Function Documentation

◆ memmem()

void* memmem ( const void *  haystack_start,
size_t  haystack_len,
const void *  needle_start,
size_t  needle_len 
)