Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2001 16:55:07 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        "Andrey A. Chernov" <ache@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   RE: cvs commit: src/lib/libc/stdlib strtol.c strtoll.c strtoq.c
Message-ID:  <XFMail.011127165507.jhb@FreeBSD.org>
In-Reply-To: <200111280048.fAS0mBb36010@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 28-Nov-01 Andrey A. Chernov wrote:
> ache        2001/11/27 16:48:11 PST
> 
>   Modified files:
>     lib/libc/stdlib      strtol.c strtoll.c strtoq.c strtoul.c 
>                          strtoull.c strtouq.c 
>   Log:
>   Understand national (non-ASCII) digits now
>   Allow bases >=36 again
>   Misc cleanup

Does this break C89?  According to the manpage:

STANDARDS
     The strtol() function conforms to ISO/IEC 9899:1990 (``ISO C89'').  The
     strtoll() function conforms to ISO/IEC 9899:1999 (``ISO C99'').  The BSD
     strtoq() function is deprecated.

and:

ERRORS
     [EINVAL]           The value of base is not supported or no conversion
                        could be performed.

Does C99 support more than base 36 and if so should the manpage be updated?

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.011127165507.jhb>