summaryrefslogtreecommitdiff
path: root/libc/string/wcscspn.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/wcscspn.c')
-rw-r--r--libc/string/wcscspn.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/libc/string/wcscspn.c b/libc/string/wcscspn.c
new file mode 100644
index 000000000..b156f8597
--- /dev/null
+++ b/libc/string/wcscspn.c
@@ -0,0 +1,15 @@
+/*
+ * Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_strcspn
+#define WANT_WIDE
+#define Wstrcspn __wcscspn
+
+#include "wstring.c"
+
+strong_alias(__wcscspn, wcscspn)
+
+#undef L_strcspn