diff options
author | Karl Fogel <kfogel@apache.org> | 2001-06-15 15:08:22 +0000 |
---|---|---|
committer | Karl Fogel <kfogel@apache.org> | 2001-06-15 15:08:22 +0000 |
commit | 9626e69834eb4c1e213ad191b083371ddb7206da (patch) | |
tree | 1e82e1cfa0f53977af1f215578d44d181da42625 /include/apr_strings.h | |
parent | bf1927fba5135fe326fb4bcd3b94216c95ec06b4 (diff) | |
download | apr-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.h | 7 |
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: |