summaryrefslogtreecommitdiff
path: root/include/apr_strings.h
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2004-05-17 20:09:59 +0000
committerJoe Orton <jorton@apache.org>2004-05-17 20:09:59 +0000
commit3e4da273a5136db2acc6323b775e8ddc075cc0c0 (patch)
treec459babaa4359fc6132842e62db6f15b36661c05 /include/apr_strings.h
parent98af0624fe1d43ca90926ab1d36655d50add511b (diff)
downloadapr-3e4da273a5136db2acc6323b775e8ddc075cc0c0.tar.gz
* include/apr_strings.h: Document that apr_strtoi64 sets errno on
errors, fix a "nil". git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65098 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_strings.h')
-rw-r--r--include/apr_strings.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/apr_strings.h b/include/apr_strings.h
index 474d35751..7934ff6cd 100644
--- a/include/apr_strings.h
+++ b/include/apr_strings.h
@@ -302,12 +302,13 @@ APR_DECLARE(char *) apr_off_t_toa(apr_pool_t *p, apr_off_t n);
* 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);