5 void dumpmem(void *mem
, unsigned long int len
)
9 if (!mem
|| !len
) { return; }
11 p
= (unsigned char *) mem
;
17 unsigned char b
, c
, str
[17];
19 for (b
= 0; b
< 16; b
++)
22 str
[b
] = ((c
>= ' ') && (c
<= 'z')) ? c
: '.';
25 if (--len
== 0) break;