summaryrefslogtreecommitdiff
path: root/include/apr_strings.h
diff options
context:
space:
mode:
authorKarl Fogel <kfogel@apache.org>2001-06-15 15:08:22 +0000
committerKarl Fogel <kfogel@apache.org>2001-06-15 15:08:22 +0000
commit9626e69834eb4c1e213ad191b083371ddb7206da (patch)
tree1e82e1cfa0f53977af1f215578d44d181da42625 /include/apr_strings.h
parentbf1927fba5135fe326fb4bcd3b94216c95ec06b4 (diff)
downloadapr-9626e69834eb4c1e213ad191b083371ddb7206da.tar.gz
(apr_cpystrn): Doc fix.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61770 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_strings.h')
-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: