| .. This work is licensed under a Creative Commons Attribution 4.0 International License. |
| .. SPDX-License-Identifier: CC-BY-4.0 |
| .. CAUTION: this document is generated from source in doc/src/rtd. |
| .. To make changes edit the source and recompile the document. |
| .. Do NOT make changes directly to .rst or .md files. |
| |
| ============================================================================================ |
| Man Page: rmr_free_msg |
| ============================================================================================ |
| |
| |
| |
| |
| RMR LIBRARY FUNCTIONS |
| ===================== |
| |
| |
| |
| NAME |
| ---- |
| |
| rmr_free_msg |
| |
| |
| SYNOPSIS |
| -------- |
| |
| |
| :: |
| |
| #include <rmr/rmr.h> |
| |
| void rmr_free_msg( rmr_mbuf_t* mbuf ); |
| |
| |
| |
| DESCRIPTION |
| ----------- |
| |
| The message buffer is returned to the pool, or the associated |
| memory is released depending on the needs of the underlying |
| messaging system. This allows the user application to release |
| a buffer that is not going to be used. It is safe to pass a |
| nil pointer to this function, and doing so does not result in |
| a change to the value of ``errrno.`` |
| |
| After calling, the user application should **not** use any of |
| the pointers (transaction ID, or payload) which were |
| available. |
| |
| |
| SEE ALSO |
| -------- |
| |
| rmr_alloc_msg(3), rmr_call(3), rmr_init(3), |
| rmr_payload_size(3), rmr_send_msg(3), rmr_rcv_msg(3), |
| rmr_rcv_specific(3), rmr_rts_msg(3), rmr_ready(3), |
| rmr_fib(3), rmr_has_str(3), rmr_tokenise(3), rmr_mk_ring(3), |
| rmr_ring_free(3) |