From: Sascha Schumann Date: Sun, 27 Aug 2000 09:38:33 +0000 (+0000) Subject: Refine PHP_STRLCPY comment X-Git-Tag: php-4.0.2~44 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2eb8688f29af3c876c0fb62f482f6d76350a41b5;p=php Refine PHP_STRLCPY comment --- diff --git a/main/php.h b/main/php.h index 727e789f76..843dc243db 100644 --- a/main/php.h +++ b/main/php.h @@ -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) \