Add URL about strlcpy() creation history.
authorBruce Momjian <[email protected]>
Mon, 2 Oct 2006 23:58:59 +0000 (23:58 +0000)
committerBruce Momjian <[email protected]>
Mon, 2 Oct 2006 23:58:59 +0000 (23:58 +0000)
src/port/strlcpy.c

index 7da5d3e2903fcda0410dfaea336dc57f79ae4b08..7d42875a4292092cc8c68eeb3fe406a7033bef51 100644 (file)
@@ -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)