From f45a349da414322f5753ffbcd94b30c1f44cbc2b Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 26 Mar 2026 01:09:10 +0000 Subject: libreboot-utils: new function, scatn() concatenate an arbitrary number of strings, pointed to by char ** i'll use this and the next function, dcatn, in an upcoming feature planned for mkhtemp. Signed-off-by: Leah Rowe --- util/libreboot-utils/include/common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'util/libreboot-utils/include') diff --git a/util/libreboot-utils/include/common.h b/util/libreboot-utils/include/common.h index ebad01bf..dac87fac 100644 --- a/util/libreboot-utils/include/common.h +++ b/util/libreboot-utils/include/common.h @@ -375,6 +375,8 @@ int scmp(const char *a, const char *b, size_t maxlen, int *rval); int sdup(const char *s, size_t n, char **dest); +int scatn(ssize_t sc, const char **sv, + size_t max, char **rval); int scat(const char *s1, const char *s2, size_t n, char **dest); int dcat(const char *s, size_t n, -- cgit v1.2.1