From 118898807865ba11f5d7754f6f0572a0403f8512 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 30 Oct 2019 16:02:10 +0100 Subject: Started implementation of initrd based vfs --- src/kernel/lib/lib.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/kernel/lib/lib.h') diff --git a/src/kernel/lib/lib.h b/src/kernel/lib/lib.h index de09e0f..420dd5b 100644 --- a/src/kernel/lib/lib.h +++ b/src/kernel/lib/lib.h @@ -39,7 +39,7 @@ void strcpy(char *dest, const char *src); * @param count The number of bytes to be copied (src) * @return The modified dest pointer */ -void *memory_copy(void *dest, const void *src, size_t count); +void *memcpy(void *dest, const void *src, size_t count); /** * Replace n bytes of dest by val @@ -48,7 +48,7 @@ void *memory_copy(void *dest, const void *src, size_t count); * @param count The number of times val should replace dest entry * @return The modified dest pointer */ -void *memory_set(void *dest, char val, size_t count); +void *memset(void *dest, char val, size_t count); /** * Compare the first n bytes of a and b @@ -57,6 +57,6 @@ void *memory_set(void *dest, char val, size_t count); * @param size The number of bytes to be compared * @return -1 if a < b, 0 if a = b and 1 if a > b */ -int memory_compare(const void *a_ptr, const void *b_ptr, size_t size); +int memcmp(const void *a_ptr, const void *b_ptr, size_t size); #endif -- cgit v1.2.3