summaryrefslogtreecommitdiffstats
path: root/libc/string/strcspn.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-17 02:22:16 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-17 02:22:16 +0000
commitfef8c1238dd50b06146ebc38a18eee29453882f1 (patch)
tree7a659f22a5ddcff11434b6672d5e1c0388195a74 /libc/string/strcspn.c
parentc4054558b1c208625b972bcf067de58fb8d35468 (diff)
downloaduClibc-alpine-fef8c1238dd50b06146ebc38a18eee29453882f1.tar.bz2
uClibc-alpine-fef8c1238dd50b06146ebc38a18eee29453882f1.tar.xz
Copy from trunk.
Diffstat (limited to 'libc/string/strcspn.c')
-rw-r--r--libc/string/strcspn.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/libc/string/strcspn.c b/libc/string/strcspn.c
new file mode 100644
index 000000000..b8f8fdc08
--- /dev/null
+++ b/libc/string/strcspn.c
@@ -0,0 +1,14 @@
+/*
+ * 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 Wstrcspn __strcspn
+
+#include "wstring.c"
+
+strong_alias(__strcspn, strcspn)
+
+#undef L_strcspn