From f57e2eabe0a10c9732c83532e01654a499fb8dcf Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Mon, 21 Jun 2021 17:47:13 -0400 Subject: many, many changes; settings is broken --- src/user/include/knob/block.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/user/include/knob/block.h') diff --git a/src/user/include/knob/block.h b/src/user/include/knob/block.h index 27cb83b..5766245 100644 --- a/src/user/include/knob/block.h +++ b/src/user/include/knob/block.h @@ -16,6 +16,7 @@ uint32_t strcpy(char *to, const char *from); //allocates new memory char *strdup(const char *from); +char *strndup(const char *from, uint32_t new_len); //without null-terminator uint32_t strlen(const char *str) __attribute__ ((pure)); -- cgit v1.2.3