]> git.saurik.com Git - apple/libc.git/blob - string/FreeBSD/strlcpy.3.patch
e008fc604eba576c51b54cb40a28d3adaf09ce9e
[apple/libc.git] / string / FreeBSD / strlcpy.3.patch
1 --- strlcpy.3.bsdnew 2009-11-18 18:24:34.000000000 -0800
2 +++ strlcpy.3 2009-11-18 18:24:34.000000000 -0800
3 @@ -103,6 +103,9 @@ to the end of
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