.\" .\" Copyright 2002 Michael B. Allen .\" .TH hexdump 3m "Apr 29, 2005" "libmba-0.9.1" "MBA Library Functions" .SH NAME hexdump \- print the contents of memory in conventional hex dump format .SH SYNOPSIS .nf .B #include .sp .BI "void hexdump(FILE *" stream ", const void *" src ", size_t " n ", size_t " width "); .br .fi .SH DESCRIPTION The .BR "hexdump" (3m) module provides useful debugging functions for printing the contents of memory in conventional hex dump format. .PP .TP .B hexdump Print .I n bytes of memory at .I src to .I stream in human readable "hex dump" format that is .I width columns wide. .PP .RS .nf .ta 4n 19n 31n 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.[^_| .ta .fi .RE .PP