diff options
Diffstat (limited to 'src/lib/libc/string/stpcpy.3')
-rw-r--r-- | src/lib/libc/string/stpcpy.3 | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/lib/libc/string/stpcpy.3 b/src/lib/libc/string/stpcpy.3 index ed1b830b56..ea25610717 100644 --- a/src/lib/libc/string/stpcpy.3 +++ b/src/lib/libc/string/stpcpy.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: stpcpy.3,v 1.3 2013/06/05 03:39:23 tedu Exp $ | 1 | .\" $OpenBSD: stpcpy.3,v 1.4 2013/09/25 21:49:31 millert Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 1990, 1991 The Regents of the University of California. | 3 | .\" Copyright (c) 1990, 1991 The Regents of the University of California. |
4 | .\" All rights reserved. | 4 | .\" All rights reserved. |
@@ -31,7 +31,7 @@ | |||
31 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 31 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
32 | .\" SUCH DAMAGE. | 32 | .\" SUCH DAMAGE. |
33 | .\" | 33 | .\" |
34 | .Dd $Mdocdate: June 5 2013 $ | 34 | .Dd $Mdocdate: September 25 2013 $ |
35 | .Dt STPCPY 3 | 35 | .Dt STPCPY 3 |
36 | .Os | 36 | .Os |
37 | .Sh NAME | 37 | .Sh NAME |
@@ -77,6 +77,12 @@ if the length of | |||
77 | .Fa src | 77 | .Fa src |
78 | is greater than or equal to | 78 | is greater than or equal to |
79 | .Fa len . | 79 | .Fa len . |
80 | .Pp | ||
81 | If the | ||
82 | .Fa src | ||
83 | and | ||
84 | .Fa dst | ||
85 | strings overlap, the behavior is undefined. | ||
80 | .Sh RETURN VALUES | 86 | .Sh RETURN VALUES |
81 | The | 87 | The |
82 | .Fn stpcpy | 88 | .Fn stpcpy |