From: Bruce Momjian Date: Mon, 2 Oct 2006 23:58:59 +0000 (+0000) Subject: Add URL about strlcpy() creation history. X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=45a740f09e4230bc1efd57a4a9e84fc87a31e300;p=users%2Fbernd%2Fpostgres.git Add URL about strlcpy() creation history. --- 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)