]> granicus.if.org Git - php/commitdiff
Refine PHP_STRLCPY comment
authorSascha Schumann <sas@php.net>
Sun, 27 Aug 2000 09:38:33 +0000 (09:38 +0000)
committerSascha Schumann <sas@php.net>
Sun, 27 Aug 2000 09:38:33 +0000 (09:38 +0000)
main/php.h

index 727e789f765b876cc59366006be68763c0053a1c..843dc243db7bcf603b20ba545d0c1067b6848ea3 100644 (file)
@@ -99,11 +99,11 @@ extern unsigned char second_arg_allow_ref[];
 
 /*
  * This is a fast version of strlcpy which should be used, if you
- * know the maximum size of the destination buffer and if you know
+ * know the size of the destination buffer and if you know
  * the length of the source string.
  *
- * size is the allocated number of bytes
- * src_size is the number of bytes excluding the NUL
+ * size is the allocated number of bytes of dst
+ * src_size is the number of bytes excluding the NUL of src
  */
 
 #define PHP_STRLCPY(dst, src, size, src_size)  \