summaryrefslogtreecommitdiffhomepage
path: root/lib/string.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-28 09:30:38 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-28 09:30:38 +0100
commit7df7ed6d026c5e1f3b8111e3536af3771301c177 (patch)
treef87916ee645aec06971a84dc1e9e5f1267fbe755 /lib/string.h
parent176cf8f237745d658185a2fba8fff1401c1c2b5f (diff)
feat! firmware breaking changes on the API.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'lib/string.h')
-rw-r--r--lib/string.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/lib/string.h b/lib/string.h
deleted file mode 100644
index 95b6b2e..0000000
--- a/lib/string.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/* -------------------------------------------
-
- Copyright (C) 2024, Amlal El Mahrouss, licensed under Apache 2.0.
-
-------------------------------------------- */
-
-#pragma once
-
-#include <lib/boot.h>
-
-#define strncpy(DST, SRC, LEN) memncpy(DST, SRC, LEN)
-
-void strreverse(char* in_out);
-size_t strlen(const char* in);
-size_t strnlen(const char* in, size_t maxLen);
-void* memset(void* dst, const char val, size_t len);
-size_t memcpy(void* dst, const void* src);
-size_t memncpy(void* dst, const void* src, size_t len);
-void* memmove(void* dst, const void* src, size_t len);
-size_t strncmp(const char* cmp1, const char* cmp2, size_t len);
-char* strchr(char* str, const char chr);
-
-#define zero_memory(dst, sz) memset(dst, 0, sz)