mescc: Tinycc support: memmove stub.

* mlibc/include/string.h (memmove): Declare.
* mlibc/libc-mes+tcc.c (memmove): Add stub.
This commit is contained in:
Jan Nieuwenhuizen 2017-07-24 12:56:56 +02:00
parent 7b8253cd47
commit 8f7b47ef36
2 changed files with 7 additions and 0 deletions

View file

@ -40,6 +40,7 @@ typedef long ssize_t;
#endif
void *memcpy (void *dest, void const *src, size_t n);
void *memmove (void *dest, void const *src, size_t n);
size_t strlen (char const*);
int strcmp (char const*, char const*);

View file

@ -35,3 +35,9 @@ memcpy (void *dest, void const *src, size_t n)
{
return 0;
}
void *
memmove (void *dest, void const *src, size_t n)
{
return 0;
}