diff options
author | Marvin Borner | 2019-09-19 18:58:02 +0200 |
---|---|---|
committer | Marvin Borner | 2019-09-19 18:58:02 +0200 |
commit | 2a3620453de91e08b668ef21049058239c82d0a4 (patch) | |
tree | 8f64cce5d28c7f205dd1db8a9faa915db88a2280 /src/lib/lib.h | |
parent | 68838789574c9a39b7382c67e8cc984a8c928fe6 (diff) | |
parent | c33bc6864a3291dc72b2da071e52e481573f5459 (diff) |
Fixed commands and added some more
Diffstat (limited to 'src/lib/lib.h')
-rw-r--r-- | src/lib/lib.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/lib/lib.h b/src/lib/lib.h new file mode 100644 index 0000000..f0d7d1b --- /dev/null +++ b/src/lib/lib.h @@ -0,0 +1,18 @@ +#ifndef MELVIX_LIB_H +#define MELVIX_LIB_H + +#include <stddef.h> + +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 |