string: add memcpy_user
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
0bd9472786
commit
e1113ec277
2 changed files with 16 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue