[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0705301515290.14642@schroedinger.engr.sgi.com>
Date: Wed, 30 May 2007 15:18:07 -0700 (PDT)
From: Christoph Lameter <clameter@....com>
To: Satyam Sharma <satyam.sharma@...il.com>
cc: Randy Dunlap <randy.dunlap@...cle.com>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, hugh@...itas.com
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists