static int write_bool(char *prefix, bool value, char *suffix, char **buf,
		      unsigned int *maxlen)
static void write_bool(char *prefix, bool value, char *suffix, char **buf,
		       unsigned int *maxlen)