From 5cac9acd3aedc8043d4272d93c56805c46ff6214 Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Tue, 1 May 2012 12:20:45 +0200 Subject: Some cleanup ; relocated the kernel at 0xC0000000 --- src/common/include/string.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/common/include/string.h (limited to 'src/common/include/string.h') diff --git a/src/common/include/string.h b/src/common/include/string.h new file mode 100644 index 0000000..a41459e --- /dev/null +++ b/src/common/include/string.h @@ -0,0 +1,14 @@ +#ifndef _DEF_STRING_H +#define _DEF_STRING_H + +// #include +#include + +int strlen(const char *str); +char *strcpy(char *dest, const char *src); +// char *strdup(const char *src); // uses malloc, that's bad +char *strchr(const char *str, char c); +char *strcat(char *dest, const char *src); +int strcmp(const char *s1, const char *s2); + +#endif -- cgit v1.2.3