summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-08-27 09:38:33 +0000
committerSascha Schumann <sas@php.net>2000-08-27 09:38:33 +0000
commit2eb8688f29af3c876c0fb62f482f6d76350a41b5 (patch)
tree48c5d511392f7aa3050f92aac3de8aa8d8e5edfa /main/php.h
parentb2cecd9d8b84e65f544999fbb3bb3114e04d5eea (diff)
downloadphp-git-2eb8688f29af3c876c0fb62f482f6d76350a41b5.tar.gz
Refine PHP_STRLCPY comment
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h6
1 files 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) \