From 54d5ba67489b3fdaf437c05675eb9b1f6d085a84 Mon Sep 17 00:00:00 2001 From: Marc Pervaz Boocha Date: Thu, 7 Apr 2022 19:33:30 +0530 Subject: Initial commit --- memory/wcspcpy.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 memory/wcspcpy.c (limited to 'memory/wcspcpy.c') diff --git a/memory/wcspcpy.c b/memory/wcspcpy.c new file mode 100644 index 0000000..652db3f --- /dev/null +++ b/memory/wcspcpy.c @@ -0,0 +1,6 @@ +#include "memory.h" + +wchar_t *wcspcpy(wchar_t *destination, wchar_t const *source) +{ + return wrawmemccpy(destination, source, L'\0') - 1; +} -- cgit v1.2.3-70-g09d2