summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-17 02:25:12 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-17 02:25:12 +0000
commit44c69b05106ebb2628155018eed6a6f4d31699b4 (patch)
tree47abba7157dc72ab2b95a41ac108a5cae6116ad8
parent447b2cfedaf52b09241979ef0d9f34ce79dbe272 (diff)
downloaduClibc-alpine-44c69b05106ebb2628155018eed6a6f4d31699b4.tar.bz2
uClibc-alpine-44c69b05106ebb2628155018eed6a6f4d31699b4.tar.xz
Copy from trunk.
-rw-r--r--libc/string/strnlen.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/libc/string/strnlen.c b/libc/string/strnlen.c
new file mode 100644
index 000000000..a480e29d1
--- /dev/null
+++ b/libc/string/strnlen.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_strnlen
+#define Wstrnlen __strnlen
+
+#include "wstring.c"
+
+strong_alias(__strnlen, strnlen)
+
+#undef L_strnlen