3 <<wcpcpy>>---copy a wide-character string returning a pointer to its end
7 wchar_t *wcpcpy(wchar_t *<[s1]>, const wchar_t *<[s2]>);
10 The <<wcpcpy>> function copies the wide-character string pointed to by
11 <[s2]> (including the terminating null wide-character code) into the
12 array pointed to by <[s1]>. If copying takes place between objects that
13 overlap, the behaviour is undefined.
16 This function returns a pointer to the end of the destination string,
17 thus pointing to the trailing '\0'.
20 <<wcpcpy>> is a GNU extension.
22 No supporting OS subroutines are required.
29 wcpcpy (wchar_t *__restrict s1
,
30 const wchar_t *__restrict s2
)
32 while ((*s1
++ = *s2
++))