summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2006-10-02 23:58:59 +0000
committerBruce Momjian2006-10-02 23:58:59 +0000
commit45a740f09e4230bc1efd57a4a9e84fc87a31e300 (patch)
tree941ac27ea1c65beed815ff8e3a5825f9e4f1cddc
parent7c3b03c16068b7bf813b5a44812b5691c5d5316f (diff)
Add URL about strlcpy() creation history.
-rw-r--r--src/port/strlcpy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/port/strlcpy.c b/src/port/strlcpy.c
index 7da5d3e290..7d42875a42 100644
--- a/src/port/strlcpy.c
+++ b/src/port/strlcpy.c
@@ -39,6 +39,7 @@
* Copy src to string dst of size siz. At most siz-1 characters
* will be copied. Always NUL terminates (unless siz == 0).
* Returns strlen(src); if retval >= siz, truncation occurred.
+ * Function creation history: http://www.gratisoft.us/todd/papers/strlcpy.html
*/
size_t
strlcpy(char *dst, const char *src, size_t siz)