lwIP 2.0.0  lwIP 2.0.0
LightweightIPstack
Non-standard functions

Functions

char * lwip_strnstr (const char *buffer, const char *token, size_t n)
 
int lwip_stricmp (const char *str1, const char *str2)
 
int lwip_strnicmp (const char *str1, const char *str2, size_t len)
 
void lwip_itoa (char *result, size_t bufsize, int number)
 

Detailed Description

lwIP provides default implementations for non-standard functions. These can be mapped to OS functions to reduce code footprint if desired.

Function Documentation

void lwip_itoa ( char *  result,
size_t  bufsize,
int  number 
)

lwIP default implementation for itoa() non-standard function. This can be #defined to itoa() or snprintf(result, bufsize, "%d", number) depending on your platform port.

int lwip_stricmp ( const char *  str1,
const char *  str2 
)

lwIP default implementation for stricmp() non-standard function. This can be #defined to stricmp() depending on your platform port.

int lwip_strnicmp ( const char *  str1,
const char *  str2,
size_t  len 
)

lwIP default implementation for strnicmp() non-standard function. This can be #defined to strnicmp() depending on your platform port.

char* lwip_strnstr ( const char *  buffer,
const char *  token,
size_t  n 
)

lwIP default implementation for strnstr() non-standard function. This can be #defined to strnstr() depending on your platform port.