Previous: die, Up: Debug


9.4 hexdump

print out memory as hexidecimals

Synopsis

     #include <suplib/debug.h>
     
     
     
void hexdump( FILE *stream, void *buf, size_t length );

Parameters

FILE *stream
where to print
void *buf
the start of memory to dump
size_t length
the number of bytes to dump

Description

hexdump will pretty print out a section of memory in base 16.

Author

Diab Jerius