summaryrefslogtreecommitdiff
path: root/src/stem/lib/stdlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stem/lib/stdlib.h')
-rw-r--r--src/stem/lib/stdlib.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/stem/lib/stdlib.h b/src/stem/lib/stdlib.h
new file mode 100644
index 0000000..a6d8f48
--- /dev/null
+++ b/src/stem/lib/stdlib.h
@@ -0,0 +1,12 @@
+#ifndef DEF_STDLIB_H
+#define DEF_STDLIB_H
+
+#include "../types.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
+