summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2010-04-05 20:32:08 +0200
committerAlexis211 <alexis211@gmail.com>2010-04-05 20:32:08 +0200
commitca4f5906f284e60a7a59ca7450e3e09c4f9356e5 (patch)
treea44542c66cd9533c921f399fc1bee62703d15538 /src/include
parent8d94ae49601e0e4023bcdc35191669b2c24f6c96 (diff)
downloadTCE-ca4f5906f284e60a7a59ca7450e3e09c4f9356e5.tar.gz
TCE-ca4f5906f284e60a7a59ca7450e3e09c4f9356e5.zip
Some stuff added to userland.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/stdlib.h7
-rw-r--r--src/include/string.h11
2 files changed, 18 insertions, 0 deletions
diff --git a/src/include/stdlib.h b/src/include/stdlib.h
new file mode 100644
index 0000000..b232649
--- /dev/null
+++ b/src/include/stdlib.h
@@ -0,0 +1,7 @@
+#ifndef _DEF_STDLIB_H
+#define _DEF_STDLIB_H
+
+//includes malloc/free
+#include <gc/mem.h>
+
+#endif
diff --git a/src/include/string.h b/src/include/string.h
new file mode 100644
index 0000000..15ec3f3
--- /dev/null
+++ b/src/include/string.h
@@ -0,0 +1,11 @@
+#ifndef _DEF_STRING_H
+#define _DEF_STRING_H
+
+#include <gc/syscall.h>
+
+void *memcpy(void *dest, const void *src, int count);
+uint8_t *memset(uint8_t *dest, uint8_t val, int count);
+uint16_t *memsetw(uint16_t *dest, uint16_t val, int count);
+int strlen(const char *str);
+
+#endif