Fix mongoose docs generation

PUBLISHED_FROM=331821dcd1f7dc8a94581cd8a9b51aa00a89fddc
This commit is contained in:
Dmitry Frank committed 2018-02-03 01:20:48 +02:00
1 parent ab000c684a
commit 3eb4eb8074
166 files changed
+3125

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
---
title: "mg_hexdump()"
decl_name: "mg_hexdump"
symbol_kind: "func"
signature: |
int mg_hexdump(const void *buf, int len, char *dst, int dst_len);
---
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`. 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.