---
name: "rte_hexdump"
section: "3"
platform: "linux"
package: "dpdk-doc"
version: "24.11.4-0+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rte_hexdump.h"
---

# rte\_hexdump(3)

Part of [rte\_hexdump.h(3)](/rte_hexdump.h/3.md).

## NAME

rte\_hexdump.h

## SYNOPSIS

`#include <stdio.h>`\

### Functions

void **rte\_hexdump** (FILE \*f, const char \*title, const void \*buf, unsigned int len)\
 void **rte\_memdump** (FILE \*f, const char \*title, const void \*buf, unsigned int len)\

## Detailed Description

Simple API to dump out memory in a special hex format.

Definition in file **rte\_hexdump.h**.

## Function Documentation

### void rte\_hexdump (FILE \* f, const char \* title, const void \* buf, unsigned int len)

Dump out memory in a special hex dump format.

**Parameters**

*f* A pointer to a file for output. \
 *title* If not NULL this string is printed as a header to the output. \
 *buf* This is the buffer address to print out. \
 *len* The number of bytes to dump out.

### void rte\_memdump (FILE \* f, const char \* title, const void \* buf, unsigned int len)

Dump out memory in a hex format with colons between bytes.

**Parameters**

*f* A pointer to a file for output. \
 *title* If not NULL this string is printed as a header to the output. \
 *buf* This is the buffer address to print out. \
 *len* The number of bytes to dump out.

## Author

Generated automatically by Doxygen for DPDK from the source code.
