blob: 5661070263b268cbdcbc22b6adc57e712f59c8f9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include <wchar.h>
wchar_t *wcpncpy(wchar_t *restrict d, const wchar_t *restrict s, size_t n)
{
return wcsncpy(d, s, n) + wcsnlen(s, n);
}
#ifdef TEST
int
main(void) {
return 0;
}
#endif
|