diff options
author | jmc <> | 2016-11-12 08:58:43 +0000 |
---|---|---|
committer | jmc <> | 2016-11-12 08:58:43 +0000 |
commit | 27b8fa306265030fec55a4dc444c6580c79c66a8 (patch) | |
tree | 571e249c507155467a722f2d60a2920ae682dfeb | |
parent | 6fb1fe2dcfa453a4a227d8e1c65a6135cbcdb11e (diff) | |
download | openbsd-27b8fa306265030fec55a4dc444c6580c79c66a8.tar.gz openbsd-27b8fa306265030fec55a4dc444c6580c79c66a8.tar.bz2 openbsd-27b8fa306265030fec55a4dc444c6580c79c66a8.zip |
the referred to EXAMPLES section is now in strncpy(3);
issue reported by scott cheloha
ok otto
-rw-r--r-- | src/lib/libc/string/wcscpy.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/string/wcscpy.3 b/src/lib/libc/string/wcscpy.3 index 2277eb419a..fcf01b5c57 100644 --- a/src/lib/libc/string/wcscpy.3 +++ b/src/lib/libc/string/wcscpy.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: wcscpy.3,v 1.4 2013/09/25 21:49:31 millert Exp $ | 1 | .\" $OpenBSD: wcscpy.3,v 1.5 2016/11/12 08:58:43 jmc 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: September 25 2013 $ | 34 | .Dd $Mdocdate: November 12 2016 $ |
35 | .Dt WCSCPY 3 | 35 | .Dt WCSCPY 3 |
36 | .Os | 36 | .Os |
37 | .Sh NAME | 37 | .Sh NAME |
@@ -122,7 +122,7 @@ and | |||
122 | .Fn wcsncpy | 122 | .Fn wcsncpy |
123 | is very error-prone with respect to buffer overflows; | 123 | is very error-prone with respect to buffer overflows; |
124 | see the EXAMPLES section in | 124 | see the EXAMPLES section in |
125 | .Xr strcpy 3 | 125 | .Xr strncpy 3 |
126 | for correct usage. | 126 | for correct usage. |
127 | Using | 127 | Using |
128 | .Xr wcslcpy 3 | 128 | .Xr wcslcpy 3 |