diff options
author | Ian Moffett <ian@osmora.org> | 2025-07-26 02:08:33 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-07-26 02:08:33 -0400 |
commit | 30f66b62174d03fa7aa41d76b32382ebf29b381f (patch) | |
tree | 96d90e40d91937bb0b8f737db6d4481584834fbf /sys/include/lib | |
parent | 739fc515b53dcb835dd67fb1fd8da8c9aa3b2861 (diff) |
kernel: lib: Add strdup() to string.h
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/lib')
-rw-r--r-- | sys/include/lib/string.h | 1 |
1 files changed, 1 insertions, 0 deletions
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, ...); |