cvs: php4 /main php.h
| From: | Sascha Schumann | Date: | Sun, 27 Aug 2000 09:38:33 +0000 |
| Subject: | cvs: php4 /main php.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1405@lists.php.net to get a copy of this message | ||
sas Sun Aug 27 02:38:33 2000 EDT
Modified files:
/php4/main php.h
Log:
Refine PHP_STRLCPY comment
Index: php4/main/php.h
diff -u php4/main/php.h:1.117 php4/main/php.h:1.118
--- php4/main/php.h:1.117 Sun Aug 27 02:30:15 2000
+++ php4/main/php.h Sun Aug 27 02:38:33 2000
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php.h,v 1.117 2000/08/27 09:30:15 sas Exp $ */
+/* $Id: php.h,v 1.118 2000/08/27 09:38:33 sas Exp $ */
#ifndef PHP_H
#define PHP_H
@@ -99,11 +99,11 @@
/*
* 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) \