Add g_memmove() to os_calls

This commit is contained in:
matt335672 2022-06-17 11:44:24 +01:00
parent 888c2a0434
commit 9875f0c0d8
2 changed files with 8 additions and 0 deletions

View File

@ -343,6 +343,13 @@ g_memcpy(void *d_ptr, const void *s_ptr, int size)
memcpy(d_ptr, s_ptr, size);
}
/*****************************************************************************/
void
g_memmove(void *d_ptr, const void *s_ptr, int size)
{
memmove(d_ptr, s_ptr, size);
}
/*****************************************************************************/
int
g_getchar(void)

View File

@ -62,6 +62,7 @@ void g_write(const char *format, ...) printflike(1, 2);
void g_hexdump(const char *p, int len);
void g_memset(void *ptr, int val, int size);
void g_memcpy(void *d_ptr, const void *s_ptr, int size);
void g_memmove(void *d_ptr, const void *s_ptr, int size);
int g_getchar(void);
int g_tcp_set_no_delay(int sck);
int g_tcp_set_keepalive(int sck);