strlcpy.3.patch   [plain text]


--- strlcpy.3.bsdnew	2009-11-18 18:24:34.000000000 -0800
+++ strlcpy.3	2009-11-18 18:24:34.000000000 -0800
@@ -103,6 +103,9 @@ to the end of
 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