From 05e1fedcc9cd30d1a34a65e640da45e980b4f859 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 19 Sep 2019 19:56:59 +0200 Subject: Moved source to kernel directory --- src/kernel/lib/lib.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/kernel/lib/lib.h (limited to 'src/kernel/lib/lib.h') diff --git a/src/kernel/lib/lib.h b/src/kernel/lib/lib.h new file mode 100644 index 0000000..f0d7d1b --- /dev/null +++ b/src/kernel/lib/lib.h @@ -0,0 +1,18 @@ +#ifndef MELVIX_LIB_H +#define MELVIX_LIB_H + +#include + +size_t strlen(const char *str); + +size_t strcmp(const char *s1, const char *s2); + +char *strcat(char *dst, const char *src); + +void *memory_copy(void *dest, const void *src, size_t count); + +void *memory_set(void *dest, char val, size_t count); + +int memory_compare(const void *a_ptr, const void *b_ptr, size_t size); + +#endif -- cgit v1.2.3