From e1ff02f323b747d49a6c20c5d3d89702fd1677ba Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Wed, 25 Mar 2026 07:27:13 +0000 Subject: util/libreboot-utils: added more string functions also reset pointer values because i can Signed-off-by: Leah Rowe --- util/libreboot-utils/include/common.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'util/libreboot-utils/include/common.h') diff --git a/util/libreboot-utils/include/common.h b/util/libreboot-utils/include/common.h index da086425..97bbdf0c 100644 --- a/util/libreboot-utils/include/common.h +++ b/util/libreboot-utils/include/common.h @@ -384,7 +384,13 @@ int slen(const char *scmp, size_t maxlen, size_t *rval); int scmp(const char *a, const char *b, size_t maxlen, int *rval); - +int sdup(const char *s, + size_t n, char **dest); +int scat(const char *s1, const char *s2, + size_t n, char **dest); +int dcat(const char *s, size_t n, + size_t off, char **dest1, + char **dest2); /* numerical functions */ -- cgit v1.2.1