Orion
Barry Importing existing Orion kernel d41a53c (2 years, 4 months ago)diff --git a/mem/mem.h b/mem/mem.h new file mode 100644 index 0000000..fa6dfc4 --- /dev/null +++ b/mem/mem.h @@ -0,0 +1,17 @@ +#ifndef KERNEL_MEM_H +#define KERNEL_MEM_H + +#include <stdint.h> +#include <stddef.h> + +void *memset(void *s, int c, size_t n); +void *memcpy(void *dest, void *src, size_t n); +int memcmp(void *s1, void *s2, size_t n); +size_t strlen(char *s); +size_t strnlen(char *s, size_t maxlen); +int strcmp(const char *s1, const char *s2); +int strncmp(const char *s1, const char *s2, size_t n); +char *strcpy(char *dest, const char *src); +char *strncpy(char *dest, const char *src, size_t n); + +#endif