Re: [PATCH 1/1] strtol.3: mention 0X prefix

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

 



Hello Heinrich.

On 05/05/2017 06:05 PM, Heinrich Schuchardt wrote:
> The prefix 0x may be capitalized as 0X.
> 
> See ISO/IEC 9899:1999.

Thanks. Applied!

Cheers,

Michael


> Signed-off-by: Heinrich Schuchardt <xypron.glpk@xxxxxx>
> ---
>  man3/strtol.3 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man3/strtol.3 b/man3/strtol.3
> index 3b2a10126..a236e7671 100644
> --- a/man3/strtol.3
> +++ b/man3/strtol.3
> @@ -70,7 +70,7 @@ followed by a single optional \(aq+\(aq or \(aq\-\(aq sign.
>  If
>  .I base
>  is zero or 16, the string may then include a
> -"0x" prefix, and the number will be read in base 16; otherwise, a
> +"0x" or "0X" prefix, and the number will be read in base 16; otherwise, a
>  zero
>  .I base
>  is taken as 10 (decimal) unless the next character
> 


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