From eff47b170a7b0ea24a7c6e3a538186faac758c23 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Fri, 25 Aug 2023 17:18:07 +0200 Subject: bootstrap: support hardlinks in initrd required for the binutils port --- src/libc/include/string.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libc/include/string.h') diff --git a/src/libc/include/string.h b/src/libc/include/string.h index d9d2b74..8b04b39 100644 --- a/src/libc/include/string.h +++ b/src/libc/include/string.h @@ -24,4 +24,6 @@ char *strncat(char *restrict dst, const char *restrict src, size_t n); char *stpncpy(char *restrict dst, const char *restrict src, size_t n); char *strdup(const char *s); +size_t strnlen(const char *s, size_t len); + char *strerror(int errnum); -- cgit v1.2.3