mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-13 23:09:40 +02:00
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 <leah@libreboot.org>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user