diff options
author | dzwdz | 2023-08-25 17:18:07 +0200 |
---|---|---|
committer | dzwdz | 2023-08-25 17:18:30 +0200 |
commit | eff47b170a7b0ea24a7c6e3a538186faac758c23 (patch) | |
tree | 8d715835272aa4be0631d971c6608ba6885ad80c /src/libc/include/string.h | |
parent | a767724386c9fe175c2fe4311511c0a402339c37 (diff) |
bootstrap: support hardlinks in initrd
required for the binutils port
Diffstat (limited to 'src/libc/include/string.h')
-rw-r--r-- | src/libc/include/string.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |