diff options
Diffstat (limited to 'docs/man/nng_msg_realloc.3.adoc')
| -rw-r--r-- | docs/man/nng_msg_realloc.3.adoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/man/nng_msg_realloc.3.adoc b/docs/man/nng_msg_realloc.3.adoc index 59c2a2da..b1308fff 100644 --- a/docs/man/nng_msg_realloc.3.adoc +++ b/docs/man/nng_msg_realloc.3.adoc @@ -31,11 +31,11 @@ and will reuse the existing memory when possible. TIP: One way to further reduce message allocations is to allocate a message larger than needed, then use this function or -<<nng_msg_chop.3#,`nng_msg_chop()`>> to reduce the message size +`<<nng_msg_chop.3#,nng_msg_chop()>>` to reduce the message size to that actually needed. The extra space left over will still be present in the message, so that when the message size -needs to grow due to this function or <<nng_msg_append.3#,`nng_msg_append()`>> +needs to grow due to this function or `<<nng_msg_append.3#,nng_msg_append()>>` no actual memory allocations need to take place. NOTE: Pointers to message body and header content obtained prior to this |
