RTEMS
5.1
|
Files | |
file | dumpbuf.c |
Dump Buffer. | |
Functions | |
void | rtems_print_buffer (const unsigned char *buffer, int length) |
Print memory buffer. More... | |
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.
[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.
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 . |