Hi!

On 05/15/2013 06:56 PM, [email protected] wrote:
> Ok, lets address that in separate patch. I would go for simple function
> that would take prefix in printf() format and would dump the hex values
> after that. Something like tst_resm_buf(flags, buf, buf_len, fmt, ...)
> but perhaps we can come up with better name and/or API.
>
> I do not want to add custom printf() format strings on purpose, as that
> would:
>
> 1) create confusion
>
> 2) possibly break the checks on the format done by compiler
>
> Anybody else has better idea?
Since we're going to print buf in hex, may be we can use
tst_resm_hex(flags, buf, buf_len, fmt, ...) to make it more descriptive?

Thanks,
Alexey

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to