diff options
author | Michał Łyszczek <michal.lyszczek@bofc.pl> | 2018-01-24 10:00:02 +0100 |
---|---|---|
committer | Michał Łyszczek <michal.lyszczek@bofc.pl> | 2018-01-24 10:00:02 +0100 |
commit | dc50663fa07d178fead64e729dad82b32c429661 (patch) | |
tree | 82100372b74d1f55c72842acb918e2fabfeee612 /man/el_print.3 | |
parent | 7dda17b28602e7f6794a30c122d1bf34632882f6 (diff) | |
download | embedlog-dc50663fa07d178fead64e729dad82b32c429661.tar.gz embedlog-dc50663fa07d178fead64e729dad82b32c429661.tar.bz2 embedlog-dc50663fa07d178fead64e729dad82b32c429661.zip |
update: documentation
Diffstat (limited to 'man/el_print.3')
-rw-r--r-- | man/el_print.3 | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/man/el_print.3 b/man/el_print.3 index e9568e3..68d56fa 100644 --- a/man/el_print.3 +++ b/man/el_print.3 @@ -4,6 +4,7 @@ .BR el_print , .BR el_vprint , .BR el_puts , +.BR el_pmemory, .B el_perror - prints message to previously configured outputs. .SH SYNOPSIS @@ -122,10 +123,20 @@ It is similar to function. .PP .BR el_pmemory (3) -is designed to print memory location in a nice hex+ascii format that may look -like this. -In this example we print all ascii table, to present printing of printable and -non-printable values. +is designed to print memory location in a nice hex+ascii format. +Function accepts pointer to +.I memory +and +.I mlen +number of bytes caller wants to print. +Function doesn't care what is under passed address, memory block may contain +strings with null characters '\\0', integers, floats or even +.B struct +objects. +.PP +Example output can look like this. +We print all ascii table, to present printing of printable and non-printable +values. .PP .EX ------ ----------------------------------------------- ---------------- |