summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorkfogel <kfogel@13f79535-47bb-0310-9956-ffa450edef68>2001-06-15 15:08:22 +0000
committerkfogel <kfogel@13f79535-47bb-0310-9956-ffa450edef68>2001-06-15 15:08:22 +0000
commite3c6f3a06ca4916a7ed808997c3944a1d08ef747 (patch)
tree1e82e1cfa0f53977af1f215578d44d181da42625 /include
parent5501dff0d64405d0660585e02089cfb66b611a7d (diff)
downloadlibapr-e3c6f3a06ca4916a7ed808997c3944a1d08ef747.tar.gz
(apr_cpystrn): Doc fix.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61770 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r--include/apr_strings.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/apr_strings.h b/include/apr_strings.h
index acbe0cee9..0a053ac7c 100644
--- a/include/apr_strings.h
+++ b/include/apr_strings.h
@@ -181,10 +181,13 @@ APR_DECLARE_NONSTD(char *) apr_psprintf(apr_pool_t *p, const char *fmt, ...)
__attribute__((format(printf,2,3)));
/**
- * copy n characters from src to des>
+ * copy n characters from src to dst
* @param dst The destination string
* @param src The source string
- * @param dst_size The number of characters to copy
+ * @param dst_size The space available in dst; dst always receives
+ * null-termination, so if src is longer than
+ * dst_size, the actual number of characters copied is
+ * dst_size - 1.
* @tip
* <PRE>
* We re-implement this function to implement these specific changes: