string: add memcpy_user

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-21 06:13:56 -04:00
commit e1113ec277
2 changed files with 16 additions and 0 deletions

View file

@ -9,6 +9,7 @@
#include <stdbool.h>
void *memcpy(void *dest, const void *src, size_t num);
void *memcpy_user(struct proc *proc, void *dest, const void *src, size_t num);
int memcmp(const void *aa, const void *bb, size_t num);
int strcmp(const char *a, const char *b);
int strncmp(const char *a, const char *b, size_t n);