From 30f66b62174d03fa7aa41d76b32382ebf29b381f Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 26 Jul 2025 02:08:33 -0400 Subject: kernel: lib: Add strdup() to string.h Signed-off-by: Ian Moffett --- sys/include/lib/string.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/include/lib') diff --git a/sys/include/lib/string.h b/sys/include/lib/string.h index c09e6f4..3255ae5 100644 --- a/sys/include/lib/string.h +++ b/sys/include/lib/string.h @@ -35,6 +35,7 @@ size_t strlen(const char *s); char *itoa(int64_t value, char *buf, int base); +char *strdup(const char *s); int vsnprintf(char *s, size_t size, const char *fmt, va_list ap); int snprintf(char *s, size_t size, const char *fmt, ...); -- cgit v1.2.3