aboutsummaryrefslogtreecommitdiff
path: root/strings.h
diff options
context:
space:
mode:
authorWojtek Kosior <kwojtus@protonmail.com>2019-12-31 11:05:33 +0100
committerWojtek Kosior <kwojtus@protonmail.com>2019-12-31 11:05:33 +0100
commit8025e6b92a09fcf584c13fea3f04f2a0be9cbe64 (patch)
tree30437b2b7d19a2b31f52415bc982287335b081b4 /strings.h
parent254e035cc27d5787348849b65619a702ae0d42e3 (diff)
downloadrpi-MMU-example-8025e6b92a09fcf584c13fea3f04f2a0be9cbe64.tar.gz
rpi-MMU-example-8025e6b92a09fcf584c13fea3f04f2a0be9cbe64.zip
add memcpy
Diffstat (limited to 'strings.h')
-rw-r--r--strings.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/strings.h b/strings.h
index 7e772d3..1eb291c 100644
--- a/strings.h
+++ b/strings.h
@@ -1,6 +1,7 @@
#ifndef STRINGS_H
#define STRINGS_H
+#include <stddef.h>
#include <stdint.h>
void uint32_to_dec(uint32_t number, char buf[10]);
@@ -23,4 +24,6 @@ void uint32_to_hexstringt(uint32_t number, char buf[9]);
size_t strlen(char string[]);
+void memcpy(void *dst, void *src, size_t nbytes);
+
#endif // STRINGS_H