Re: wcscpy.3 mentions nonexistent EXAMPLES section in strcpy.3

2016-11-11 Thread Jason McIntyre
On Fri, Nov 11, 2016 at 09:10:50PM -0600, Scott Cheloha wrote: > Hi, > > The end of lib/libc/string/wcscpy.3 reads: > > CAVEATS > Using the functions wcscpy() and wcsncpy() is very error-prone > with > respect to buffer overflows; see the EXAMPLES section in >

wcscpy.3 mentions nonexistent EXAMPLES section in strcpy.3

2016-11-11 Thread Scott Cheloha
Hi, The end of lib/libc/string/wcscpy.3 reads: CAVEATS Using the functions wcscpy() and wcsncpy() is very error-prone with respect to buffer overflows; see the EXAMPLES section in strcpy(3) for correct usage. Using wcslcpy(3) is a better