len += sprintf(buf + len, "%lx%s", bitmap[i], i > 0 ? " " : "");  len += sprintf(buf + len, "\n");
len += snprintf(buf + len, max(buf_size - len, 0), "%lx%s", bitmap[i], i > 0 ? " " : "");
static int input_print_bitmap(char *buf, unsigned long *bitmap, int max){	int i;	int len = 0;	for (i = NBITS(max) - 1; i > 0; i--)		if (bitmap[i])			break;	for (; i >= 0; i--)		len += sprintf(buf + len, "%lx%s", bitmap[i], i > 0 ? " " : "");	len += sprintf(buf + len, "\n");	return len;}