Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of OmniWheels by
Non-standard functions
[Porting (system abstraction layer)]
lwIP provides default implementations for non-standard functions. More...
Functions | |
char * | lwip_strnstr (const char *buffer, const char *token, size_t n) |
lwIP default implementation for strnstr() non-standard function. | |
int | lwip_stricmp (const char *str1, const char *str2) |
lwIP default implementation for stricmp() non-standard function. | |
int | lwip_strnicmp (const char *str1, const char *str2, size_t len) |
lwIP default implementation for strnicmp() non-standard function. | |
void | lwip_itoa (char *result, size_t bufsize, int number) |
lwIP default implementation for itoa() non-standard function. |
Detailed Description
lwIP provides default implementations for non-standard functions.
These can be mapped to OS functions to reduce code footprint if desired. All defines related to this section must not be placed in lwipopts.h, but in arch/cc.h! These options cannot be #defined in lwipopts.h since they are not options of lwIP itself, but options of the lwIP port to your system.
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.
Definition at line 198 of file lwip_def.c.
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.
Definition at line 128 of file lwip_def.c.
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.
Definition at line 163 of file lwip_def.c.
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.
Definition at line 105 of file lwip_def.c.
Generated on Fri Jul 22 2022 04:54:09 by
