unsigned long parse_blocksize(const char *bs);
char ctrlparse(char *s, char **next);
+size_t host_strcspn(const char *s, const char *set);
+char *host_strchr(const char *s, int c);
+char *host_strrchr(const char *s, int c);
+char *host_strduptrim(const char *s);
+
char *dupstr(const char *s);
char *dupcat(const char *s1, ...);
-char *dupprintf(const char *fmt, ...);
+char *dupprintf(const char *fmt, ...)
+#ifdef __GNUC__
+ __attribute__ ((format (printf, 1, 2)))
+#endif
+ ;
char *dupvprintf(const char *fmt, va_list ap);
void burnstr(char *string);