X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docs%2Frmr_free_msg.3.rst;h=833dc28714ff136a97c120ba8f47996ac607a8ae;hb=9c923bcc9322c22220b574671c7b46f10008c614;hp=dbcdb98134ed18c7f4b755313e70028fbd0e8055;hpb=117030c67f7a3722e64f1ecc3305a5862b3b7ce9;p=ric-plt%2Flib%2Frmr.git diff --git a/docs/rmr_free_msg.3.rst b/docs/rmr_free_msg.3.rst index dbcdb98..833dc28 100644 --- a/docs/rmr_free_msg.3.rst +++ b/docs/rmr_free_msg.3.rst @@ -1,55 +1,59 @@ - - -.. 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) +.. 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)