From ae9f7ec577e7a8cfd474d7772eb31afd487ff099 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sat, 9 Feb 2019 14:31:31 -0500 Subject: merge XOPEN identifiers --- src/strings/index.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/strings/index.c (limited to 'src/strings/index.c') diff --git a/src/strings/index.c b/src/strings/index.c new file mode 100644 index 00000000..86e92b4a --- /dev/null +++ b/src/strings/index.c @@ -0,0 +1,10 @@ +#include + +char *index(const char *s, int c) +{ + return strchr(s, c); +} + +/* +XOPEN(400,700) +*/ -- cgit v1.2.1