From 8eda325ede02d3fc606a34f7fa3c4922b05a84e4 Mon Sep 17 00:00:00 2001 From: EmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com> Date: Thu, 18 Jul 2024 22:25:44 -0400 Subject: Remerged the std stuff into the kernel --- libc/memcmp.c | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 libc/memcmp.c (limited to 'libc/memcmp.c') diff --git a/libc/memcmp.c b/libc/memcmp.c deleted file mode 100644 index 93141e1..0000000 --- a/libc/memcmp.c +++ /dev/null @@ -1,13 +0,0 @@ -#include - -int memcmp(const void* aptr, const void* bptr, size_t size) { - const unsigned char* a = (const unsigned char*) aptr; - const unsigned char* b = (const unsigned char*) bptr; - for (size_t i = 0; i < size; i++) { - if (a[i] < b[i]) - return -1; - else if (b[i] < a[i]) - return 1; - } - return 0; -} \ No newline at end of file -- cgit v1.2.3-70-g09d2