Project

General

Profile

Actions

Bug #4344

closed

Minor typos in the 3nsl man pages

Added by Marcel Telka almost 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Low
Category:
manpage - manual pages
Start date:
2013-11-21
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

Either dot should be changed to comma, or "but" to "But" here in the t_bind(3nsl) man page:

     same protocol address.  but it is not possible to bind  more

"nnetconf" should be changed to "netconf" here in rpcbind(3nsl) man page:

SYNOPSIS
     #include <rpc/rpc.h>

     struct rpcblist *rpcb_getmaps(const struct netconfig *nnetconf,
          const char *host);

Extra comma should be removed after out here in the rpcbind(3nsl) man page:

     enum clnt_stat rpcb_rmtcall(const struct netconfig *netconf,
          const char *host, const rpcprog_t prognum,
          const rpcvers_t versnum, const rpcproc_t procnum,
          const xdrproc_t inproc, const caddr_t in,
          const xdrproc_t outproc caddr_t out,,
          const struct timeval tout, struct netbuf  *svcaddr);

Missing parens here in the rpc_svc_create(3nsl) man page:

     int svc_create(const void (*dispatch)const struct svc_req *,
          const SVCXPRT *, const rpcprog_t prognum, const rpcvers_t versnum,
          const char *nettype);

...

     SVCXPRT *svc_tp_create(const void (*dispatch)
          const struct svc_req *, const SVCXPRT *), const rpcprog_t prognum,
          const rpcvers_t versnum, const struct netconfig *netconf);

It should read as this:

     int svc_create(const void (*dispatch)(const struct svc_req *,
          const SVCXPRT *), const rpcprog_t prognum, const rpcvers_t versnum,
          const char *nettype);

...

     SVCXPRT *svc_tp_create(const void (*dispatch)
          (const struct svc_req *, const SVCXPRT *), const rpcprog_t prognum,
          const rpcvers_t versnum, const struct netconfig *netconf);
Actions

Also available in: Atom PDF