main kernel startup, libc, console tty, asmops, build flags fixes
[bootcensus] / src / libc / string.h
diff --git a/src/libc/string.h b/src/libc/string.h
new file mode 100644 (file)
index 0000000..9710520
--- /dev/null
@@ -0,0 +1,21 @@
+#ifndef STRING_H_
+#define STRING_H_
+
+#include <stdlib.h>
+
+void memset(void *s, int c, size_t n);
+void memset16(void *s, int c, size_t n);
+
+void *memcpy(void *dest, const void *src, size_t n);
+void *memmove(void *dest, const void *src, size_t n);
+
+size_t strlen(const char *s);
+
+char *strchr(const char *s, int c);
+char *strrchr(const char *s, int c);
+
+char *strstr(const char *str, const char *substr);
+
+int strcmp(const char *s1, const char *s2);
+
+#endif /* STRING_H_ */