hexdump - print the contents of memory in conventional hex dump format
#include <mba/hexdump.h>
void hexdump(FILE *stream, const void *src, size_t n, size_t width);
The hexdump(3m) module provides useful debugging functions for printing
the contents of memory in conventional hex dump format.
- hexdump
- Print n bytes of memory at src to stream in human
readable "hex dump" format that is width columns
wide.
000b0: 0c ff 75 e8 e8 9f d5 ff |..u.....|
000b8: ff 8b 45 f0 2b 45 10 c1 |..E.+E..|
000c0: f8 02 8d 65 f4 5b 5e 5f |...e.[^_|