Mistake on this page?
Report an issue in GitHub or email us
Macros

Macros

#define MEMCPY(dst, src, len)    memcpy(dst,src,len)
 MEMCPY: override this if you have a faster implementation at hand than the one included in your C library. More...
 
#define SMEMCPY(dst, src, len)    memcpy(dst,src,len)
 SMEMCPY: override this with care! Some compilers (e.g. More...
 
#define MEMMOVE(dst, src, len)    memmove(dst,src,len)
 MEMMOVE: override this if you have a faster implementation at hand than the one included in your C library. More...
 

Detailed Description

Macro Definition Documentation

#define MEMCPY (   dst,
  src,
  len 
)    memcpy(dst,src,len)

MEMCPY: override this if you have a faster implementation at hand than the one included in your C library.

Definition at line 137 of file opt.h.

#define MEMMOVE (   dst,
  src,
  len 
)    memmove(dst,src,len)

MEMMOVE: override this if you have a faster implementation at hand than the one included in your C library.

lwIP currently uses MEMMOVE only when IPv6 fragmentation support is enabled.

Definition at line 154 of file opt.h.

#define SMEMCPY (   dst,
  src,
  len 
)    memcpy(dst,src,len)

SMEMCPY: override this with care! Some compilers (e.g.

gcc) can inline a call to memcpy() if the length is known at compile time and is small.

Definition at line 145 of file opt.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.