You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by jo...@apache.org on 2004/05/17 22:09:59 UTC

cvs commit: apr/include apr_strings.h

jorton      2004/05/17 13:09:59

  Modified:    include  apr_strings.h
  Log:
  * include/apr_strings.h: Document that apr_strtoi64 sets errno on
  errors, fix a "nil".
  
  Revision  Changes    Path
  1.38      +3 -2      apr/include/apr_strings.h
  
  Index: apr_strings.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_strings.h,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -d -u -r1.37 -r1.38
  --- apr_strings.h	16 Mar 2004 10:43:59 -0000	1.37
  +++ apr_strings.h	17 May 2004 20:09:59 -0000	1.38
  @@ -302,12 +302,13 @@
    *   character, followed by an optional '0x' prefix if base is 0 or 16,
    *   followed by numeric digits appropriate for base.
    * @param end A pointer to the end of the valid character in buf. If
  - *   not nil, it is set to the first invalid character in buf.
  + *   not NULL, it is set to the first invalid character in buf.
    * @param base A numeric base in the range between 2 and 36 inclusive,
    *   or 0.  If base is zero, buf will be treated as base ten unless its
    *   digits are prefixed with '0x', in which case it will be treated as
    *   base 16.
  - * @return The numeric value of the string.
  + * @return The numeric value of the string.  On overflow, errno is set
  + * to ERANGE.
    */
   APR_DECLARE(apr_int64_t) apr_strtoi64(const char *buf, char **end, int base);