2 .\" This file and its contents are supplied under the terms of the
3 .\" Common Development and Distribution License ("CDDL"), version 1.0.
4 .\" You may only use this file in accordance with the terms of version
7 .\" A full copy of the text of the CDDL should have accompanied this
8 .\" source. A copy of the CDDL is also available via the Internet at
9 .\" http://www.illumos.org/license/CDDL.
12 .\" Copyright 2014 Garrett D'Amore <garrett@damore.org>
20 .Nd copy a wide-character string and return a pointer to its end
26 .Fa "wchar_t *restrict ws1"
27 .Fa "const wchar_t *restrict ws2"
32 .Fa "wchar_t *restrict ws1"
33 .Fa "const wchar_t *restrict ws2"
42 functions copy the wide-character string pointed to by
44 into the location pointed to by
46 They stop copying after a null wide-character is copied, or in the case
51 wide-characters have been copied.
56 wide-characters, then the
58 function pads wide-characters to the end of the destination
62 wide-characters have been written.
66 a terminating null wide-character will
68 be written if the length of
77 overlap, the result is undefined.
83 functions are the wide-character equivalents of
93 functions return a pointer to the last wide-character written.
96 this will always be equal to
97 .Po Fa ws1 Li + Fa n Li \(mi 1 Pc .
100 .Sh INTERFACE STABILITY
116 functions were introduced in