aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/lib/lib.h
diff options
context:
space:
mode:
authorMarvin Borner2019-10-30 16:02:10 +0100
committerMarvin Borner2019-10-30 16:02:10 +0100
commit118898807865ba11f5d7754f6f0572a0403f8512 (patch)
tree0b69c881089d659ebb214c409b699cc06323ab3d /src/kernel/lib/lib.h
parentfd4f0a11126a20e75d72f8f2e6d418598fd5f37d (diff)
Started implementation of initrd based vfs
Diffstat (limited to 'src/kernel/lib/lib.h')
-rw-r--r--src/kernel/lib/lib.h6
1 files changed, 3 insertions, 3 deletions
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