Re: [PATCH 20/20] getrpcport.3: add #include and fix prototype

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks, rasmus. Applied.

Cheers,

Michael



On 05/20/2014 01:02 AM, Rasmus Villemoes wrote:
> The prototype for getrpcport() is obtained by #include'ing
> <rpc/rpc.h>. Also, update its prototype.
> ---
>  man3/getrpcport.3 | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/man3/getrpcport.3 b/man3/getrpcport.3
> index 16ccdfc..a31fbc9 100644
> --- a/man3/getrpcport.3
> +++ b/man3/getrpcport.3
> @@ -10,8 +10,10 @@
>  getrpcport \- get RPC port number
>  .SH SYNOPSIS
>  .nf
> -.BI "int getrpcport(char *" host ", int " prognum ", int " versnum \
> -", int " proto );
> +.B "#include <rpc/rpc.h>"
> +.sp
> +.BI "int getrpcport(const char *" host ", unsigned long " prognum \
> +", unsigned long " versnum ", unsigned " proto );
>  .fi
>  .SH DESCRIPTION
>  .BR getrpcport ()
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux