Re: [PATCH 14/20] gcvt.3: fix prototype

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

 



Thanks. Applied!

Cheers,

Michael

On 05/20/2014 01:02 AM, Rasmus Villemoes wrote:
> The ndigit paramenter to gcvt() has type int.
> ---
>  man3/gcvt.3 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man3/gcvt.3 b/man3/gcvt.3
> index 2d7049b..77d910a 100644
> --- a/man3/gcvt.3
> +++ b/man3/gcvt.3
> @@ -34,7 +34,7 @@ gcvt \- convert a floating-point number to a string
>  .nf
>  .B #include <stdlib.h>
>  .sp
> -.BI "char *gcvt(double " number ", size_t " ndigit ", char *" buf );
> +.BI "char *gcvt(double " number ", int " ndigit ", char *" buf );
>  .fi
>  .sp
>  .in -4n
> 


-- 
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