Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 23155 invoked from network); 19 Nov 2009 19:35:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Nov 2009 19:35:16 -0000 Received: (qmail 80934 invoked by uid 500); 19 Nov 2009 19:35:15 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 80853 invoked by uid 500); 19 Nov 2009 19:35:15 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 80844 invoked by uid 99); 19 Nov 2009 19:35:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Nov 2009 19:35:15 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Nov 2009 19:35:12 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C885A238898A; Thu, 19 Nov 2009 19:34:52 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r882260 - /apr/apr/trunk/include/apr_strings.h Date: Thu, 19 Nov 2009 19:34:52 -0000 To: commits@apr.apache.org From: trawick@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091119193452.C885A238898A@eris.apache.org> Author: trawick Date: Thu Nov 19 19:34:52 2009 New Revision: 882260 URL: http://svn.apache.org/viewvc?rev=882260&view=rev Log: document errno usage with apr_atoi64() and apr_itoa() Modified: apr/apr/trunk/include/apr_strings.h Modified: apr/apr/trunk/include/apr_strings.h URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_strings.h?rev=882260&r1=882259&r2=882260&view=diff ============================================================================== --- apr/apr/trunk/include/apr_strings.h (original) +++ apr/apr/trunk/include/apr_strings.h Thu Nov 19 19:34:52 2009 @@ -334,7 +334,7 @@ * digits are prefixed with '0x', in which case it will be treated as * base 16. * @return The numeric value of the string. On overflow, errno is set - * to ERANGE. + * to ERANGE. On success, errno is set to 0. */ APR_DECLARE(apr_int64_t) apr_strtoi64(const char *buf, char **end, int base); @@ -342,7 +342,8 @@ * parse a base-10 numeric string into a 64-bit numeric value. * Equivalent to apr_strtoi64(buf, (char**)NULL, 10). * @param buf The string to parse - * @return The numeric value of the string + * @return The numeric value of the string. On overflow, errno is set + * to ERANGE. On success, errno is set to 0. */ APR_DECLARE(apr_int64_t) apr_atoi64(const char *buf);