summaryrefslogtreecommitdiff
path: root/lib/libc/arch/mvme88k/string/strchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arch/mvme88k/string/strchr.c')
-rw-r--r--lib/libc/arch/mvme88k/string/strchr.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/libc/arch/mvme88k/string/strchr.c b/lib/libc/arch/mvme88k/string/strchr.c
new file mode 100644
index 00000000000..31daf6cfcf5
--- /dev/null
+++ b/lib/libc/arch/mvme88k/string/strchr.c
@@ -0,0 +1,13 @@
+#if defined(LIBC_SCCS) && !defined(lint)
+/*static char *sccsid = "from: @(#)strlen.c 5.5 (Berkeley) 1/26/91";*/
+static char *rcsid = "$Id: strchr.c,v 1.1 1997/03/25 17:07:13 rahnds Exp $";
+#endif /* LIBC_SCCS and not lint */
+
+#include <string.h>
+
+char *
+strchr(str, c)
+ const char *str;
+{
+ index(str, c);
+}