X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=docs%2Frmr_free_msg.3.rst;fp=docs%2Frmr_free_msg.3.rst;h=dbcdb98134ed18c7f4b755313e70028fbd0e8055;hb=117030c67f7a3722e64f1ecc3305a5862b3b7ce9;hp=0000000000000000000000000000000000000000;hpb=2d9d6784b306047e94ca9816813e5007b00fd17e;p=ric-plt%2Flib%2Frmr.git diff --git a/docs/rmr_free_msg.3.rst b/docs/rmr_free_msg.3.rst new file mode 100644 index 0000000..dbcdb98 --- /dev/null +++ b/docs/rmr_free_msg.3.rst @@ -0,0 +1,55 @@ + + +.. 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 + 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)