strlcpy.3.patch   [plain text]


--- strlcpy.3.orig	2008-02-29 10:45:51.000000000 -0800
+++ strlcpy.3	2008-02-29 12:11:21.000000000 -0800
@@ -103,6 +103,9 @@
 It will append at most
 .Fa size
 - strlen(dst) - 1 bytes, NUL-terminating the result.
+.Pp
+The source and destination strings should not overlap, as the
+behavior is undefined.
 .Sh RETURN VALUES
 The
 .Fn strlcpy