6 extern size_t strlcpy(char *dest
, const char *src
, size_t size
);
7 extern int slprintf(char *dst
, size_t size
, const char *fmt
, ...) __check_format_printf(3, 4);
8 extern int slprintf_nocheck(char *dst
, size_t size
, const char *fmt
, ...);
9 extern char *strtrim_right(char *p
, char c
);
10 extern noinline
void *xmemset(void *s
, int c
, size_t n
);
11 extern char *argv2str(int startind
, int argc
, char **argv
);
12 extern char **argv_insert(char **argv
, size_t *count
, const char *str
);
13 extern void argv_free(char **argv
);