apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: apr_atoi64
Date Mon, 19 Aug 2002 21:23:29 GMT
++1.

Bill

At 04:16 PM 8/19/2002, Jim Jagielski wrote:
>Do we really want apr_atoi64 to determine the base automagically??
>I don't think we do... I think we want to have it emulate atol
>which means:
>
>    APR_DECLARE(apr_int64_t) apr_atoi64(const char *buf)
>    {
>-      return apr_strtoi64(buf, NULL, 0);
>+      return apr_strtoi64(buf, NULL, 10);
>    }
>
>Comments??
>--
>===========================================================================
>    Jim Jagielski   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
>       "A society that will trade a little liberty for a little order
>              will lose both and deserve neither" - T.Jefferson



Mime
View raw message