From 8464844518115c60df9ec80d22ef334e7c70e9f4 Mon Sep 17 00:00:00 2001 From: Evelyn Date: Mon, 25 Jul 2016 17:34:03 +0100 Subject: [PATCH] Update mg_hexdump.md --- docs/c-api/util.h/mg_hexdump.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/c-api/util.h/mg_hexdump.md b/docs/c-api/util.h/mg_hexdump.md index ed02068a..8eb53c35 100644 --- a/docs/c-api/util.h/mg_hexdump.md +++ b/docs/c-api/util.h/mg_hexdump.md @@ -6,10 +6,10 @@ signature: | int mg_hexdump(const void *buf, int len, char *dst, int dst_len); --- -Generates human-readable hexdump of memory chunk. +Generates a human-readable hexdump of memory chunk. Takes a memory buffer `buf` of length `len` and creates a hex dump of that -buffer in `dst`. Generated output is a-la hexdump(1). -Return length of generated string, excluding terminating `\0`. If returned -length is bigger than `dst_len`, overflow bytes are discarded. +buffer in `dst`. The generated output is a-la hexdump(1). +Returns the length of generated string, excluding terminating `\0`. If returned +length is bigger than `dst_len`, the overflow bytes are discarded.