aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/include/posix/strings.h
diff options
context:
space:
mode:
Diffstat (limited to 'extras/mini-os/include/posix/strings.h')
-rw-r--r--extras/mini-os/include/posix/strings.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/extras/mini-os/include/posix/strings.h b/extras/mini-os/include/posix/strings.h
new file mode 100644
index 0000000000..8619ba2865
--- /dev/null
+++ b/extras/mini-os/include/posix/strings.h
@@ -0,0 +1,8 @@
+#ifndef _POSIX_STRINGS_H
+#define _POSIX_STRINGS_H
+
+#include <string.h>
+
+#define bzero(ptr, size) (memset((ptr), '\0', (size)), (void) 0)
+
+#endif /* _POSIX_STRINGS_H */