rpc_svc_reg(3nsl): svc_pollfd is modified too
Both xprt_register() and xprt_unregister() modifies both svc_fdset and svc_pollfd, but in the rpc_svc_reg(3nsl) man page the svc_pollfd is not mentioned. For example:
void xprt_register(const SVCXPRT *xprt); After RPC service transport handle xprt is created, it is registered with the RPC service package. This routine modifies the global variable svc_fdset (see rpc_svc_calls(3NSL)). Service implementors usually do not need this routine.
The description of both functions should be modified to note both svc_fdset and svc_pollfd.
Updated by Electric Monk over 7 years ago
- Status changed from Pending RTI to Closed
- % Done changed from 0 to 100
commit c235b016b0b38466c37f5fe5360c79e58fa3062d Author: Marcel Telka <email@example.com> Date: 2014-11-24T21:41:32.000Z 4320 rpc_svc_reg(3nsl): svc_pollfd is modified too Reviewed by: Richard Lowe <firstname.lastname@example.org> Reviewed by: Gordon Ross <email@example.com> Reviewed by: Yuri Pankov <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>