diff options
Diffstat (limited to 'src/lib/libc/string/strlcpy.3')
-rw-r--r-- | src/lib/libc/string/strlcpy.3 | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/lib/libc/string/strlcpy.3 b/src/lib/libc/string/strlcpy.3 index a0028a52b1..a7cd269819 100644 --- a/src/lib/libc/string/strlcpy.3 +++ b/src/lib/libc/string/strlcpy.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: strlcpy.3,v 1.24 2013/07/16 15:21:11 schwarze Exp $ | 1 | .\" $OpenBSD: strlcpy.3,v 1.25 2013/09/25 21:49:31 millert Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 1998, 2000 Todd C. Miller <Todd.Miller@courtesan.com> | 3 | .\" Copyright (c) 1998, 2000 Todd C. Miller <Todd.Miller@courtesan.com> |
4 | .\" | 4 | .\" |
@@ -14,7 +14,7 @@ | |||
14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | 14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | .\" | 16 | .\" |
17 | .Dd $Mdocdate: July 16 2013 $ | 17 | .Dd $Mdocdate: September 25 2013 $ |
18 | .Dt STRLCPY 3 | 18 | .Dt STRLCPY 3 |
19 | .Os | 19 | .Os |
20 | .Sh NAME | 20 | .Sh NAME |
@@ -80,6 +80,12 @@ as it means that either | |||
80 | is incorrect or that | 80 | is incorrect or that |
81 | .Fa dst | 81 | .Fa dst |
82 | is not a proper string). | 82 | is not a proper string). |
83 | .Pp | ||
84 | If the | ||
85 | .Fa src | ||
86 | and | ||
87 | .Fa dst | ||
88 | strings overlap, the behavior is undefined. | ||
83 | .Sh RETURN VALUES | 89 | .Sh RETURN VALUES |
84 | Besides quibbles over the return type | 90 | Besides quibbles over the return type |
85 | .Pf ( Va size_t | 91 | .Pf ( Va size_t |