Browse Source

the referred to EXAMPLES section is now in strncpy(3);

issue reported by scott cheloha
ok otto
OPENBSD_6_1
jmc 8 years ago
parent
commit
05dca7e1c5
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/lib/libc/string/wcscpy.3

+ 3
- 3
src/lib/libc/string/wcscpy.3 View File

@ -1,4 +1,4 @@
.\" $OpenBSD: wcscpy.3,v 1.4 2013/09/25 21:49:31 millert Exp $
.\" $OpenBSD: wcscpy.3,v 1.5 2016/11/12 08:58:43 jmc Exp $
.\"
.\" Copyright (c) 1990, 1991 The Regents of the University of California.
.\" All rights reserved.
@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd $Mdocdate: September 25 2013 $
.Dd $Mdocdate: November 12 2016 $
.Dt WCSCPY 3
.Os
.Sh NAME
@ -122,7 +122,7 @@ and
.Fn wcsncpy
is very error-prone with respect to buffer overflows;
see the EXAMPLES section in
.Xr strcpy 3
.Xr strncpy 3
for correct usage.
Using
.Xr wcslcpy 3


Loading…
Cancel
Save