aboutsummaryrefslogtreecommitdiffstats
path: root/memory/strlen.c
diff options
context:
space:
mode:
Diffstat (limited to 'memory/strlen.c')
-rw-r--r--memory/strlen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/memory/strlen.c b/memory/strlen.c
new file mode 100644
index 0000000..c440bae
--- /dev/null
+++ b/memory/strlen.c
@@ -0,0 +1,3 @@
+#include "memory.h"
+
+size_t strlen(char const *string) { return rawmemlchr(string, '\0'); }