Re: [PATCH 1/3] hexdump: more output formatting

From: Christoph Lameter
Date: Wed May 30 2007 - 18:18:19 EST


On Thu, 31 May 2007, Satyam Sharma wrote:

> Yes, you're right, but I was just wondering whether any users really
> cared enough about the rowsize and groupsize, also seeing that
> accommodating these two args leads to a lot of increase in code.

Have two functions

1. A function that prints full lines with address and ascii
This defaults to 16 bytes by default + ascii.

hex_dump?

2. A function to convert a few bytes for use in other output.

sprint_hex?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/