static int write_memory_usage(char *prefix, struct memory_usage *stats, char *suffix,
			      char **buf, unsigned int *maxlen)
static void write_memory_usage(char *prefix, struct memory_usage *stats, char *suffix,
			       char **buf, unsigned int *maxlen)