RTEMS: Print Memory Buffer

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Files | Functions
Print Memory Buffer
API » IO » Print Support

## Files
file | dumpbuf.c
| Dump Buffer.

## Functions
void | rtems_print_buffer (const unsigned char *buffer, int length)
| Print memory buffer.

## Detailed Description

## Function Documentation

## ◆ rtems_print_buffer()

void rtems_print_buffer | ( | const unsigned char * | buffer,
|  | const int | length
| ) |  |

Print memory buffer.

This method prints length bytes beginning at buffer in a nice format similar to what one would expect from a debugger or ROM monitor.

Parameters

  [in] | buffer | is the address of the buffer
  [in] | length | is the length of the buffer

Print memory buffer.

Non-printable chars will appear as dots.

Parameters

  buffer | The buffer we'll print.
  length | Amount of bytes from `buffer` we'll print. This can't be unsigned because we don't have a way to check if we're erroneously getting a negative `length`.