aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Łyszczek <michal.lyszczek@bofc.pl>2019-03-02 00:54:15 +0100
committerMichał Łyszczek <michal.lyszczek@bofc.pl>2019-03-02 00:55:45 +0100
commit35d5ab7e05c57366356d01291ced24fb2fd90ccc (patch)
tree60dfdb48763ede8e57c8cf4f9f0360e3baa3a11a
parent4b55625fc6390ac995d380cc2f9c081e8a568164 (diff)
downloadembedlog-35d5ab7e05c57366356d01291ced24fb2fd90ccc.tar.gz
embedlog-35d5ab7e05c57366356d01291ced24fb2fd90ccc.tar.bz2
embedlog-35d5ab7e05c57366356d01291ced24fb2fd90ccc.zip
man/el_print.3: el_pmemory: desribe case when mlen == 0
spoiler alert: nothing happens no_buildbot Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
-rw-r--r--man/el_print.35
1 files changed, 5 insertions, 0 deletions
diff --git a/man/el_print.3 b/man/el_print.3
index 097114c..4ab8709 100644
--- a/man/el_print.3
+++ b/man/el_print.3
@@ -191,6 +191,11 @@ Function accepts pointer to
and
.I mlen
number of bytes caller wants to print.
+If
+.I mlen
+is 0, function won't print anything and will return
+.B EINVAL
+error.
Function doesn't care what is under passed address, memory block may contain
strings with null characters '\\0', integers, floats or even
.B struct