Messages in this thread | | | Date | Wed, 30 May 2007 15:18:07 -0700 (PDT) | From | Christoph Lameter <> | Subject | Re: [PATCH 1/3] hexdump: more output formatting |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |