From 2eb8688f29af3c876c0fb62f482f6d76350a41b5 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Sun, 27 Aug 2000 09:38:33 +0000 Subject: [PATCH] Refine PHP_STRLCPY comment --- main/php.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) \ -- 2.50.1