]> git.saurik.com Git - apple/libc.git/blob - string/FreeBSD/strlcpy.3.patch
Libc-594.1.4.tar.gz
[apple/libc.git] / string / FreeBSD / strlcpy.3.patch
1 --- strlcpy.3.orig 2008-02-29 10:45:51.000000000 -0800
2 +++ strlcpy.3 2008-02-29 12:11:21.000000000 -0800
3 @@ -103,6 +103,9 @@
4 It will append at most
5 .Fa size
6 - strlen(dst) - 1 bytes, NUL-terminating the result.
7 +.Pp
8 +The source and destination strings should not overlap, as the
9 +behavior is undefined.
10 .Sh RETURN VALUES
11 The
12 .Fn strlcpy