From bdadf2c634c86d566fb3ee39b88877c140a3f2f3 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 3 Sep 2004 06:46:08 +0000 Subject: [PATCH] Add comments. --- src/lib/lib.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/lib.c b/src/lib/lib.c index 35f8179..cc05816 100644 --- a/src/lib/lib.c +++ b/src/lib/lib.c @@ -106,7 +106,10 @@ memcmp (const void *a_, const void *b_, size_t size) /* Copies string SRC to DST. If SRC is longer than SIZE - 1 characters, only SIZE - 1 characters are copied. A null terminator is always written to DST, unless SIZE is 0. - Returns the length of SRC. */ + Returns the length of SRC. + + See http://www.courtesan.com/todd/papers/strlcpy.html for + information on strlcpy(). */ size_t strlcpy (char *dst, const char *src, size_t size) { -- 2.30.2