kfogel 01/06/15 08:08:24
Modified: include apr_strings.h
Log:
(apr_cpystrn): Doc fix.
Revision Changes Path
1.18 +5 -2 apr/include/apr_strings.h
Index: apr_strings.h
===================================================================
RCS file: /home/cvs/apr/include/apr_strings.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- apr_strings.h 2001/05/23 14:15:39 1.17
+++ apr_strings.h 2001/06/15 15:08:22 1.18
@@ -181,10 +181,13 @@
__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: