X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=doc%2Fsrc%2Fman%2Frmr_get_rcvfd.3.xfm;h=12903c720ec483f4b36258cb31329728918e5b34;hb=refs%2Fchanges%2F81%2F5681%2F3;hp=5ad6f06fd8bd4064a64757b068e920d23cbf3c3b;hpb=5157a97ada5447efcee4da6192798a3b6799884c;p=ric-plt%2Flib%2Frmr.git diff --git a/doc/src/man/rmr_get_rcvfd.3.xfm b/doc/src/man/rmr_get_rcvfd.3.xfm index 5ad6f06..12903c7 100644 --- a/doc/src/man/rmr_get_rcvfd.3.xfm +++ b/doc/src/man/rmr_get_rcvfd.3.xfm @@ -1,7 +1,7 @@ .if false ================================================================================== - Copyright (c) 2019 Nokia - Copyright (c) 2018-2019 AT&T Intellectual Property. + Copyright (c) 2019-2020 Nokia + Copyright (c) 2018-2020 AT&T Intellectual Property. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -62,7 +62,7 @@ The following error values are specifically set by this RMR function. In some ca error message of a system call is propagated up, and thus this list might be incomplete. &beg_dlist(.75i : ^&bold_font ) -&di(EINVAL) The use of this function is invalid in this environment. +&ditem(EINVAL) The use of this function is invalid in this environment. &end_dlist &h2(EXAMPLE) @@ -85,8 +85,9 @@ int main() { rmr_mbuf_t* msg = NULL; int nready; int i; + int norm_msg_size = 1500; // 95% messages are less than this - mrc = rmr_init( "43086", RMR_MAX_RCV_BYTES, RMRFL_NONE ); + mrc = rmr_init( "43086", norm_msg_size, RMRFL_NONE ); rcv_fd = rmr_get_rcvfd( mrc ); ep_fd = epoll_create1( 0 ); // initialise epoll environment