summaryrefslogtreecommitdiff
path: root/src/string/wcswcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/wcswcs.c')
-rw-r--r--src/string/wcswcs.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/string/wcswcs.c b/src/string/wcswcs.c
new file mode 100644
index 00000000..9cfe4ac4
--- /dev/null
+++ b/src/string/wcswcs.c
@@ -0,0 +1,6 @@
+#include <wchar.h>
+
+wchar_t *wcswcs(const wchar_t *haystack, const wchar_t *needle)
+{
+ return wcsstr(haystack, needle);
+}