diff options
Diffstat (limited to 'src/wchar/wmemcpy.c')
-rw-r--r-- | src/wchar/wmemcpy.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/wchar/wmemcpy.c b/src/wchar/wmemcpy.c new file mode 100644 index 00000000..0b583011 --- /dev/null +++ b/src/wchar/wmemcpy.c @@ -0,0 +1,14 @@ +#include <wchar.h> + +wchar_t * wmemcpy(wchar_t * restrict s1, const wchar_t * restrict s2, size_t n) +{ + size_t i; + for (i = 0; i < n; i++) { + s1[i] = s2[i]; + } + return s1; +} + +/* +STDC(199409) +*/ |