Add comments.
authorBen Pfaff <blp@cs.stanford.edu>
Fri, 3 Sep 2004 06:46:08 +0000 (06:46 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Fri, 3 Sep 2004 06:46:08 +0000 (06:46 +0000)
src/lib/lib.c

index 35f8179c079322de3665b23bcd72d822e5c8662a..cc058160a35f0c28f0c662d936014994cae25d8f 100644 (file)
@@ -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) 
 {