diff options
author | Wilfredo Sanchez <wsanchez@apache.org> | 2002-07-24 23:31:57 +0000 |
---|---|---|
committer | Wilfredo Sanchez <wsanchez@apache.org> | 2002-07-24 23:31:57 +0000 |
commit | d9b4f8a89f2b4fb1aa9def1d039ec4c73450fa70 (patch) | |
tree | 1a7cc7510ad552e6100351a18507d515e9423868 /include/apr_strings.h | |
parent | 7a42b9ec3aaad4b60f694de64f4dd56df3b0c439 (diff) | |
download | apr-d9b4f8a89f2b4fb1aa9def1d039ec4c73450fa70.tar.gz |
Use apr_int64_t instead of long long as return type for apr_strtoll() and apr_atol().
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63732 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_strings.h')
-rw-r--r-- | include/apr_strings.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/apr_strings.h b/include/apr_strings.h index ad09495e9..58c61bda4 100644 --- a/include/apr_strings.h +++ b/include/apr_strings.h @@ -327,7 +327,7 @@ APR_DECLARE(char *) apr_ltoa(apr_pool_t *p, long n); APR_DECLARE(char *) apr_off_t_toa(apr_pool_t *p, apr_off_t n); /** - * parse a numeric string into a long long value + * parse a numeric string into a 64-bit numeric value * @param buf The string to parse. It may contain optional whitespace, * followed by an optional '+' (positive, default) or '-' (negative) * character, followed by an optional '0x' prefix if base is 0 or 16, @@ -338,17 +338,17 @@ APR_DECLARE(char *) apr_off_t_toa(apr_pool_t *p, apr_off_t n); * 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 long long value of the string. + * @return The numeric value of the string. */ -APR_DECLARE(long long) apr_strtoll(const char *buf, char **end, int base); +APR_DECLARE(apr_int64_t) apr_strtoll(const char *buf, char **end, int base); /** - * parse a base-10 numeric string into a long long value. + * parse a base-10 numeric string into a 64-bit numeric value. * Equivalent to apr_strtoll(buf, (char**)NULL, 10). * @param buf The string to parse - * @return The long long value of the string + * @return The numeric value of the string */ -APR_DECLARE(long long) apr_atoll(const char *buf); +APR_DECLARE(apr_int64_t) apr_atoll(const char *buf); /** * Format a binary size (magnitiudes are 2^10 rather than 10^3) from an apr_off_t, |