From 0e697a27ae3f56557bdccf48c20230ad61d62e73 Mon Sep 17 00:00:00 2001 From: shockrahwow Date: Wed, 23 Jan 2019 23:31:51 -0800 Subject: [PATCH] memcmp added to stdlib module --- stl/stdlib.c | 8 ++++++++ stl/stdlib.h | 1 + 2 files changed, 9 insertions(+) create mode 100644 stl/stdlib.c create mode 100644 stl/stdlib.h diff --git a/stl/stdlib.c b/stl/stdlib.c new file mode 100644 index 0000000..0c96a34 --- /dev/null +++ b/stl/stdlib.c @@ -0,0 +1,8 @@ +int memcmp(const void* left, const void* right, const unsigned length) { + for(unsigned i=0;i