提交 723303f6 创建 作者: Jacob Strauss's avatar Jacob Strauss

lwip wants memcmp()

上级 a5581720
...@@ -205,7 +205,7 @@ int kmemcpy(void*, void*, u64); ...@@ -205,7 +205,7 @@ int kmemcpy(void*, void*, u64);
void syscall(void); void syscall(void);
// string.c // string.c
int memcmp(const void*, const void*, u32); extern "C" int memcmp(const void*, const void*, u32);
void* memmove(void*, const void*, u32); void* memmove(void*, const void*, u32);
extern "C" void* memset(void*, int, u32); extern "C" void* memset(void*, int, u32);
extern "C" void* memcpy(void*, const void *, u32); extern "C" void* memcpy(void*, const void *, u32);
......
...@@ -2,3 +2,4 @@ void* memset(void*, int, unsigned int); ...@@ -2,3 +2,4 @@ void* memset(void*, int, unsigned int);
void* memcpy(void *dst, const void *src, unsigned int n); void* memcpy(void *dst, const void *src, unsigned int n);
void* memset(void*, int, unsigned int); void* memset(void*, int, unsigned int);
unsigned int strlen(const char* str); unsigned int strlen(const char* str);
int memcmp(const void*, const void*, unsigned int);
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论