return 0;
}
-void strv_print(char * const *l) {
+void strv_print_full(char * const *l, const char *prefix) {
STRV_FOREACH(s, l)
- puts(*s);
+ printf("%s%s\n", strempty(prefix), *s);
}
int strv_extendf(char ***l, const char *format, ...) {
_STRV_FOREACH_PAIR(x, y, l, UNIQ_T(i, UNIQ))
char** strv_sort(char **l);
-void strv_print(char * const *l);
+void strv_print_full(char * const *l, const char *prefix);
+static inline void strv_print(char * const *l) {
+ strv_print_full(l, NULL);
+}
#define strv_from_stdarg_alloca(first) \
({ \